diff options
author | Rangi <35663410+Rangi42@users.noreply.github.com> | 2020-07-10 20:06:25 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-10 20:06:25 -0400 |
commit | 4fb008844030283ad34cb0802b088b4dd7c9891c (patch) | |
tree | 6854c5ea9c5311b677bfbcae0616f0979b754060 /macros/scripts/battle_commands.asm | |
parent | 9e4a00af4523cdfacbb6b245679e2e60fbc6b375 (diff) | |
parent | c086de0c986330b09cd5e9fa384b950107ee4955 (diff) |
Merge pull request #740 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 919d6e00f..ad4480199 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 |