pokeemerald/data/maps/Route126/scripts.inc

66 lines
2.3 KiB
PHP
Raw Normal View History

2017-11-10 02:21:31 +01:00
Route126_MapScripts:: @ 81F68C6
map_script MAP_SCRIPT_ON_TRANSITION, Route126_OnTransition
2017-11-10 02:21:31 +01:00
.byte 0
Route126_OnTransition: @ 81F68CC
2019-12-02 01:19:47 +01:00
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetAbnormalWeather
2017-11-10 02:21:31 +01:00
end
2019-11-11 23:19:39 +01:00
Route126_EventScript_Barry:: @ 81F68D6
trainerbattle_single TRAINER_BARRY, Route126_Text_BarryIntro, Route126_Text_BarryDefeat
msgbox Route126_Text_BarryPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-11-11 23:19:39 +01:00
Route126_EventScript_Dean:: @ 81F68ED
trainerbattle_single TRAINER_DEAN, Route126_Text_DeanIntro, Route126_Text_DeanDefeat
msgbox Route126_Text_DeanPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-11-11 23:19:39 +01:00
Route126_EventScript_Nikki:: @ 81F6904
trainerbattle_single TRAINER_NIKKI, Route126_Text_NikkiIntro, Route126_Text_NikkiDefeat
msgbox Route126_Text_NikkiPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-11-11 23:19:39 +01:00
Route126_EventScript_Brenda:: @ 81F691B
trainerbattle_single TRAINER_BRENDA, Route126_Text_BrendaIntro, Route126_Text_BrendaDefeat
msgbox Route126_Text_BrendaPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-11-11 23:19:39 +01:00
Route126_EventScript_Leonardo:: @ 81F6932
trainerbattle_single TRAINER_LEONARDO, Route126_Text_LeonardoIntro, Route126_Text_LeonardoDefeat
msgbox Route126_Text_LeonardoPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-11-11 23:19:39 +01:00
Route126_EventScript_Isobel:: @ 81F6949
trainerbattle_single TRAINER_ISOBEL, Route126_Text_IsobelIntro, Route126_Text_IsobelDefeat
msgbox Route126_Text_IsobelPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-11-11 23:19:39 +01:00
Route126_EventScript_Sienna:: @ 81F6960
trainerbattle_single TRAINER_SIENNA, Route126_Text_SiennaIntro, Route126_Text_SiennaDefeat
msgbox Route126_Text_SiennaPostBattle, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end
2019-11-11 23:19:39 +01:00
Route126_EventScript_Pablo:: @ 81F6977
trainerbattle_single TRAINER_PABLO_1, Route126_Text_PabloIntro, Route126_Text_PabloDefeat, Route126_EventScript_RegisterPablo
2017-12-01 21:25:13 +01:00
specialvar VAR_RESULT, ShouldTryRematchBattle
2019-11-11 23:19:39 +01:00
compare VAR_RESULT, TRUE
goto_if_eq Route126_EventScript_RematchPablo
msgbox Route126_Text_PabloPostBattle, MSGBOX_DEFAULT
2017-11-10 02:21:31 +01:00
release
end
2019-11-11 23:19:39 +01:00
Route126_EventScript_RegisterPablo:: @ 81F69A3
2019-11-01 08:41:55 +01:00
special PlayerFaceTrainerAfterBattle
2017-11-10 02:21:31 +01:00
waitmovement 0
2019-11-11 23:19:39 +01:00
msgbox Route126_Text_PabloRegister, MSGBOX_DEFAULT
2018-12-02 12:04:59 +01:00
register_matchcall TRAINER_PABLO_1
2017-11-10 02:21:31 +01:00
release
end
2019-11-11 23:19:39 +01:00
Route126_EventScript_RematchPablo:: @ 81F69C2
trainerbattle_rematch TRAINER_PABLO_1, Route126_Text_PabloRematchIntro, Route126_Text_PabloRematchDefeat
msgbox Route126_Text_PabloPostRematch, MSGBOX_AUTOCLOSE
2017-11-10 02:21:31 +01:00
end