mirror of
https://github.com/pret/pokeruby.git
synced 2026-09-30 07:21:48 -04:00
e94cd48030
Change map constants to resemble labels to avoid having to convert.
13 lines
160 B
ArmAsm
13 lines
160 B
ArmAsm
.macro inc x
|
|
.set \x, \x + 1
|
|
.endm
|
|
|
|
.macro enum_start x=0
|
|
.set __enum__, \x
|
|
.endm
|
|
|
|
.macro enum constant
|
|
.equiv \constant, __enum__
|
|
inc __enum__
|
|
.endm
|