pokeemerald/asm/macros/asm.inc

13 lines
168 B
PHP
Raw Normal View History

.macro inc x:req
2016-09-04 00:27:28 +02:00
.set \x, \x + 1
.endm
.macro enum_start x=0
.set __enum__, \x
.endm
.macro enum constant:req
2016-09-04 00:27:28 +02:00
.equiv \constant, __enum__
inc __enum__
.endm