summaryrefslogtreecommitdiff
path: root/asm/macros/event.inc
diff options
context:
space:
mode:
Diffstat (limited to 'asm/macros/event.inc')
-rw-r--r--asm/macros/event.inc7
1 files changed, 7 insertions, 0 deletions
diff --git a/asm/macros/event.inc b/asm/macros/event.inc
index a1b0b0c62..e59f18b32 100644
--- a/asm/macros/event.inc
+++ b/asm/macros/event.inc
@@ -1554,3 +1554,10 @@
setorcopyvar 0x8000, \decoration
callstd STD_OBTAIN_DECORATION
.endm
+
+ .macro register_matchcall trainer
+ setvar VAR_0x8004, \trainer
+ special SetMatchCallRegisteredFlag
+ setorcopyvar VAR_0x8000, \trainer
+ callstd STD_REGISTER_MATCH_CALL
+ .endm