summaryrefslogtreecommitdiff
path: root/data/maps/Route120/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/Route120/scripts.inc
parentc557ac61aef788f1630d3960dd2366bf000db8e0 (diff)
defines `register_matchcall` macro
Diffstat (limited to 'data/maps/Route120/scripts.inc')
-rw-r--r--data/maps/Route120/scripts.inc10
1 files changed, 2 insertions, 8 deletions
diff --git a/data/maps/Route120/scripts.inc b/data/maps/Route120/scripts.inc
index 6360a54a3..6b41400d5 100644
--- a/data/maps/Route120/scripts.inc
+++ b/data/maps/Route120/scripts.inc
@@ -308,10 +308,7 @@ Route120_EventScript_1F581A:: @ 81F581A
special sub_80B4808
waitmovement 0
msgbox Route120_Text_29E75D, MSGBOX_DEFAULT
- setvar VAR_0x8004, 406
- special SetMatchCallRegisteredFlag
- setorcopyvar VAR_0x8000, 406
- callstd STD_REGISTER_MATCH_CALL
+ register_matchcall TRAINER_ROBERT_1
release
end
@@ -343,10 +340,7 @@ Route120_EventScript_1F58AA:: @ 81F58AA
special sub_80B4808
waitmovement 0
msgbox Route120_Text_29EA31, MSGBOX_DEFAULT
- setvar VAR_0x8004, 226
- special SetMatchCallRegisteredFlag
- setorcopyvar VAR_0x8000, 226
- callstd STD_REGISTER_MATCH_CALL
+ register_matchcall TRAINER_JEFFREY_1
release
end