aboutsummaryrefslogtreecommitdiffstats
path: root/macros/predef.asm
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-06-06 16:25:31 -0500
committerGitHub <noreply@github.com>2022-06-06 17:25:31 -0400
commit6b5be9129cabe72b9f775b02db1bf7e7169153da (patch)
treed92012450c70f90bf8086bed32ec3dc87b68b332 /macros/predef.asm
parentImproved Virtual Console patch identifiers (#357) (diff)
downloadpokeyellow-6b5be9129cabe72b9f775b02db1bf7e7169153da.tar.gz
pokeyellow-6b5be9129cabe72b9f775b02db1bf7e7169153da.tar.xz
pokeyellow-6b5be9129cabe72b9f775b02db1bf7e7169153da.zip
RGBDS syntax updates (#358)
New MACRO and DEF syntax
Diffstat (limited to 'macros/predef.asm')
-rw-r--r--macros/predef.asm14
1 files changed, 7 insertions, 7 deletions
diff --git a/macros/predef.asm b/macros/predef.asm
index d86582d1..45b0197b 100644
--- a/macros/predef.asm
+++ b/macros/predef.asm
@@ -1,32 +1,32 @@
-predef_id: MACRO
+MACRO predef_id
ld a, (\1Predef - PredefPointers) / 3
ENDM
-predef: MACRO
+MACRO predef
predef_id \1
call Predef
ENDM
-predef_jump: MACRO
+MACRO predef_jump
predef_id \1
jp Predef
ENDM
-tx_pre_id: MACRO
+MACRO tx_pre_id
ld a, (\1_id - TextPredefs) / 2 + 1
ENDM
-tx_pre: MACRO
+MACRO tx_pre
tx_pre_id \1
call PrintPredefTextID
ENDM
-tx_pre_jump: MACRO
+MACRO tx_pre_jump
tx_pre_id \1
jp PrintPredefTextID
ENDM
-db_tx_pre: MACRO
+MACRO db_tx_pre
db (\1_id - TextPredefs) / 2 + 1
ENDM