diff options
author | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-08 15:30:23 -0400 |
---|---|---|
committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2020-07-08 15:30:23 -0400 |
commit | 6ca82e5c86279258bfd4b21195d4521f26082fd4 (patch) | |
tree | d4dbd62a91bf73f491b2bfbd3d801251e410b94e /macros/scripts/battle_commands.asm | |
parent | 9e4a00af4523cdfacbb6b245679e2e60fbc6b375 (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.asm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macros/scripts/battle_commands.asm b/macros/scripts/battle_commands.asm index 919d6e00f..da694858e 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 |