diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2020-07-10 20:06:26 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 20:06:26 -0400 |
commit | 30c327276c937e06e3c8b7990cb9029937739f8e (patch) | |
tree | 5a0bef24e07c39c80ea3690f32af95993b6dccae /macros/scripts/battle_commands.asm | |
parent | ab0c582cbc79df7226357bc23b9e8254bcc4f053 (diff) | |
parent | a19abb50459f29c895af53c57b477c03d1e0f644 (diff) |
Merge pull request #55 from Rangi42/master
Remove enum; add const_skip and const_next
Diffstat (limited to 'macros/scripts/battle_commands.asm')
-rw-r--r-- | macros/scripts/battle_commands.asm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macros/scripts/battle_commands.asm b/macros/scripts/battle_commands.asm index 919d6e00..ad448019 100644 --- a/macros/scripts/battle_commands.asm +++ b/macros/scripts/battle_commands.asm @@ -1,10 +1,10 @@ command: MACRO - enum \1_command + const \1_command \1 EQUS "db \1_command" ENDM ; BattleCommandPointers indexes (see data/battle/effect_command_pointers.asm) - enum_start 1 + const_def 1 command checkturn ; 01 command checkobedience ; 02 command usedmovetext ; 03 @@ -181,6 +181,6 @@ ENDM command startloop ; ae command curl ; af - enum_start $fe - command endturn ; fe + const_def -1, -1 command endmove ; ff + command endturn ; fe |