Clear volatiles on switch out instead of switch in.
Clear volatiles on switch out instead of switch in.

This has the same practical effect, but is slightly more intuitive and keeps the client better informed. For example, if a Pokemon used Skill Swap and then switched out, previously it would still display the swapped skill on mouseover; now, it displays the original skill, as it should.

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