You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-09-08 08:13:02 -07:00
Eliminate enum: use const instead, with case-by-case parallel const implementations
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user