diff options
author | Melody <melody@pallet.town> | 2018-12-02 06:04:59 -0500 |
---|---|---|
committer | Melody <melody@pallet.town> | 2018-12-02 06:04:59 -0500 |
commit | 862265b73a6eab7d070e628d3cb77663543bc368 (patch) | |
tree | 4635f64bb0dbdf454defa6f80ca912d19b9a5032 /asm/macros | |
parent | c557ac61aef788f1630d3960dd2366bf000db8e0 (diff) |
defines `register_matchcall` macro
Diffstat (limited to 'asm/macros')
-rw-r--r-- | asm/macros/event.inc | 7 |
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 |