pokeemerald/data/maps/Route108/scripts.inc

50 lines
1.7 KiB
PHP
Raw Normal View History

2021-07-20 21:18:31 +02:00
Route108_MapScripts::
2017-11-10 02:21:31 +01:00
.byte 0
2021-07-20 21:18:31 +02:00
Route108_EventScript_Jerome::
2019-10-25 03:04:02 +02:00
trainerbattle_single TRAINER_JEROME, Route108_Text_JeromeIntro, Route108_Text_JeromeDefeated
msgbox Route108_Text_JeromePostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route108_EventScript_Matthew::
2019-10-25 03:04:02 +02:00
trainerbattle_single TRAINER_MATTHEW, Route108_Text_MatthewIntro, Route108_Text_MatthewDefeated
msgbox Route108_Text_MatthewPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route108_EventScript_Tara::
2019-10-25 03:04:02 +02:00
trainerbattle_single TRAINER_TARA, Route108_Text_TaraIntro, Route108_Text_TaraDefeated
msgbox Route108_Text_TaraPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route108_EventScript_Missy::
2019-10-25 03:04:02 +02:00
trainerbattle_single TRAINER_MISSY, Route108_Text_MissyIntro, Route108_Text_MissyDefeated
msgbox Route108_Text_MissyPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route108_EventScript_Carolina::
2019-10-25 03:04:02 +02:00
trainerbattle_single TRAINER_CAROLINA, Route108_Text_CarolinaIntro, Route108_Text_CarolinaDefeated
msgbox Route108_Text_CarolinaPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2021-07-20 21:18:31 +02:00
Route108_EventScript_Cory::
2019-10-25 03:04:02 +02:00
trainerbattle_single TRAINER_CORY_1, Route108_Text_CoryIntro, Route108_Text_CoryDefeated, Route108_EventScript_CoryRegisterMatchCallAfterBattle
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
goto_if_eq VAR_RESULT, TRUE, Route108_EventScript_CoryRematch
2019-10-25 03:04:02 +02:00
msgbox Route108_Text_CoryPostBattle, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
Route108_EventScript_CoryRegisterMatchCallAfterBattle::
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 Route108_Text_CoryRegister, MSGBOX_DEFAULT
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_CORY_1
2017-11-10 02:21:31 +01:00
release
end
2021-07-20 21:18:31 +02:00
Route108_EventScript_CoryRematch::
2019-10-25 03:04:02 +02:00
trainerbattle_rematch TRAINER_CORY_1, Route108_Text_CoryRematchIntro, Route108_Text_CoryRematchDefeated
msgbox Route108_Text_CoryRematchPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end