2017-12-26 22:29:15 -08:00
# Move Effect Commands
2017-12-14 21:48:59 -08:00
2019-03-10 20:00:01 -07:00
Defined in [macros/scripts/battle_commands.asm ](https://github.com/pret/pokecrystal/blob/master/macros/scripts/battle_commands.asm ) and [data/battle/effect_command_pointers.asm:BattleCommandPointers ](https://github.com/pret/pokecrystal/blob/master/data/battle/effect_command_pointers.asm ).
2017-12-14 21:48:59 -08:00
## `$01`: `checkturn`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$02`: `checkobedience`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$03`: `usedmovetext`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$04`: `doturn`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$05`: `critical`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$06`: `damagestats`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$07`: `stab`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$08`: `damagevariation`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$09`: `checkhit`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$0A`: `lowersub`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$0B`: `hittargetnosub`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$0C`: `raisesub`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$0D`: `failuretext`
2019-03-10 12:31:59 -07:00
2018-08-19 03:17:54 -07:00
## `$0E`: `applydamage`
2017-12-14 21:48:59 -08:00
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$0F`: `criticaltext`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$10`: `supereffectivetext`
2019-03-10 12:31:59 -07:00
2018-08-19 03:17:54 -07:00
## `$11`: `checkfaint`
2017-12-14 21:48:59 -08:00
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$12`: `buildopponentrage`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$13`: `poisontarget`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$14`: `sleeptarget`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$15`: `draintarget`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$16`: `eatdream`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$17`: `burntarget`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$18`: `freezetarget`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$19`: `paralyzetarget`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$1A`: `selfdestruct`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$1B`: `mirrormove`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$1C`: `statup`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$1D`: `statdown`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$1E`: `payday`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$1F`: `conversion`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$20`: `resetstats`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$21`: `storeenergy`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$22`: `unleashenergy`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$23`: `forceswitch`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$24`: `endloop`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$25`: `flinchtarget`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$26`: `ohko`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$27`: `recoil`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$28`: `mist`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$29`: `focusenergy`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$2A`: `confuse`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$2B`: `confusetarget`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$2C`: `heal`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$2D`: `transform`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$2E`: `screen`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$2F`: `poison`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$30`: `paralyze`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$31`: `substitute`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$32`: `rechargenextturn`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$33`: `mimic`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$34`: `metronome`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$35`: `leechseed`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$36`: `splash`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$37`: `disable`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$38`: `cleartext`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$39`: `charge`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$3A`: `checkcharge`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$3B`: `traptarget`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$3C`: `effect0x3c`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$3D`: `rampage`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$3E`: `checkrampage`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$3F`: `constantdamage`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$40`: `counter`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$41`: `encore`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$42`: `painsplit`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$43`: `snore`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$44`: `conversion2`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$45`: `lockon`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$46`: `sketch`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$47`: `defrostopponent`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$48`: `sleeptalk`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$49`: `destinybond`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$4A`: `spite`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$4B`: `falseswipe`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$4C`: `healbell`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$4D`: `kingsrock`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$4E`: `triplekick`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$4F`: `kickcounter`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$50`: `thief`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$51`: `arenatrap`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$52`: `nightmare`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$53`: `defrost`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$54`: `curse`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$55`: `protect`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$56`: `spikes`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$57`: `foresight`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$58`: `perishsong`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$59`: `startsandstorm`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$5A`: `endure`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$5B`: `checkcurl`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$5C`: `rolloutpower`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$5D`: `effect0x5d`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$5E`: `furycutter`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$5F`: `attract`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$60`: `happinesspower`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$61`: `present`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$62`: `damagecalc`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$63`: `frustrationpower`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$64`: `safeguard`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$65`: `checksafeguard`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$66`: `getmagnitude`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$67`: `batonpass`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$68`: `pursuit`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$69`: `clearhazards`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$6A`: `healmorn`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$6B`: `healday`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$6C`: `healnite`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$6D`: `hiddenpower`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$6E`: `startrain`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$6F`: `startsun`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$70`: `attackup`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$71`: `defenseup`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$72`: `speedup`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$73`: `specialattackup`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$74`: `specialdefenseup`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$75`: `accuracyup`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$76`: `evasionup`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$77`: `attackup2`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$78`: `defenseup2`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$79`: `speedup2`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$7A`: `specialattackup2`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$7B`: `specialdefenseup2`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$7C`: `accuracyup2`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$7D`: `evasionup2`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$7E`: `attackdown`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$7F`: `defensedown`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$80`: `speeddown`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$81`: `specialattackdown`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$82`: `specialdefensedown`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$83`: `accuracydown`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$84`: `evasiondown`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$85`: `attackdown2`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$86`: `defensedown2`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$87`: `speeddown2`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$88`: `specialattackdown2`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$89`: `specialdefensedown2`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$8A`: `accuracydown2`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$8B`: `evasiondown2`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$8C`: `statupmessage`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$8D`: `statdownmessage`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$8E`: `statupfailtext`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$8F`: `statdownfailtext`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$90`: `effectchance`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$91`: `statdownanim`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$92`: `statupanim`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$93`: `switchturn`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$94`: `fakeout`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$95`: `bellydrum`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$96`: `psychup`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$97`: `rage`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$98`: `doubleflyingdamage`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$99`: `doubleundergrounddamage`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$9A`: `mirrorcoat`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$9B`: `checkfuturesight`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$9C`: `futuresight`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$9D`: `doubleminimizedamage`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$9E`: `skipsuncharge`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$9F`: `thunderaccuracy`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$A0`: `teleport`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$A1`: `beatup`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$A2`: `ragedamage`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$A3`: `resettypematchup`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$A4`: `allstatsup`
2019-03-10 12:31:59 -07:00
2018-08-19 03:17:54 -07:00
## `$A5`: `bidefailtext`
2017-12-14 21:48:59 -08:00
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$A6`: `raisesubnoanim`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$A7`: `lowersubnoanim`
2019-03-10 12:31:59 -07:00
2018-08-19 03:17:54 -07:00
## `$A8`: `beatupfailtext`
2017-12-14 21:48:59 -08:00
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$A9`: `clearmissdamage`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$AA`: `movedelay`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$AB`: `hittarget`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$AC`: `tristatuschance`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$AD`: `supereffectivelooptext`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$AE`: `startloop`
2019-03-10 12:31:59 -07:00
2017-12-14 21:48:59 -08:00
## `$AF`: `curl`
2019-03-10 12:31:59 -07:00
2017-12-14 21:54:45 -08:00
## `$FE`: `endturn`
2017-12-14 21:48:59 -08:00
2019-03-10 12:31:59 -07:00
2017-12-14 21:54:45 -08:00
## `$FF`: `endmove`