Replace indirect egg move conflict code
Replace indirect egg move conflict code

The old code had a number of huge logical errors, which led to various
ridiculous bugs like how gen 2 moves had to be in a certain order to
validate correctly.

The new code is rewritten from scratch and fixes all known problems in
the old code, and also applies it to all gens. Preliminary testing
hasn't revealed any flaws, so we'll see how this does in prod.

Sora-League/Sora,Irraquated/Pokemon-Showdown,xCrystal/Pokemon-Showdown,Enigami/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,ShowdownHelper/Saffron,panpawn/Gold-Server,jumbowhales/Pokemon-Showdown,kuroscafe/Paradox,Alpha-Devs/Alpha-Server,jd4564/Pokemon-Showdown,BlazingAura/Showdown-Boilerplate,Alpha-Devs/Alpha-Server,DesoGit/TsunamiPS,HoeenCoder/SpacialGaze,svivian/Pokemon-Showdown,KewlStatics/Alliance,ShowdownHelper/Saffron,DesoGit/TsunamiPS,Pikachuun/Pokemon-Showdown,SolarisFox/Pokemon-Showdown,AustinXII/Pokemon-Showdown,Guernouille/Pokemon-Showdown,Pikachuun/Pokemon-Showdown-SMCMDM,arkanox/MistShowdown,kuroscafe/Showdown-Boilerplate,kotarou3/Krister-Pokemon-Showdown,xfix/Pokemon-Showdown,panpawn/Gold-Server,kotarou3/Krister-Pokemon-Showdown,AustinXII/Pokemon-Showdown,KewlStatics/Alliance,Irraquated/Pokemon-Showdown,arkanox/MistShowdown,ZestOfLife/PSserver,Mystifi/Exiled,ZestOfLife/FestiveLife,xfix/Pokemon-Showdown,HoeenCoder/SpacialGaze,DesoGit/Tsunami_PS,KewlStatics/Showdown-Template,EienSeiryuu/Pokemon-Showdown,DesoGit/Tsunami_PS,KewlStatics/Shit,Lauc1an/Perulink-Showdown,Git-Worm/City-PS,HoeenCoder/SpacialGaze,PS-Spectral/Spectral,sirDonovan/Pokemon-Showdown,Enigami/Pokemon-Showdown,Bryan-0/Pokemon-Showdown,panpawn/Pokemon-Showdown,Git-Worm/City-PS,DarkSuicune/Pokemon-Showdown,xfix/Pokemon-Showdown,DesoGit/Tsunami_PS,TheFenderStory/Pokemon-Showdown,cadaeic/Pokemon-Showdown,azum4roll/Pokemon-Showdown,Pikachuun/Pokemon-Showdown-SMCMDM,Volcos/SpacialGaze,Bryan-0/Pokemon-Showdown,Vacate/Pokemon-Showdown,psnsVGC/Wish-Server,Vacate/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,Enigami/Pokemon-Showdown,Volcos/SpacialGaze,PS-Spectral/Spectral,Kokonoe-san/Glacia-PS,KewlStatics/Showdown-Template,urkerab/Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,svivian/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,AWailOfATail/Pokemon-Showdown,cadaeic/Pokemon-Showdown,zek7rom/SpacialGaze,SkyeTheFemaleSylveon/Pokemon-Showdown,SkyeTheFemaleSylveon/Pokemon-Showdown,KewlStatics/Shit,urkerab/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,TheFenderStory/Pokemon-Showdown,Kokonoe-san/Glacia-PS,Mystifi/Exiled,ShowdownHelper/Saffron,Pikachuun/Pokemon-Showdown,CharizardtheFireMage/Showdown-Boilerplate,Hidden-Mia/Roleplay-PS,DarkSuicune/Pokemon-Showdown,danpantry/Pokemon-Showdown,xfix/Pokemon-Showdown,Sora-League/Sora,aakashrajput/Pokemon-Showdown,CharizardtheFireMage/Showdown-Boilerplate,Alpha-Devs/OmegaRuby-Server,Syurra/Pokemon-Showdown,svivian/Pokemon-Showdown,PS-Spectral/Spectral,AustinXII/Pokemon-Showdown,xfix/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,Mystifi/Exiled,aakashrajput/Pokemon-Showdown,Flareninja/Showdown-Boilerplate,CreaturePhil/Showdown-Boilerplate,KewlStatics/Pokeindia-Codes,Sora-League/Sora,TbirdClanWish/Pokemon-Showdown,Elveman/RPCShowdownServer,Syurra/Pokemon-Showdown,TbirdClanWish/Pokemon-Showdown,Lauc1an/Perulink-Showdown,ZestOfLife/PSserver,QuiteQuiet/Pokemon-Showdown,svivian/Pokemon-Showdown,Lord-Haji/SpacialGaze,psnsVGC/Wish-Server,Irraquated/Pokemon-Showdown,urkerab/Pokemon-Showdown,danpantry/Pokemon-Showdown,Zarel/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,Lord-Haji/SpacialGaze,xCrystal/Pokemon-Showdown,Wando94/Spite,Elveman/RPCShowdownServer,sirDonovan/Pokemon-Showdown,azum4roll/Pokemon-Showdown,Lord-Haji/SpacialGaze,xCrystal/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,panpawn/Gold-Server,svivian/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,SolarisFox/Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,EienSeiryuu/Pokemon-Showdown,AnaRitaTorres/Pokemon-Showdown,Zarel/Pokemon-Showdown,jd4564/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,KewlStatics/Pokeindia-Codes,zek7rom/SpacialGaze,Zarel/Pokemon-Showdown,ZestOfLife/FestiveLife,panpawn/Pokemon-Showdown,HoeenCoder/SpacialGaze,Hidden-Mia/Roleplay-PS,AWailOfATail/Pokemon-Showdown,kuroscafe/Paradox,Guernouille/Pokemon-Showdown,Flareninja/Showdown-Boilerplate,Enigami/Pokemon-Showdown,Wando94/Spite,BlazingAura/Showdown-Boilerplate