mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2024-12-29 13:50:42 +01:00
51 lines
1.7 KiB
PHP
51 lines
1.7 KiB
PHP
Route108_MapScripts::
|
|
.byte 0
|
|
|
|
Route108_EventScript_Jerome::
|
|
trainerbattle_single TRAINER_JEROME, Route108_Text_JeromeIntro, Route108_Text_JeromeDefeated
|
|
msgbox Route108_Text_JeromePostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
Route108_EventScript_Matthew::
|
|
trainerbattle_single TRAINER_MATTHEW, Route108_Text_MatthewIntro, Route108_Text_MatthewDefeated
|
|
msgbox Route108_Text_MatthewPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
Route108_EventScript_Tara::
|
|
trainerbattle_single TRAINER_TARA, Route108_Text_TaraIntro, Route108_Text_TaraDefeated
|
|
msgbox Route108_Text_TaraPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
Route108_EventScript_Missy::
|
|
trainerbattle_single TRAINER_MISSY, Route108_Text_MissyIntro, Route108_Text_MissyDefeated
|
|
msgbox Route108_Text_MissyPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
Route108_EventScript_Carolina::
|
|
trainerbattle_single TRAINER_CAROLINA, Route108_Text_CarolinaIntro, Route108_Text_CarolinaDefeated
|
|
msgbox Route108_Text_CarolinaPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|
|
Route108_EventScript_Cory::
|
|
trainerbattle_single TRAINER_CORY_1, Route108_Text_CoryIntro, Route108_Text_CoryDefeated, Route108_EventScript_CoryRegisterMatchCallAfterBattle
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
|
compare VAR_RESULT, TRUE
|
|
goto_if_eq Route108_EventScript_CoryRematch
|
|
msgbox Route108_Text_CoryPostBattle, MSGBOX_DEFAULT
|
|
release
|
|
end
|
|
|
|
Route108_EventScript_CoryRegisterMatchCallAfterBattle::
|
|
special PlayerFaceTrainerAfterBattle
|
|
waitmovement 0
|
|
msgbox Route108_Text_CoryRegister, MSGBOX_DEFAULT
|
|
register_matchcall TRAINER_CORY_1
|
|
release
|
|
end
|
|
|
|
Route108_EventScript_CoryRematch::
|
|
trainerbattle_rematch TRAINER_CORY_1, Route108_Text_CoryRematchIntro, Route108_Text_CoryRematchDefeated
|
|
msgbox Route108_Text_CoryRematchPostBattle, MSGBOX_AUTOCLOSE
|
|
end
|
|
|