Fix Nightmare bug
Fix Nightmare bug

According to the desc, "The effect ends when the target wakes up, even
if it falls asleep again in the same turn."

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