aboutsummaryrefslogtreecommitdiffstats
path: root/macros/vc.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2025-11-12 15:44:07 -0500
committerGitHub <noreply@github.com>2025-11-12 15:44:07 -0500
commit5943b96cf6d5eda52df2ad689af0ac251e4e0841 (patch)
tree1e90b28cfce0c0876ad7f9886fb2ad405478fd39 /macros/vc.asm
parentUse the same tools/make_patch.c as Gen 2 (diff)
downloadpokeyellow-5943b96cf6d5eda52df2ad689af0ac251e4e0841.tar.gz
pokeyellow-5943b96cf6d5eda52df2ad689af0ac251e4e0841.tar.xz
pokeyellow-5943b96cf6d5eda52df2ad689af0ac251e4e0841.zip
Use features of RGBDS 1.0.0 (#537)
Diffstat (limited to 'macros/vc.asm')
-rw-r--r--macros/vc.asm12
1 files changed, 6 insertions, 6 deletions
diff --git a/macros/vc.asm b/macros/vc.asm
index 0990e988..bc0734aa 100644
--- a/macros/vc.asm
+++ b/macros/vc.asm
@@ -1,22 +1,22 @@
-MACRO vc_hook
+MACRO? vc_hook
IF DEF(_RED_VC) || DEF(_BLUE_VC)
.VC_\1::
ENDC
ENDM
-MACRO vc_hook_red
+MACRO? vc_hook_red
IF DEF(_RED_VC)
.VC_\1::
ENDC
ENDM
-MACRO vc_hook_blue
+MACRO? vc_hook_blue
IF DEF(_BLUE_VC)
.VC_\1::
ENDC
ENDM
-MACRO vc_patch
+MACRO? vc_patch
IF DEF(_RED_VC) || DEF(_BLUE_VC)
ASSERT !DEF(CURRENT_VC_PATCH), "Already started a vc_patch"
DEF CURRENT_VC_PATCH EQUS "\1"
@@ -24,7 +24,7 @@ MACRO vc_patch
ENDC
ENDM
-MACRO vc_patch_end
+MACRO? vc_patch_end
IF DEF(_RED_VC) || DEF(_BLUE_VC)
ASSERT DEF(CURRENT_VC_PATCH), "No vc_patch started"
.VC_{CURRENT_VC_PATCH}_End::
@@ -32,7 +32,7 @@ MACRO vc_patch_end
ENDC
ENDM
-MACRO vc_assert
+MACRO? vc_assert
IF DEF(_RED_VC) || DEF(_BLUE_VC)
ASSERT \#
ENDC