Gen 2 Random Battle: Fix Move Rejection Phase
Gen 2 Random Battle: Fix Move Rejection Phase

hasMove was not tracking moves properly, instead only tracking new moves
added in the object instead of its entire moveset. Also, there was a
line of code that caused all moves to be flagged as rejected.

Celecitia/Plux-Pokemon-Showdown,PrimalGallade45/Lumen-Pokemon-Showdown,NoahVSGamingYT/Pokemon-Showdown,hayleysworld/serenityserver,TheManwithskills/Creature-phil-boiler,DarkSuicune/Pokemon-Showdown,asdfghjklohhnhn/Pokemon-Showdown,megaslowbro1/Showdown-Server-again,SilverTactic/Dragotica-Pokemon-Showdown,TheDiabolicGift/Lumen-Pokemon-Showdown,TheManwithskills/Dusk--Showdown,EienSeiryuu/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,JellalTheMage/Jellals-Server,UniversalMan12/Universe-Server,yashagl/yash-showdown,sirDonovan/Pokemon-Showdown,superman8900/Pokemon-Showdown,Ransei1/Alt,BuzzyOG/Pokemon-Showdown,Guernouille/Pokemon-Showdown,anubhabsen/Pokemon-Showdown,Lord-Haji/SpacialGaze,KewlStatics/Showdown-Template,Zipzapadam/Server,CharizardtheFireMage/Showdown-Boilerplate,DB898/theregalias,Vacate/Pokemon-Showdown,xCrystal/Pokemon-Showdown,Irraquated/Showdown-Boilerplate,KewlStatics/Showdown-Template,Volcos/SpacialGaze,Syurra/Pokemon-Showdown,SilverTactic/Dragotica-Pokemon-Showdown,DarkSuicune/Kakuja-2.0,brettjbush/Pokemon-Showdown,lFernanl/Lumen-Pokemon-Showdown,Lauc1an/Perulink-Showdown,abulechu/Dropp-Pokemon-Showdown,Firestatics/omega,Flareninja/Pokemon-Showdown,Firestatics/omega,gustavo515/gashoro,anubhabsen/Pokemon-Showdown,Legit99/Lightning-Storm-Server,sirDonovan/Pokemon-Showdown,Irraquated/Pokemon-Showdown,MasterFloat/Pokemon-Showdown,sama2/Lumen-Pokemon-Showdown,Lord-Haji/SpacialGaze,danpantry/Pokemon-Showdown,ZeroParadox/ugh,AWailOfATail/awoat,NoahVSGamingYT/Pokemon-Showdown,Irraquated/EOS-Master,Alpha-Devs/Alpha-Server,arkanox/MistShowdown,yashagl/pokemon-showdown,ankailou/Pokemon-Showdown,PauLucario/LQP-Server-Showdown,Ecuacion/Pokemon-Showdown,Extradeath/advanced,Sora-Server/Sora,sama2/Universe-Pokemon-Showdown,Breakfastqueen/advanced,psnsVGC/Wish-Server,hayleysworld/serenityserver,Breakfastqueen/advanced,hayleysworld/Showdown-Boilerplate,Enigami/Pokemon-Showdown,KewlStatics/Shit,Wando94/Pokemon-Showdown,xfix/Pokemon-Showdown,Volcos/SpacialGaze,forbiddennightmare/Pokemon-Showdown-1,Zarel/Pokemon-Showdown,TheManwithskills/New-boiler-test,AustinXII/Pokemon-Showdown,TheDiabolicGift/Showdown-Boilerplate,abrulochp/Lumen-Pokemon-Showdown,Lord-Haji/SpacialGaze,AnaRitaTorres/Pokemon-Showdown,TheManwithskills/Server,SilverTactic/Showdown-Boilerplate,ZestOfLife/PSserver,KewlStatics/Shit,xCrystal/Pokemon-Showdown,Ridukuo/Test,kuroscafe/Paradox,jumbowhales/Pokemon-Showdown,zczd/enculer,AWailOfATail/awoat,ankailou/Pokemon-Showdown,HoeenCoder/SpacialGaze,Atwar/server-epilogueleague.rhcloud.com,FakeSloth/Infinite,ZeroParadox/ugh,Elveman/RPCShowdownServer,PrimalGallade45/Dropp-Pokemon-Showdown,TheDiabolicGift/Showdown-Boilerplate,Zarel/Pokemon-Showdown,xCrystal/Pokemon-Showdown,Enigami/Pokemon-Showdown,psnsVGC/Wish-Server,AnaRitaTorres/Pokemon-Showdown,TheManwithskills/DS,KewlStatics/Pokeindia-Codes,sama2/Lumen-Pokemon-Showdown,InvalidDN/Pokemon-Showdown,TheManwithskills/serenity,FakeSloth/Infinite,PS-Spectral/Spectral,EmmaKitty/Pokemon-Showdown,RustServer/Pokemon-Showdown,abulechu/Lumen-Pokemon-Showdown,Irraquated/Showdown-Boilerplate,yashagl/yash-showdown,megaslowbro1/Pokemon-Showdown,azum4roll/Pokemon-Showdown,Nineage/Origin,AWailOfATail/Pokemon-Showdown,MayukhKundu/Flame-Savior,ehk12/coregit,piiiikachuuu/Pokemon-Showdown,johtooo/PS,JellalTheMage/Jellals-Server,kotarou3/Krister-Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,Pikachuun/Pokemon-Showdown,Bryan-0/Pokemon-Showdown,CreaturePhil/Showdown-Boilerplate,ZestOfLife/FestiveLife,PrimalGallade45/Dropp-Pokemon-Showdown,Lauc1an/Perulink-Showdown,ehk12/coregit,Neosweiss/Pokemon-Showdown,hayleysworld/serenityc9,KewlStatics/Pokeindia-Codes,brettjbush/Pokemon-Showdown,forbiddennightmare/Pokemon-Showdown-1,SkyeTheFemaleSylveon/Pokemon-Showdown,gustavo515/final,TogeSR/Lumen-Pokemon-Showdown,Alpha-Devs/OmegaRuby-Server,svivian/Pokemon-Showdown,danpantry/Pokemon-Showdown,TbirdClanWish/Pokemon-Showdown,Kevinxzllz/PS-Openshift-Server,hayleysworld/harmonia,Vacate/Pokemon-Showdown,Legit99/Lightning-Storm-Server,svivian/Pokemon-Showdown,gustavo515/test,Atwar/server-epilogueleague.rhcloud.com,Flareninja/Showdown-Boilerplate,TheFenderStory/Pokemon-Showdown,SSJGVegito007/Vegito-s-Server,SilverTactic/Showdown-Boilerplate,Pikachuun/Pokemon-Showdown,Git-Worm/City-PS,UniversalMan12/Universe-Server,aakashrajput/Pokemon-Showdown,xfix/Pokemon-Showdown,Ransei1/Alt,SSJGVegito007/Vegito-s-Server,Pokemon-Devs/Pokemon-Showdown,TbirdClanWish/Pokemon-Showdown,Sora-League/Sora,hayleysworld/Showdown-Boilerplate,yashagl/pokemon-showdown,BlazingAura/Showdown-Boilerplate,hayleysworld/serenityc9,SolarisFox/Pokemon-Showdown,KewlStatics/Alliance,Wando94/Spite,Ecuacion/Lumen-Pokemon-Showdown,Pablo000/aaa,gustavo515/test,Sora-Server/Sora,svivian/Pokemon-Showdown,JellalTheMage/PS-,SkyeTheFemaleSylveon/Pokemon-Showdown,SkyeTheFemaleSylveon/Mudkip-Server,xfix/Pokemon-Showdown,urkerab/Pokemon-Showdown,Zarel/Pokemon-Showdown,SolarisFox/Pokemon-Showdown,scotchkorean27/Pokemon-Showdown,abulechu/Lumen-Pokemon-Showdown,Kevinxzllz/PS-Openshift-Server,MasterFloat/Pokemon-Showdown,zek7rom/SpacialGaze,panpawn/Pokemon-Showdown,bai2/Dropp,Flareninja/Showdown-Boilerplate,MeliodasBH/boarhat,CreaturePhil/Showdown-Boilerplate,Git-Worm/City-PS,MasterFloat/LQP-Server-Showdown,javi501/Lumen-Pokemon-Showdown,SerperiorBae/Pokemon-Showdown-1,Irraquated/Pokemon-Showdown,Celecitia/Plux-Pokemon-Showdown,azum4roll/Pokemon-Showdown,TheFenderStory/Showdown-Boilerplate,AbsolitoSweep/Absol-server,ZeroParadox/BlastBurners,EmmaKitty/Pokemon-Showdown,Neosweiss/Pokemon-Showdown,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,PS-Spectral/Spectral,MeliodasBH/boarhat,CharizardtheFireMage/Showdown-Boilerplate,kotarou3/Krister-Pokemon-Showdown,Ridukuo/Test,DesoGit/Tsunami_PS,theodelhay/test,SubZeroo99/Pokemon-Showdown,JellalTheMage/PS-,ehk12/bigbangtempclone,ShowdownHelper/Saffron,ZestOfLife/PSserver,Flareninja/Lumen-Pokemon-Showdown,Sora-Server/Sora,yashagl/pokecommunity,Pikachuun/Pokemon-Showdown-SMCMDM,lFernanl/Mudkip-Server,CreaturePhil/Showdown-Boilerplate,Guernouille/Pokemon-Showdown,kubetz/Pokemon-Showdown,MayukhKundu/Flame-Savior,urkerab/Pokemon-Showdown,SerperiorBae/Pokemon-Showdown-1,xfix/Pokemon-Showdown,hayleysworld/harmonia,TheManwithskills/Creature-phil-boiler,Alpha-Devs/Alpha-Server,TheFenderStory/Showdown-Boilerplate,javi501/Lumen-Pokemon-Showdown,lAlejandro22/lolipoop,Irraquated/Pokemon-Showdown,Firestatics/Firestatics46,Extradeath/advanced,arkanox/MistShowdown,panpawn/Gold-Server,k3naan/Pokemon-Showdown,theodelhay/test,TheManwithskills/Server---Thermal,bai2/Dropp,Firestatics/Omega-Alpha,hayleysworld/serenity,sama2/Universe-Pokemon-Showdown,ehk12/clone,DarkSuicune/Kakuja-2.0,piiiikachuuu/Pokemon-Showdown,cadaeic/Pokemon-Showdown,TheManwithskills/COC,ehk12/clone,ShowdownHelper/Saffron,lFernanl/Mudkip-Server,kupochu/Pokemon-Showdown,sama2/Dropp-Pokemon-Showdown,KaitoV4X/Showdown,k3naan/Pokemon-Showdown,Sora-League/Sora,TheDiabolicGift/Lumen-Pokemon-Showdown,Kokonoe-san/Glacia-PS,Atwar/ServerClassroom,HoeenCoder/SpacialGaze,Hidden-Mia/Roleplay-PS,Sora-League/Sora,Hidden-Mia/Roleplay-PS,jumbowhales/Pokemon-Showdown,Articuno-I/Pokemon-Showdown,cadaeic/Pokemon-Showdown,abrulochp/Lumen-Pokemon-Showdown,SerperiorBae/Pokemon-Showdown-1,Atwar/ServerClassroom,BuzzyOG/Pokemon-Showdown,gustavo515/gashoro,megaslowbro1/Pokemon-Showdown-Server-for-megaslowbro1,HoeenCoder/SpacialGaze,ScottehMax/Pokemon-Showdown,Wando94/Spite,TheManwithskills/serenity,zczd/enculer,EienSeiryuu/Pokemon-Showdown,DesoGit/Tsunami_PS,kubetz/Pokemon-Showdown,PauLucario/LQP-Server-Showdown,TheManwithskills/DS,panpawn/Pokemon-Showdown,superman8900/Pokemon-Showdown,UniversalMan12/Universe-Server,Elveman/RPCShowdownServer,svivian/Pokemon-Showdown,scotchkorean27/Pokemon-Showdown,aakashrajput/Pokemon-Showdown,Pokemon-Devs/Pokemon-Showdown,Ecuacion/Lumen-Pokemon-Showdown,sama2/Dropp-Pokemon-Showdown,megaslowbro1/Showdown-Server-again,lFernanl/Lumen-Pokemon-Showdown,Bryan-0/Pokemon-Showdown,asdfghjklohhnhn/Pokemon-Showdown,AustinXII/Pokemon-Showdown,Wando94/Pokemon-Showdown,Mystifi/Exiled,gustavo515/batata,QuiteQuiet/Pokemon-Showdown,panpawn/Gold-Server,QuiteQuiet/Pokemon-Showdown,SkyeTheFemaleSylveon/Mudkip-Server,urkerab/Pokemon-Showdown,ZestOfLife/FestiveLife,abrulochp/Dropp-Pokemon-Showdown,Enigami/Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,DB898/theregalias,Flareninja/Pokemon-Showdown,abrulochp/Dropp-Pokemon-Showdown,Articuno-I/Pokemon-Showdown,gustavo515/final,TheManwithskills/Server,Mystifi/Exiled,TheFenderStory/Pokemon-Showdown,Ecuacion/Pokemon-Showdown,kuroscafe/Paradox,yashagl/pokecommunity,jumbowhales/Pokemon-Showdown,Mystifi/Exiled,JennyPRO/Jenny,KewlStatics/Alliance,JennyPRO/Jenny,Kokonoe-san/Glacia-PS,DesoGit/TsunamiPS,ShowdownHelper/Saffron,ZeroParadox/BlastBurners,Irraquated/EOS-Master,aakashrajput/Pokemon-Showdown,jd4564/Pokemon-Showdown,ScottehMax/Pokemon-Showdown,DesoGit/TsunamiPS,sirDonovan/Pokemon-Showdown,kuroscafe/Showdown-Boilerplate,lFernanl/Zero-Pokemon-Showdown,Enigami/Pokemon-Showdown,BuzzyOG/Pokemon-Showdown,lFernanl/Pokemon-Showdown,yashagl/pokemon,SubZeroo99/Pokemon-Showdown,Firestatics/Omega-Alpha,Zipzapadam/Server,AbsolitoSweep/Absol-server,Pikachuun/Pokemon-Showdown-SMCMDM,HoeenCoder/SpacialGaze,lFernanl/Pokemon-Showdown,xfix/Pokemon-Showdown,LustyAsh/EOS-Master,TheManwithskills/COC,TheManwithskills/New-boiler-test,TheManwithskills/Server---Thermal,Firestatics/Firestatics46,MeliodasBH/Articuno-Land,DesoGit/Tsunami_PS,Nineage/Origin,megaslowbro1/Pokemon-Showdown,KaitoV4X/Showdown,lFernanl/Zero-Pokemon-Showdown,PS-Spectral/Spectral,svivian/Pokemon-Showdown,kupochu/Pokemon-Showdown,QuiteQuiet/Pokemon-Showdown,InvalidDN/Pokemon-Showdown,Flareninja/Lumen-Pokemon-Showdown,DarkSuicune/Pokemon-Showdown,AWailOfATail/Pokemon-Showdown,Pablo000/aaa,hayleysworld/serenity,LustyAsh/EOS-Master,johtooo/PS,MeliodasBH/Articuno-Land,MayukhKundu/Mudkip-Server,TheManwithskills/Dusk--Showdown,lAlejandro22/lolipoop,PrimalGallade45/Lumen-Pokemon-Showdown,zek7rom/SpacialGaze,BlazingAura/Showdown-Boilerplate,RustServer/Pokemon-Showdown,AustinXII/Pokemon-Showdown,gustavo515/batata,ehk12/bigbangtempclone,FakeSloth/wulu,abulechu/Dropp-Pokemon-Showdown,jd4564/Pokemon-Showdown,Breakfastqueen/advanced,yashagl/pokemon,TogeSR/Lumen-Pokemon-Showdown,Syurra/Pokemon-Showdown,panpawn/Gold-Server,MayukhKundu/Mudkip-Server,MasterFloat/LQP-Server-Showdown