pokeemerald/data/maps/Route106/scripts.inc

49 lines
1.6 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
Route106_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
Route106_EventScript_TrainerTipsSign::
2019-10-25 03:04:02 +02:00
msgbox Route106_Text_TrainerTips, MSGBOX_SIGN
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route106_EventScript_Douglas::
2019-10-25 03:04:02 +02:00
trainerbattle_single TRAINER_DOUGLAS, Route106_Text_DouglasIntro, Route106_Text_DouglasDefeated
msgbox Route106_Text_DouglasPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route106_EventScript_Kyla::
2019-10-25 03:04:02 +02:00
trainerbattle_single TRAINER_KYLA, Route106_Text_KylaIntro, Route106_Text_KylaDefeated
msgbox Route106_Text_KylaPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route106_EventScript_Elliot::
2019-10-25 03:04:02 +02:00
trainerbattle_single TRAINER_ELLIOT_1, Route106_Text_ElliotIntro, Route106_Text_ElliotDefeated, Route106_EventScript_ElliotRegisterMatchCallAfterBattle
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, Route106_EventScript_ElliotRematch
2019-10-25 03:04:02 +02:00
msgbox Route106_Text_ElliotPostBattle, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
Route106_EventScript_ElliotRegisterMatchCallAfterBattle::
2019-11-01 08:41:55 +01:00
special PlayerFaceTrainerAfterBattle
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-10-25 03:04:02 +02:00
msgbox Route106_Text_ElliotRegister, MSGBOX_DEFAULT
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_ELLIOT_1
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
Route106_EventScript_ElliotRematch::
2019-10-25 03:04:02 +02:00
trainerbattle_rematch TRAINER_ELLIOT_1, Route106_Text_ElliotRematchIntro, Route106_Text_ElliotRematchDefeated
msgbox Route106_Text_ElliotRematchPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route106_EventScript_Ned::
2019-10-25 03:04:02 +02:00
trainerbattle_single TRAINER_NED, Route106_Text_NedIntro, Route106_Text_NedDefeated
msgbox Route106_Text_NedPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route106_Text_TrainerTips:
2017-11-10 02:21:31 +01:00
.string "TRAINER TIPS\p"
.string "Advice on catching POKéMON with a ROD:\n"
.string "Press the A Button if you get a bite.$"