aboutsummaryrefslogtreecommitdiffstats
path: root/macros/predef.asm
diff options
context:
space:
mode:
authorvulcandth <vulcandth@gmail.com>2022-06-06 16:25:34 -0500
committerGitHub <noreply@github.com>2022-06-06 17:25:34 -0400
commitc1ef7b75972fa4fbdf125bc85cc1a66f358151cd (patch)
treebcf71939ec5573ed5001c4a4b4342d26e5d8f9b1 /macros/predef.asm
parentImproved Virtual Console patch identifiers (#85) (diff)
downloadpokeyellow-c1ef7b75972fa4fbdf125bc85cc1a66f358151cd.tar.gz
pokeyellow-c1ef7b75972fa4fbdf125bc85cc1a66f358151cd.tar.xz
pokeyellow-c1ef7b75972fa4fbdf125bc85cc1a66f358151cd.zip
RGBDS syntax updates (#86)
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