mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-29 13:50:42 +01:00
13 lines
160 B
PHP
13 lines
160 B
PHP
|
.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
|