pokecrystal-board/docs/move_effect_commands.md

535 lines
4.7 KiB
Markdown
Raw Permalink Normal View History

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