Calculate inactiveSide correctly
Calculate inactiveSide correctly

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