Gen 2: Make Rest sleep overwrite sleep origin side
Gen 2: Make Rest sleep overwrite sleep origin side

Sleep Clause should not be activated if an asleep Pokémon uses Rest through Sleep Talk, as then the sleep is overriden.

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