Move results passed up to useMove Move results are now passed all the way up to the useMove script.
Move results passed up to useMove
Move results are now passed all the way up to the useMove script.

It's now possible to tell from within useMove whether or not the move
succeeded.

This fixes a bug where successful Memento and Healing Wish were
considered to have failed and so didn't cause the user to faint.

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