mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 15:12:18 +13:00
Use const_skip and const_next macros for brevity
This commit is contained in:
parent
676a35f76f
commit
3e572b6f48
20 changed files with 544 additions and 2284 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue