RGBDS syntax updates (#905)

New MACRO and DEF syntax
This commit is contained in:
vulcandth
2022-06-06 16:25:42 -05:00
committed by GitHub
parent a4d346cc8c
commit 3648afda16
179 changed files with 2546 additions and 2545 deletions

View File

@@ -1,15 +1,15 @@
lda_predef: MACRO
MACRO lda_predef
; Some functions load the predef id
; without immediately calling Predef.
ld a, (\1Predef - PredefPointers) / 3
ENDM
predef: MACRO
MACRO predef
lda_predef \1
call Predef
ENDM
predef_jump: MACRO
MACRO predef_jump
lda_predef \1
jp Predef
ENDM