Gen II: Run `AfterSwitchInSelf` event properly
Gen II: Run `AfterSwitchInSelf` event properly

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