mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-22 15:12:18 +13:00
Use rgbds 0.5.0 features:
- FOR loops
- {interpolation}
- REDEF EQUS
- \# for all macro args
This commit is contained in:
parent
4b64b146e4
commit
dd690920c9
15 changed files with 90 additions and 163 deletions
|
|
@ -169,10 +169,9 @@ ENDM
|
|||
script_mart: MACRO
|
||||
db TX_SCRIPT_MART
|
||||
db _NARG ; number of items
|
||||
REPT _NARG
|
||||
db \1 ; item id
|
||||
SHIFT
|
||||
ENDR
|
||||
IF _NARG
|
||||
db \# ; all item ids
|
||||
ENDC
|
||||
db -1 ; end
|
||||
ENDM
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue