summaryrefslogtreecommitdiff
path: root/macros/scripts/battle_commands.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-09 11:27:10 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-09 11:27:10 -0400
commit61598ad92556072233fa3bae28b07999cabf0c99 (patch)
tree02107b2b2fd90b35c035a89f13035c6ef9d185f5 /macros/scripts/battle_commands.asm
parentab0c582cbc79df7226357bc23b9e8254bcc4f053 (diff)
Eliminate enum: use const instead, with case-by-case parallel const implementations
Diffstat (limited to 'macros/scripts/battle_commands.asm')
-rw-r--r--macros/scripts/battle_commands.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/scripts/battle_commands.asm b/macros/scripts/battle_commands.asm
index 919d6e00..da694858 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
+ const_def $fe
command endturn ; fe
command endmove ; ff