From 6ca82e5c86279258bfd4b21195d4521f26082fd4 Mon Sep 17 00:00:00 2001 From: Rangi Date: Wed, 8 Jul 2020 15:30:23 -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 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 -- cgit v1.2.3