Improve DW legality checking for male-only released Pokemon.
Improve DW legality checking for male-only released Pokemon.

When a Pokemon has been released but its prevos haven't (e.g. Mamoswine and Lucario), it can't learn any moves exclusive to its prevos. For instance, DW Mamoswine can't learn Ice Shard.

EmmaKitty/Pokemon-Showdown,abulechu/Dropp-Pokemon-Showdown,Kill-The-Noise/BlakJack-Boilerplate,aakashrajput/Pokemon-Showdown,ShowdownHelper/Saffron,yashagl/yash-showdown,Irraquated/Pokemon-Showdown,AustinXII/Pokemon-Showdown,SerperiorBae/Pokemon-Showdown,DesoGit/Tsunami_PS,JennyPRO/Jenny,forbiddennightmare/Pokemon-Showdown-1,gustavo515/test,Lauc1an/Perulink-Showdown,AnaRitaTorres/Pokemon-Showdown,Darkshadow6/PokeMoon-Creation,kubetz/Pokemon-Showdown,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,DalleTest/Pokemon-Showdown,SilverTactic/Dragotica-Pokemon-Showdown,hayleysworld/harmonia,Flareninja/Pokemon-Showdown,DB898/theregalias,Oiawesome/DPPtServ2,SerperiorBae/Bae-Showdown-2,EmmaKitty/Pokemon-Showdown,Flareninja/Showdown-Boilerplate,SerperiorBae/Pokemon-Showdown-1,panpawn/Pokemon-Showdown,gustavo515/gashoro,TheFenderStory/Showdown-Boilerplate,sama2/Viridian-Pokemon-Showdown,Werfin96/Ultimate,ZestOfLife/FestiveLife,Ridukuo/Test,TheManwithskills/serenity,DalleTest/Pokemon-Showdown,Checkinator/Pokemon-Showdown,Pikachuun/Joimmon-Showdown,LustyAsh/EOS-Master,TheDiabolicGift/Showdown-Boilerplate,iFaZe/SilverZ,danpantry/Pokemon-Showdown,PrimalGallade45/Dropp-Pokemon-Showdown,TheManwithskills/Server-2,Lord-Haji/SpacialGaze,hayleysworld/Showdown-Boilerplate,Wando94/Spite,CrestfallPS/Pokemon-Showdown,lFernanl/Zero-Pokemon-Showdown,Atwar/server-epilogueleague.rhcloud.com,SerperiorBae/BaeShowdown,jumbowhales/Pokemon-Showdown,SilverTactic/Showdown-Boilerplate,MeliodasBH/Articuno-Land,QuiteQuiet/Pokemon-Showdown,UniversalMan12/Universe-Server,InvalidDN/Pokemon-Showdown,TheDiabolicGift/Showdown-Boilerplate,KewlStatics/Alliance,Ransei1/Alt,Tesarand/Pokemon-Showdown,SilverTactic/Pokemon-Showdown,SolarisFox/Pokemon-Showdown,sirDonovan/Pokemon-Showdown,MayukhKundu/Technogear-Final,TbirdClanWish/Pokemon-Showdown,KewlStatics/Showdown-Template,UniversalMan12/Universe-Server,sama2/Dropp-Pokemon-Showdown,sama2/Dropp-Pokemon-Showdown,KewlStatics/Pokeindia-Codes,Flareninja/Sora,MayukhKundu/Technogear,k3naan/Pokemon-Showdown,Neosweiss/Pokemon-Showdown,Johto-Serverr/Werfin-Boilerplate,ankailou/Pokemon-Showdown,TogeSR/Lumen-Pokemon-Showdown,kuroscafe/Paradox,Guernouille/Pokemon-Showdown,ZeroParadox/ugh,BuzzyOG/Pokemon-Showdown,MayukhKundu/Technogear-Final,Kenny-/Pokemon-Showdown,Breakfastqueen/advanced,MasterFloat/LQP-Server-Showdown,Firestatics/omega,svivian/Pokemon-Showdown,TheManwithskills/COC,lAlejandro22/lolipoop,bai2/Dropp,cadaeic/Pokemon-Showdown,LustyAsh/EOS-Master,TheManwithskills/Server---Thermal,jumbowhales/Pokemon-Showdown,TheManwithskills/Server,Gold-Solox/Pokemon-Showdown,DesoGit/TsunamiPS,hayleysworld/serenityc9,Stroke123/POKEMON,Parukia/Pokemon-Showdown,xCrystal/Pokemon-Showdown,Irraquated/EOS-Master,urkerab/Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,UniversalMan12/Universe-Server,BadSteel/Pokemon-Showdown,kubetz/Pokemon-Showdown,Irraquated/Pokemon-Showdown,danpantry/Pokemon-Showdown,PauLucario/LQP-Server-Showdown,SerperiorBae/Bae-Showdown,MayukhKundu/Pokemon-Domain,SkyeTheFemaleSylveon/Mudkip-Server,ScottehMax/Pokemon-Showdown,svivian/Pokemon-Showdown,jd4564/Pokemon-Showdown,megaslowbro1/Showdown-Server-again,BuzzyOG/Pokemon-Showdown,SerperiorBae/Bae-Showdown-2,scotchkorean27/Pokemon-Showdown,Alpha-Devs/Alpha-Server,arkanox/MistShowdown,gustavo515/gashoro,Yggdrasil-League/Yggdrasil,arkanox/MistShowdown,Psyientist/Showdown-Boilerplate,PS-Spectral/Spectral,Alpha-Devs/OmegaRuby-Server,KewlStatics/Showdown-Template,Nineage/Origin,hayleysworld/Showdown-Boilerplate,zczd/enculer,AvinashSwaminathan/lotus,AWailOfATail/Pokemon-Showdown,Adithya4Uberz/The-Tsunami-League,Volcos/SpacialGaze,Flareninja/Pokemon-Showdown,SSJGVegito007/Vegito-s-Server,Tesarand/Pokemon-Showdown,gustavo515/final,abrulochp/Dropp-Pokemon-Showdown,hayleysworld/harmonia,Nineage/Origin,Checkinator/Pokemon-Showdown,sama2/Lumen-Pokemon-Showdown,Parukia/Pokemon-Showdown,PrimalGallade45/Lumen-Pokemon-Showdown,Firestatics/Omega-Alpha,Kill-The-Noise/BlakJack-Boilerplate,iFaZe/SliverX,AnaRitaTorres/Pokemon-Showdown,Extradeath/advanced,Sora-League/Sora,Arcticblast/Pokemon-Showdown,KewlStatics/Pokeindia-Codes,FakeSloth/Infinite,Elveman/RPCShowdownServer,BasedGod7/PH,HoeenCoder/SpacialGaze,hayleysworld/serenity,SerperiorBae/Pokemon-Showdown-1,NoahVSGamingYT/Pokemon-Showdown,TheManwithskills/New-boiler-test,lFernanl/Mudkip-Server,Pablo000/aaa,DarkSuicune/Kakuja-2.0,Luobata/Pokemon-Showdown,Gold-Solox/Pokemon-Showdown,lAlejandro22/lolipoop,Pikachuun/Pokemon-Showdown-SMCMDM,Atwar/http-server-femalehq.rhcloud.com-80.psim.us-,SubZeroo99/Pokemon-Showdown,hayleysworld/serenityserver,DB898/theregalias,megaslowbro1/Showdown-Server-again,Extradeath/psserver,abrulochp/Lumen-Pokemon-Showdown,Firestatics/omega,xCrystal/Pokemon-Showdown,ZeroParadox/BlastBurners,Evil-kun/Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,svivian/Pokemon-Showdown,AbsolitoSweep/Absol-server,yashagl/pokecommunity,MayukhKundu/Technogear,SerperiorBae/Bae-Showdown-2,Zarel/Pokemon-Showdown,RustServer/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,AWailOfATail/awoat,MeliodasBH/boarhat,Atwar/server-epilogueleague.rhcloud.com,comedianchameleon/servertest1,kotarou3/Krister-Pokemon-Showdown,gustavo515/final,Hidden-Mia/Roleplay-PS,BuzzyOG/Pokemon-Showdown,Legendaryhades/Oblivion,zczd/enculer,Wando94/Pokemon-Showdown,Adithya4Uberz/The-Tsunami-League,SerperiorBae/Bae-Showdown,AvinashSwaminathan/lotus-v3,Lord-Haji/SpacialGaze,SkyeTheFemaleSylveon/Pokemon-Showdown,Ridukuo/Test2,Chespin14/Custom-Platform-Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,MeliodasBH/boarhat,SerperiorBae/Bae-Showdown,yashagl/pokemon,Ransei1/Alt,JellalTheMage/Jellals-Server,ShowdownHelper/Saffron,Nineage/Showdown-Boilerplate,Adithya4Uberz/KTN,SubZeroo99/Pokemon-Showdown,TheManwithskills/Server-2,Pokemon-Devs/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,ZeroParadox/BlastBurners,lFernanl/Mudkip-Server,abulechu/Dropp-Pokemon-Showdown,InvalidDN/Pokemon-Showdown,AvinashSwaminathan/Pokelegends,gustavo515/test,ShowdownHelper/Saffron,yashagl/yash-showdown,asdfghjklohhnhn/Pokemon-Showdown,MasterFloat/LQP-Server-Showdown,hayleysworld/serenity,DarkSuicune/Pokemon-Showdown,javi501/Lumen-Pokemon-Showdown,Mystifi/Exiled,SolarisFox/Pokemon-Showdown,miahjennatills/Pokemon-Showdown,SerperiorBae/BaeShowdown,abrulochp/Dropp-Pokemon-Showdown,Wando94/Spite,Bryan-0/Pokemon-Showdown,Vacate/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,ZeroParadox/ugh,ZestOfLife/FestiveLife,catanatron/pokemon-rebalance,Pikachuun/Pokemon-Showdown-SMCMDM,Celecitia/Plux-Pokemon-Showdown,kupochu/Pokemon-Showdown,LightningStormServer/Lightning-Storm,SilverTactic/Pokemon-Showdown,ZestOfLife/PSserver,Thiediev/Pokemon-Showdown,Git-Worm/City-PS,panpawn/Gold-Server,forbiddennightmare/Pokemon-Showdown-1,SerperiorBae/Pokemon-Showdown-1,TheFenderStory/Showdown-Boilerplate,Atwar/ServerClassroom,LightningStormServer/Lightning-Storm,FakeSloth/Infinite,Git-Worm/City-PS,CreaturePhil/Showdown-Boilerplate,BlazingAura/Showdown-Boilerplate,ehk12/clone,xfix/Pokemon-Showdown,TheManwithskills/DS,Stroke123/POKEMON,HoeenCoder/SpacialGaze,johtooo/PS,Atwar/ServerClassroom,yashagl/pokemon-showdown,ehk12/bigbangtempclone,panpawn/Pokemon-Showdown,Tesarand/Pokemon-Showdown,TheManwithskills/DS,Ecuacion/Lumen-Pokemon-Showdown,JellalTheMage/PS-,miahjennatills/Pokemon-Showdown,ZestOfLife/PSserver,bai2/Dropp,sama2/Viridian-Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,MayukhKundu/Flame-Savior,KewlStatics/Alliance,sama2/Universe-Pokemon-Showdown,comedianchameleon/test,hayleysworld/asdfasdf,theodelhay/test,KaitoV4X/Showdown,Vacate/Pokemon-Showdown,piiiikachuuu/Pokemon-Showdown,johtooo/PS,hayleysworld/Pokemon-Showdown,Sora-League/Sora,Ecuacion/Pokemon-Showdown,sama2/Universe-Pokemon-Showdown,Kevinxzllz/PS-Openshift-Server,SerperiorBae/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,Neosweiss/Pokemon-Showdown,superman8900/Pokemon-Showdown,LegendBorned/PS-Boilerplate,TheDiabolicGift/Lumen-Pokemon-Showdown,yashagl/pokemon,psnsVGC/Wish-Server,Disaster-Area/Pokemon-Showdown,CharizardtheFireMage/Showdown-Boilerplate,TheManwithskills/COC,Celecitia/Plux-Pokemon-Showdown,Enigami/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,PS-Spectral/Spectral,Disaster-Area/Pokemon-Showdown,Enigami/Pokemon-Showdown,Ridukuo/Test2,TheDiabolicGift/Lumen-Pokemon-Showdown,Alpha-Devs/Alpha-Server,TbirdClanWish/Pokemon-Showdown,comedianchameleon/test,BlazingAura/Showdown-Boilerplate,Parukia/Pokemon-Showdown,Elveman/RPCShowdownServer,BadSteel/Omega-Pokemon-Showdown,SilverTactic/Dragotica-Pokemon-Showdown,Hidden-Mia/Roleplay-PS,Zipzapadam/Server,TheManwithskills/serenity,TheManwithskills/Creature-phil-boiler,TheFenderStory/Pokemon-Showdown,Sora-Server/Sora,sirDonovan/Pokemon-Showdown,kupochu/Pokemon-Showdown,DesoGit/Tsunami_PS,panpawn/Gold-Server,Yggdrasil-League/Yggdrasil,kuroscafe/Paradox,TheManwithskills/New-boiler-test,k3naan/Pokemon-Showdown,MasterFloat/Pokemon-Showdown,yashagl/pokemon-showdown,megaslowbro1/Pokemon-Showdown,Wando94/Pokemon-Showdown,Darkshadow6/PokeMoon-Creation,brettjbush/Pokemon-Showdown,Flareninja/Hispano-Pokemon-Showdown,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,ehk12/coregit,SerperiorBae/Pokemon-Showdown,FakeSloth/wulu,Alpha-Devs/OmegaRuby-Server,Darkshadow6/git-remote-add-scalingo-git-scalingo.com-pokemoonforums,AbsolitoSweep/Absol-server,theodelhay/test,jd4564/Pokemon-Showdown,Flareninja/Showdown-Boilerplate,anubhabsen/Pokemon-Showdown,Ridukuo/Test,Flareninja/Lumen-Pokemon-Showdown,Enigami/Pokemon-Showdown,JellalTheMage/PS-,KewlStatics/Shit,cadaeic/Pokemon-Showdown,JennyPRO/Jenny,MayukhKundu/Pokemon-Domain,Breakfastqueen/advanced,Oiawesome/DPPtServ2,Fusxfaranto/Pokemon-Showdown,lFernanl/Lumen-Pokemon-Showdown,azum4roll/Pokemon-Showdown,zek7rom/SpacialGaze,LightningStormServer/Lightning-Storm,abrulochp/Lumen-Pokemon-Showdown,Ecuacion/Pokemon-Showdown,Darkshadow6/PokeMoon-Creation,CharizardtheFireMage/Showdown-Boilerplate,EienSeiryuu/Pokemon-Showdown,Legit99/Lightning-Storm-Server,Flareninja/Hispano-Pokemon-Showdown,MeliodasBH/Articuno-Land,NoahVSGamingYT/Pokemon-Showdown,Sora-Server/Sora,azum4roll/Pokemon-Showdown,xCrystal/Pokemon-Showdown,jumbowhales/Pokemon-Showdown,Pablo000/aaa,gustavo515/batata,scotchkorean27/Pokemon-Showdown,CreaturePhil/Pokemon-Showdown,abulechu/Lumen-Pokemon-Showdown,Raina4uberz/Light-server,TheManwithskills/Server---Thermal,Guernouille/Pokemon-Showdown,abulechu/Lumen-Pokemon-Showdown,javi501/Lumen-Pokemon-Showdown,Flareninja/Pokemon-Showdown-1,PauLucario/LQP-Server-Showdown,HoeenCoder/SpacialGaze,Syurra/Pokemon-Showdown,yashagl/pokecommunity,TogeSR/Lumen-Pokemon-Showdown,Evil-kun/Pokemon-Showdown,Irraquated/Pokemon-Showdown,Lauc1an/Perulink-Showdown,urkerab/Pokemon-Showdown,LegendBorned/PS-Boilerplate,Firestatics/Omega-Alpha,DarkSuicune/Kakuja-2.0,Pikachuun/Joimmon-Showdown,hayleysworld/asdfasdf,MasterFloat/Pokemon-Showdown,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,Legit99/Lightning-Storm-Server,Articuno-I/Pokemon-Showdown,HoeenKid/Pokemon-Showdown-Johto,xfix/Pokemon-Showdown,asdfghjklohhnhn/Pokemon-Showdown,xfix/Pokemon-Showdown,lFernanl/Pokemon-Showdown,Breakfastqueen/advanced,Ecuacion/Lumen-Pokemon-Showdown,Pikachuun/Pokemon-Showdown,comedianchameleon/test,TheManwithskills/Dusk--Showdown,Bryan-0/Pokemon-Showdown,Kokonoe-san/Glacia-PS,Zarel/Pokemon-Showdown,Psyientist/Showdown-Boilerplate,Extradeath/advanced,Extradeath/psserver,Mystifi/Exiled,Mystifi/Exiled,TheFenderStory/Pokemon-Showdown,EienSeiryuu/Pokemon-Showdown,SkyeTheFemaleSylveon/Mudkip-Server,Syurra/Pokemon-Showdown,Flareninja/Pokemon-Showdown-1,kotarou3/Krister-Pokemon-Showdown,superman8900/Pokemon-Showdown,catanatron/pokemon-rebalance,ehk12/bigbangtempclone,Flareninja/Lumen-Pokemon-Showdown,Flareninja/Sora,CorruptedHelix/Pokemon-Showdown,psnsVGC/Wish-Server,hayleysworld/serenityserver,SilverTactic/Showdown-Boilerplate,DesoGit/TsunamiPS,AWailOfATail/awoat,svivian/Pokemon-Showdown,hayleysworld/Pokemon-Showdown,xfix/Pokemon-Showdown,ankailou/Pokemon-Showdown,Flareninja/Sora,CreaturePhil/Pokemon-Showdown,urkerab/Pokemon-Showdown,Zipzapadam/Server,TheManwithskills/Dusk--Showdown,Lord-Haji/SpacialGaze,BlakJack/Kill-The-Noise,VoltStorm/Server-pokemon-showdown,Atwar/http-server-femalehq.rhcloud.com-80.psim.us-,SSJGVegito007/Vegito-s-Server,lFernanl/Lumen-Pokemon-Showdown,Kill-The-Noise/BlakJack-Boilerplate,KaitoV4X/Showdown,TheManwithskills/Server,Hopenub/Pokemon-Showdown,MayukhKundu/Mudkip-Server,PS-Spectral/Spectral,Firestatics/Firestatics46,lFernanl/Pokemon-Showdown,PrimalGallade45/Dropp-Pokemon-Showdown,Sora-Server/Sora,comedianchameleon/servertest1,SerperiorBae/PokemonShowdown2,CorruptedHelix/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,Raina4uberz/Light-server,Sora-League/Sora,xfix/Pokemon-Showdown,Irraquated/Showdown-Boilerplate,Zarel/Pokemon-Showdown,ehk12/clone,DesoGit/Tsunami_PS,Enigami/Pokemon-Showdown,gustavo515/batata,sirDonovan/Pokemon-Showdown,KewlStatics/Shit,sama2/Lumen-Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,zek7rom/SpacialGaze,AvinashSwaminathan/lotus-v2,piiiikachuuu/Pokemon-Showdown,ehk12/coregit,megaslowbro1/Pokemon-Showdown,HoeenCoder/SpacialGaze,PrimalGallade45/Lumen-Pokemon-Showdown,SkyeTheFemaleSylveon/Pokemon-Showdown,AustinXII/Pokemon-Showdown,hayleysworld/serenityc9,Kokonoe-san/Glacia-PS,Volcos/SpacialGaze,TheManwithskills/Server-2,Firestatics/Firestatics46,TheManwithskills/Creature-phil-boiler,MayukhKundu/Flame-Savior,Pikachuun/Touhoumon-Showdown,Kevinxzllz/PS-Openshift-Server,JellalTheMage/Jellals-Server,Pikachuun/Pokemon-Showdown,Irraquated/EOS-Master,anubhabsen/Pokemon-Showdown,Pokemon-Devs/Pokemon-Showdown,svivian/Pokemon-Showdown,Irraquated/Showdown-Boilerplate,MayukhKundu/Mudkip-Server,AustinXII/Pokemon-Showdown,ScottehMax/Pokemon-Showdown,RustServer/Pokemon-Showdown,SerperiorBae/PokemonShowdown2,brettjbush/Pokemon-Showdown,SerperiorBae/BaeShowdown,Articuno-I/Pokemon-Showdown,panpawn/Gold-Server,lFernanl/Zero-Pokemon-Showdown