summaryrefslogtreecommitdiff
path: root/asm
diff options
context:
space:
mode:
Diffstat (limited to 'asm')
-rw-r--r--asm/macros/event.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index 64f2cdc92..e633a9d84 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -1630,6 +1630,14 @@
call_if 5, \dest
.endm
+ .macro vgoto_if_eq dest:req
+ vgoto_if 1, \dest
+ .endm
+
+ .macro vgoto_if_ne dest:req
+ vgoto_if 0, \dest
+ .endm
+
.macro switch var:req
copyvar VAR_0x8000, \var
.endm