diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-21 20:09:34 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-03-21 20:09:34 -0400 |
commit | 5037adc55f12805533943cc0170968c95da0b8db (patch) | |
tree | 3c8948d3050355db3cbdb7a680a218056c6216f9 /macros/scripts/battle_anims.asm | |
parent | 90ce12613935999ec0675317e73725521925d32e (diff) |
Clean up some macro definitions
Diffstat (limited to 'macros/scripts/battle_anims.asm')
-rw-r--r-- | macros/scripts/battle_anims.asm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/macros/scripts/battle_anims.asm b/macros/scripts/battle_anims.asm index 6dc21e5fc..9754574f7 100644 --- a/macros/scripts/battle_anims.asm +++ b/macros/scripts/battle_anims.asm @@ -1,12 +1,12 @@ -anim_wait: MACRO - assert (\1) < $d0, "anim_wait argument must be less than $d0" - db \1 -ENDM - ; BattleAnimCommands indexes (see engine/battle_anims/anim_commands.asm) const_def $d0 FIRST_BATTLE_ANIM_CMD EQU const_value +anim_wait: MACRO + assert (\1) < FIRST_BATTLE_ANIM_CMD, "anim_wait argument must be less than {FIRST_BATTLE_ANIM_CMD}" + db \1 +ENDM + const anim_obj_command ; $d0 anim_obj: MACRO db anim_obj_command |