2017-11-10 02:21:31 +01:00
|
|
|
Route115_MapScripts:: @ 81F2920
|
2019-02-22 08:28:32 +01:00
|
|
|
map_script MAP_SCRIPT_ON_LOAD, Route115_MapScript1_1F2930
|
2019-04-22 22:31:51 +02:00
|
|
|
map_script MAP_SCRIPT_ON_TRANSITION, Route115_OnTransition
|
2019-02-22 08:28:32 +01:00
|
|
|
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route115_MapScript2_1F2969
|
2017-11-10 02:21:31 +01:00
|
|
|
.byte 0
|
|
|
|
|
|
|
|
Route115_MapScript1_1F2930: @ 81F2930
|
2019-02-27 09:42:04 +01:00
|
|
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_115_WEST
|
2019-02-27 10:27:54 +01:00
|
|
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute115West
|
2019-02-27 09:42:04 +01:00
|
|
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_115_EAST
|
2019-02-27 10:27:54 +01:00
|
|
|
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute115East
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
2019-04-22 22:31:51 +02:00
|
|
|
Route115_OnTransition: @ 81F2947
|
2019-02-27 20:42:32 +01:00
|
|
|
compare VAR_SHOULD_END_UNUSUAL_WEATHER, 1
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq Route115_EventScript_273D13
|
2019-02-27 09:42:04 +01:00
|
|
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_115_WEST
|
2019-02-27 10:27:54 +01:00
|
|
|
call_if_eq UnusualWeather_StartGroudonWeather
|
2019-02-27 09:42:04 +01:00
|
|
|
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_115_EAST
|
2019-02-27 10:27:54 +01:00
|
|
|
call_if_eq UnusualWeather_StartGroudonWeather
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route115_MapScript2_1F2969: @ 81F2969
|
2019-02-27 20:42:32 +01:00
|
|
|
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
|
|
|
Route115_EventScript_1F2973:: @ 81F2973
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_1F2B55, MSGBOX_NPC
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F297C:: @ 81F297C
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_1F2BC9, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F2985:: @ 81F2985
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_1F2BE3, MSGBOX_SIGN
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F298E:: @ 81F298E
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_TIMOTHY_1, Route115_Text_29B1FA, Route115_Text_29B230, Route115_EventScript_1F29BA
|
2017-12-01 21:25:13 +01:00
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq Route115_EventScript_1F29D9
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_29B258, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F29BA:: @ 81F29BA
|
|
|
|
special sub_80B4808
|
|
|
|
waitmovement 0
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_29B2B3, MSGBOX_DEFAULT
|
2018-12-02 12:04:59 +01:00
|
|
|
register_matchcall TRAINER_TIMOTHY_1
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F29D9:: @ 81F29D9
|
2018-12-02 13:17:54 +01:00
|
|
|
trainerbattle_rematch TRAINER_TIMOTHY_1, Route115_Text_29B32C, Route115_Text_29B372
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_29B385, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F29F0:: @ 81F29F0
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_KOICHI, Route115_Text_29B3CC, Route115_Text_29B3ED
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_29B3FF, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F2A07:: @ 81F2A07
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_NOB_1, Route115_Text_29B449, Route115_Text_29B480, Route115_EventScript_1F2A33
|
2017-12-01 21:25:13 +01:00
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq Route115_EventScript_1F2A52
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_29B49D, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F2A33:: @ 81F2A33
|
|
|
|
special sub_80B4808
|
|
|
|
waitmovement 0
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_29B50B, MSGBOX_DEFAULT
|
2018-12-02 12:04:59 +01:00
|
|
|
register_matchcall TRAINER_NOB_1
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F2A52:: @ 81F2A52
|
2018-12-02 13:17:54 +01:00
|
|
|
trainerbattle_rematch TRAINER_NOB_1, Route115_Text_29B547, Route115_Text_29B59D
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_29B5B5, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F2A69:: @ 81F2A69
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_CYNDY_1, Route115_Text_29B5EF, Route115_Text_29B62D, Route115_EventScript_1F2A95
|
2017-12-01 21:25:13 +01:00
|
|
|
specialvar VAR_RESULT, ShouldTryRematchBattle
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq Route115_EventScript_1F2AB4
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_29B647, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F2A95:: @ 81F2A95
|
|
|
|
special sub_80B4808
|
|
|
|
waitmovement 0
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_29B6AB, MSGBOX_DEFAULT
|
2018-12-02 12:04:59 +01:00
|
|
|
register_matchcall TRAINER_CYNDY_1
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F2AB4:: @ 81F2AB4
|
2018-12-02 13:17:54 +01:00
|
|
|
trainerbattle_rematch TRAINER_CYNDY_1, Route115_Text_29B6FA, Route115_Text_29B71A
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_29B737, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F2ACB:: @ 81F2ACB
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_HECTOR, Route115_Text_29B78F, Route115_Text_29B7C5
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_29B7EA, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F2AE2:: @ 81F2AE2
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_KYRA, Route115_Text_29B826, Route115_Text_29B85D
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_29B869, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F2AF9:: @ 81F2AF9
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_JAIDEN, Route115_Text_29B8C1, Route115_Text_29B8E8
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_29B904, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F2B10:: @ 81F2B10
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_ALIX, Route115_Text_29B9CB, Route115_Text_29B9F6
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_29BA04, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F2B27:: @ 81F2B27
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_HELENE, Route115_Text_29B92D, Route115_Text_29B958
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_29B971, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route115_EventScript_1F2B3E:: @ 81F2B3E
|
2018-12-02 19:54:48 +01:00
|
|
|
trainerbattle_single TRAINER_MARLENE, Route115_Text_29BA2C, Route115_Text_29BA67
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route115_Text_29BA87, MSGBOX_AUTOCLOSE
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route115_Text_1F2B55: @ 81F2B55
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "Exploring a cave isn't like walking\n"
|
2017-11-10 02:21:31 +01:00
|
|
|
.string "on a road.\p"
|
|
|
|
.string "You never know when wild POKéMON will\n"
|
2018-12-07 16:41:08 +01:00
|
|
|
.string "appear. It's full of suspense.$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
|
|
|
Route115_Text_1F2BC9: @ 81F2BC9
|
|
|
|
.string "ROUTE 115\n"
|
2018-07-25 06:18:23 +02:00
|
|
|
.string "{DOWN_ARROW} RUSTBORO CITY$"
|
2017-11-10 02:21:31 +01:00
|
|
|
|
|
|
|
Route115_Text_1F2BE3: @ 81F2BE3
|
|
|
|
.string "METEOR FALLS\n"
|
|
|
|
.string "FALLARBOR TOWN THROUGH HERE$"
|
|
|
|
|