Gen 1: Fix partial trapping moves not recalculating the damage properly With the existing damage check, the damage was re-calculated upon switch-in, but afterwards the old damage was applied. The removed check is not necessary as the hit will return the previous partial trap damage if existing, thus always assigning that damage again until switch or faint.
Gen 1: Fix partial trapping moves not recalculating the damage properly
With the existing damage check, the damage was re-calculated upon switch-in, but afterwards the old damage was applied.
The removed check is not necessary as the hit will return the previous partial trap damage if existing, thus always assigning that damage again until switch or faint.

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