summaryrefslogtreecommitdiff
path: root/data/maps/Route123/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/Route123/scripts.inc
parentc557ac61aef788f1630d3960dd2366bf000db8e0 (diff)
defines `register_matchcall` macro
Diffstat (limited to 'data/maps/Route123/scripts.inc')
-rw-r--r--data/maps/Route123/scripts.inc15
1 files changed, 3 insertions, 12 deletions
diff --git a/data/maps/Route123/scripts.inc b/data/maps/Route123/scripts.inc
index 052405704..5e0f97493 100644
--- a/data/maps/Route123/scripts.inc
+++ b/data/maps/Route123/scripts.inc
@@ -73,10 +73,7 @@ Route123_EventScript_1F6236:: @ 81F6236
special sub_80B4808
waitmovement 0
msgbox Route123_Text_29FE70, MSGBOX_DEFAULT
- setvar VAR_0x8004, 238
- special SetMatchCallRegisteredFlag
- setorcopyvar VAR_0x8000, 238
- callstd STD_REGISTER_MATCH_CALL
+ register_matchcall TRAINER_CAMERON_1
release
end
@@ -98,10 +95,7 @@ Route123_EventScript_1F6298:: @ 81F6298
special sub_80B4808
waitmovement 0
msgbox Route123_Text_2A0027, MSGBOX_DEFAULT
- setvar VAR_0x8004, 249
- special SetMatchCallRegisteredFlag
- setorcopyvar VAR_0x8000, 249
- callstd STD_REGISTER_MATCH_CALL
+ register_matchcall TRAINER_JACKI_1
release
end
@@ -173,10 +167,7 @@ Route123_EventScript_1F63E8:: @ 81F63E8
special sub_80B4808
waitmovement 0
msgbox Route123_Text_2A03C1, MSGBOX_DEFAULT
- setvar VAR_0x8004, 195
- special SetMatchCallRegisteredFlag
- setorcopyvar VAR_0x8000, 195
- callstd STD_REGISTER_MATCH_CALL
+ register_matchcall TRAINER_FERNANDO_1
release
end