From 61598ad92556072233fa3bae28b07999cabf0c99 Mon Sep 17 00:00:00 2001 From: Rangi Date: Thu, 9 Jul 2020 11:27:10 -0400 Subject: Eliminate enum: use const instead, with case-by-case parallel const implementations --- macros/scripts/battle_commands.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'macros/scripts/battle_commands.asm') 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 -- cgit v1.2.3