2017-11-10 02:21:31 +01:00
|
|
|
Route131_MapScripts:: @ 81F7404
|
2019-04-22 22:31:51 +02:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, Route131_OnTransition
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
2019-04-22 22:31:51 +02:00
|
|
|
Route131_OnTransition: @ 81F740A
|
2019-08-05 17:23:45 +02:00
|
|
|
compare VAR_SOOTOPOLIS_CITY_STATE, 4
|
2019-11-11 23:19:39 +01:00
|
|
|
call_if_ge Route131_EventScript_CheckSetAlternatingWeather
|
|
|
|
call Route131_EventScript_SetLayout
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-11 23:19:39 +01:00
|
|
|
Route131_EventScript_SetLayout:: @ 81F741B
|
2019-02-09 16:57:30 +01:00
|
|
|
setmaplayoutindex LAYOUT_ROUTE131_SKY_PILLAR
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-11-11 23:19:39 +01:00
|
|
|
Route131_EventScript_CheckSetAlternatingWeather:: @ 81F741F
|
2019-11-08 09:37:46 +01:00
|
|
|
call_if_set FLAG_SYS_WEATHER_CTRL, Common_EventScript_SetAlternatingWeather
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
2019-11-11 23:19:39 +01:00
|
|
|
Route131_EventScript_Richard:: @ 81F7429
|
|
|
|
trainerbattle_single TRAINER_RICHARD, Route131_Text_RichardIntro, Route131_Text_RichardDefeat
|
|
|
|
msgbox Route131_Text_RichardPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-11 23:19:39 +01:00
|
|
|
Route131_EventScript_Herman:: @ 81F7440
|
|
|
|
trainerbattle_single TRAINER_HERMAN, Route131_Text_HermanIntro, Route131_Text_HermanDefeat
|
|
|
|
msgbox Route131_Text_HermanPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-11 23:19:39 +01:00
|
|
|
Route131_EventScript_Susie:: @ 81F7457
|
|
|
|
trainerbattle_single TRAINER_SUSIE, Route131_Text_SusieIntro, Route131_Text_SusieDefeat
|
|
|
|
msgbox Route131_Text_SusiePostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-11 23:19:39 +01:00
|
|
|
Route131_EventScript_Kara:: @ 81F746E
|
|
|
|
trainerbattle_single TRAINER_KARA, Route131_Text_KaraIntro, Route131_Text_KaraDefeat
|
|
|
|
msgbox Route131_Text_KaraPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-11 23:19:39 +01:00
|
|
|
Route131_EventScript_Reli:: @ 81F7485
|
|
|
|
trainerbattle_double TRAINER_RELI_AND_IAN, Route131_Text_ReliIntro, Route131_Text_ReliDefeat, Route131_Text_ReliNotEnoughMons
|
|
|
|
msgbox Route131_Text_ReliPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-11 23:19:39 +01:00
|
|
|
Route131_EventScript_Ian:: @ 81F74A0
|
|
|
|
trainerbattle_double TRAINER_RELI_AND_IAN, Route131_Text_IanIntro, Route131_Text_IanDefeat, Route131_Text_IanNotEnoughMons
|
|
|
|
msgbox Route131_Text_IanPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-11 23:19:39 +01:00
|
|
|
Route131_EventScript_Talia:: @ 81F74BB
|
|
|
|
trainerbattle_single TRAINER_TALIA, Route131_Text_TaliaIntro, Route131_Text_TaliaDefeat
|
|
|
|
msgbox Route131_Text_TaliaPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-11-11 23:19:39 +01:00
|
|
|
Route131_EventScript_Kevin:: @ 81F74D2
|
|
|
|
trainerbattle_single TRAINER_KEVIN, Route131_Text_KevinIntro, Route131_Text_KevinDefeat
|
|
|
|
msgbox Route131_Text_KevinPostBattle, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|