summaryrefslogtreecommitdiff
path: root/data/maps/MtChimney/scripts.inc
diff options
context:
space:
mode:
authorMelody <melody@pallet.town>2018-12-02 06:04:59 -0500
committerMelody <melody@pallet.town>2018-12-02 06:04:59 -0500
commit862265b73a6eab7d070e628d3cb77663543bc368 (patch)
tree4635f64bb0dbdf454defa6f80ca912d19b9a5032 /data/maps/MtChimney/scripts.inc
parentc557ac61aef788f1630d3960dd2366bf000db8e0 (diff)
defines `register_matchcall` macro
Diffstat (limited to 'data/maps/MtChimney/scripts.inc')
-rw-r--r--data/maps/MtChimney/scripts.inc10
1 files changed, 2 insertions, 8 deletions
diff --git a/data/maps/MtChimney/scripts.inc b/data/maps/MtChimney/scripts.inc
index f5f7eb482..480f91515 100644
--- a/data/maps/MtChimney/scripts.inc
+++ b/data/maps/MtChimney/scripts.inc
@@ -499,10 +499,7 @@ MtChimney_EventScript_22F176:: @ 822F176
special sub_80B4808
waitmovement 0
msgbox MtChimney_Text_2300E3, MSGBOX_DEFAULT
- setvar VAR_0x8004, 313
- special SetMatchCallRegisteredFlag
- setorcopyvar VAR_0x8000, 313
- callstd STD_REGISTER_MATCH_CALL
+ register_matchcall TRAINER_SHELBY_1
release
end
@@ -544,10 +541,7 @@ MtChimney_EventScript_22F234:: @ 822F234
special sub_80B4808
waitmovement 0
msgbox MtChimney_Text_230557, MSGBOX_DEFAULT
- setvar VAR_0x8004, 1
- special SetMatchCallRegisteredFlag
- setorcopyvar VAR_0x8000, 1
- callstd STD_REGISTER_MATCH_CALL
+ register_matchcall TRAINER_SAWYER_1
release
end