Use const_skip and const_next macros for brevity

This commit is contained in:
Rangi 2020-07-09 14:51:48 -04:00
parent 676a35f76f
commit 3e572b6f48
20 changed files with 544 additions and 2284 deletions

View file

@ -1,9 +1,8 @@
OPP_ID_OFFSET EQU 200
trainer_const: MACRO
\1 EQU const_value
OPP_\1 EQU const_value + OPP_ID_OFFSET
const_value = const_value + 1
const \1
OPP_\1 EQU OPP_ID_OFFSET + \1
ENDM
const_def