pokeemerald/data/maps/Route107/scripts.inc

56 lines
2.0 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
Route107_MapScripts:: @ 81EE594
.byte 0
2019-10-25 03:04:02 +02:00
Route107_EventScript_Darrin:: @ 81EE595
trainerbattle_single TRAINER_DARRIN, Route107_Text_DarrinIntro, Route107_Text_DarrinDefeated
msgbox Route107_Text_DarrinPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-10-25 03:04:02 +02:00
Route107_EventScript_Tony:: @ 81EE5AC
trainerbattle_single TRAINER_TONY_1, Route107_Text_TonyIntro, Route107_Text_TonyDefeated, Route107_EventScript_TonyRegisterMatchCallAfterBattle
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
2019-10-25 03:04:02 +02:00
compare VAR_RESULT, TRUE
goto_if_eq Route107_EventScript_TonyRematch
msgbox Route107_Text_TonyPostBattle, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-10-25 03:04:02 +02:00
Route107_EventScript_TonyRegisterMatchCallAfterBattle:: @ 81EE5D8
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 Route107_Text_TonyRegister, MSGBOX_DEFAULT
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_TONY_1
2017-11-10 02:21:31 +01:00
release
end
2019-10-25 03:04:02 +02:00
Route107_EventScript_TonyRematch:: @ 81EE5F7
trainerbattle_rematch TRAINER_TONY_1, Route107_Text_TonyRematchIntro, Route107_Text_TonyRematchDefeated
msgbox Route107_Text_TonyRematchPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-10-25 03:04:02 +02:00
Route107_EventScript_Denise:: @ 81EE60E
trainerbattle_single TRAINER_DENISE, Route107_Text_DeniseIntro, Route107_Text_DeniseDefeated
msgbox Route107_Text_DenisePostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-10-25 03:04:02 +02:00
Route107_EventScript_Beth:: @ 81EE625
trainerbattle_single TRAINER_BETH, Route107_Text_BethIntro, Route107_Text_BethDefeated
msgbox Route107_Text_BethPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-10-25 03:04:02 +02:00
Route107_EventScript_Lisa:: @ 81EE63C
trainerbattle_double TRAINER_LISA_AND_RAY, Route107_Text_LisaIntro, Route107_Text_LisaDefeated, Route107_Text_LisaNotEnoughPokemon
msgbox Route107_Text_LisaPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-10-25 03:04:02 +02:00
Route107_EventScript_Ray:: @ 81EE657
trainerbattle_double TRAINER_LISA_AND_RAY, Route107_Text_RayIntro, Route107_Text_RayDefeated, Route107_Text_RayNotEnoughPokemon
msgbox Route107_Text_RayPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-10-25 03:04:02 +02:00
Route107_EventScript_Camron:: @ 81EE672
trainerbattle_single TRAINER_CAMRON, Route107_Text_CamronIntro, Route107_Text_CamronDefeated
msgbox Route107_Text_CamronPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end