Random Battle: Improve readability of ability checks
Random Battle: Improve readability of ability checks

Added a new variable hasAbility that keeps track of all available
abilities on a Pokemon, reducing the verbosity of ability checks
within the move rejection stage of the algorithm.

Also, change the Solarbeam check to look for Drought directly.

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