diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2018-09-10 21:19:19 +0200 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2018-09-10 21:19:19 +0200 |
commit | 10b479a3cae98a1fa955a4fc5461bace1f630352 (patch) | |
tree | eec4156190a40ec8e9b7cbe553a7047a1664bf77 /asm/macros | |
parent | 943861329157ea1bd5ddeef5cdfb0ab1e3dad6fe (diff) |
Document battle animation scripts.
Diffstat (limited to 'asm/macros')
-rw-r--r-- | asm/macros/battle_anim_script.inc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/asm/macros/battle_anim_script.inc b/asm/macros/battle_anim_script.inc index d1a8f6656..2b7501734 100644 --- a/asm/macros/battle_anim_script.inc +++ b/asm/macros/battle_anim_script.inc @@ -266,3 +266,16 @@ .macro stopsound .byte 0x2f .endm + +@ useful macros + .macro jumpreteq value, ptr + jumpargeq ARG_RET_ID, \value, \ptr + .endm + + .macro jumprettrue ptr + jumpreteq TRUE, \ptr + .endm + + .macro jumpretfalse ptr + jumpreteq FALSE, \ptr + .endm |