summaryrefslogtreecommitdiff
path: root/data/maps/Route102/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/Route102/scripts.inc
parentc557ac61aef788f1630d3960dd2366bf000db8e0 (diff)
defines `register_matchcall` macro
Diffstat (limited to 'data/maps/Route102/scripts.inc')
-rw-r--r--data/maps/Route102/scripts.inc10
1 files changed, 2 insertions, 8 deletions
diff --git a/data/maps/Route102/scripts.inc b/data/maps/Route102/scripts.inc
index c38d40a7f..ca6de7d9c 100644
--- a/data/maps/Route102/scripts.inc
+++ b/data/maps/Route102/scripts.inc
@@ -40,10 +40,7 @@ Route102_EventScript_1EC146:: @ 81EC146
Route102_EventScript_1EC157:: @ 81EC157
msgbox Route102_Text_294668, MSGBOX_DEFAULT
- setvar VAR_0x8004, 318
- special SetMatchCallRegisteredFlag
- setorcopyvar VAR_0x8000, 318
- callstd STD_REGISTER_MATCH_CALL
+ register_matchcall TRAINER_CALVIN_1
release
end
@@ -56,10 +53,7 @@ Route102_EventScript_1EC170:: @ 81EC170
Route102_EventScript_1EC183:: @ 81EC183
msgbox Route102_Text_2945EB, MSGBOX_DEFAULT
- setvar VAR_0x8004, 318
- special SetMatchCallRegisteredFlag
- setorcopyvar VAR_0x8000, 318
- callstd STD_REGISTER_MATCH_CALL
+ register_matchcall TRAINER_CALVIN_1
release
end