Set moveUsed before running useMove.
Set moveUsed before running useMove.

- This fixes Cursed Body, among other things.

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