mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
constant enumeration
This commit is contained in:
parent
57736ce19c
commit
4c8737effb
12
macros.asm
12
macros.asm
@ -42,6 +42,18 @@ lb: MACRO ; r, hi, lo
|
||||
ENDM
|
||||
|
||||
|
||||
; Constant enumeration
|
||||
|
||||
const_def: MACRO
|
||||
const_value SET 0
|
||||
ENDM
|
||||
|
||||
const: MACRO
|
||||
\1 EQU const_value
|
||||
const_value SET const_value + 1
|
||||
ENDM
|
||||
|
||||
|
||||
TX_RAM: MACRO
|
||||
db 1
|
||||
dw \1
|
||||
|
Loading…
x
Reference in New Issue
Block a user