summaryrefslogtreecommitdiff
path: root/data/maps/Route105/scripts.inc
diff options
context:
space:
mode:
Diffstat (limited to 'data/maps/Route105/scripts.inc')
-rw-r--r--data/maps/Route105/scripts.inc96
1 files changed, 48 insertions, 48 deletions
diff --git a/data/maps/Route105/scripts.inc b/data/maps/Route105/scripts.inc
index c95511397..a42446e72 100644
--- a/data/maps/Route105/scripts.inc
+++ b/data/maps/Route105/scripts.inc
@@ -1,88 +1,88 @@
Route105_MapScripts:: @ 81EE1DB
- map_script MAP_SCRIPT_ON_LOAD, Route105_MapScript1_1EE1EB
+ map_script MAP_SCRIPT_ON_LOAD, Route105_OnLoad
map_script MAP_SCRIPT_ON_TRANSITION, Route105_OnTransition
- map_script MAP_SCRIPT_ON_FRAME_TABLE, Route105_MapScript2_1EE240
+ map_script MAP_SCRIPT_ON_FRAME_TABLE, Route105_OnFrame
.byte 0
-Route105_MapScript1_1EE1EB: @ 81EE1EB
- call_if_unset FLAG_REGI_DOORS_OPENED, Route105_EventScript_1EE20B
- compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_105_NORTH
- call_if_eq UnusualWeather_EventScript_PlaceTilesRoute105North
- compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_105_SOUTH
- call_if_eq UnusualWeather_EventScript_PlaceTilesRoute105South
+Route105_OnLoad: @ 81EE1EB
+ call_if_unset FLAG_REGI_DOORS_OPENED, Route105_CloseRegiEntrance
+ compare VAR_ABNORMAL_WEATHER_LOCATION, ABNORMAL_WEATHER_ROUTE_105_NORTH
+ call_if_eq AbnormalWeather_EventScript_PlaceTilesRoute105North
+ compare VAR_ABNORMAL_WEATHER_LOCATION, ABNORMAL_WEATHER_ROUTE_105_SOUTH
+ call_if_eq AbnormalWeather_EventScript_PlaceTilesRoute105South
end
-Route105_EventScript_1EE20B:: @ 81EE20B
+Route105_CloseRegiEntrance:: @ 81EE20B
setmetatile 9, 19, METATILE_General_RockWall_RockBase, 1
setmetatile 9, 20, METATILE_General_RockWall_SandBase, 1
return
Route105_OnTransition: @ 81EE21E
- compare VAR_SHOULD_END_UNUSUAL_WEATHER, 1
- call_if_eq Route105_EventScript_273D13
- compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_105_NORTH
- call_if_eq UnusualWeather_StartKyogreWeather
- compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_105_SOUTH
- call_if_eq UnusualWeather_StartKyogreWeather
+ compare VAR_SHOULD_END_ABNORMAL_WEATHER, 1
+ call_if_eq AbnormalWeather_EventScript_HideMapNamePopup
+ compare VAR_ABNORMAL_WEATHER_LOCATION, ABNORMAL_WEATHER_ROUTE_105_NORTH
+ call_if_eq AbnormalWeather_StartKyogreWeather
+ compare VAR_ABNORMAL_WEATHER_LOCATION, ABNORMAL_WEATHER_ROUTE_105_SOUTH
+ call_if_eq AbnormalWeather_StartKyogreWeather
end
-Route105_MapScript2_1EE240: @ 81EE240
- map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
+Route105_OnFrame: @ 81EE240
+ map_script_2 VAR_SHOULD_END_ABNORMAL_WEATHER, 1, AbnormalWeather_EventScript_EndEventAndCleanup_1
.2byte 0
-Route105_EventScript_1EE24A:: @ 81EE24A
- trainerbattle_single TRAINER_FOSTER, Route105_Text_295D0F, Route105_Text_295D62
- msgbox Route105_Text_295DAB, MSGBOX_AUTOCLOSE
+Route105_EventScript_Foster:: @ 81EE24A
+ trainerbattle_single TRAINER_FOSTER, Route105_Text_FosterIntro, Route105_Text_FosterDefeated
+ msgbox Route105_Text_FosterPostBattle, MSGBOX_AUTOCLOSE
end
-Route105_EventScript_1EE261:: @ 81EE261
- trainerbattle_single TRAINER_LUIS, Route105_Text_295DF5, Route105_Text_295E66
- msgbox Route105_Text_295E72, MSGBOX_AUTOCLOSE
+Route105_EventScript_Luis:: @ 81EE261
+ trainerbattle_single TRAINER_LUIS, Route105_Text_LuisIntro, Route105_Text_LuisDefeated
+ msgbox Route105_Text_LuisPostBattle, MSGBOX_AUTOCLOSE
end
-Route105_EventScript_1EE278:: @ 81EE278
- trainerbattle_single TRAINER_DOMINIK, Route105_Text_295EB7, Route105_Text_295EEA
- msgbox Route105_Text_295F08, MSGBOX_AUTOCLOSE
+Route105_EventScript_Dominik:: @ 81EE278
+ trainerbattle_single TRAINER_DOMINIK, Route105_Text_DominikIntro, Route105_Text_DominikDefeated
+ msgbox Route105_Text_DominikPostBattle, MSGBOX_AUTOCLOSE
end
-Route105_EventScript_1EE28F:: @ 81EE28F
- trainerbattle_single TRAINER_BEVERLY, Route105_Text_295F5C, Route105_Text_295FA0
- msgbox Route105_Text_295FAE, MSGBOX_AUTOCLOSE
+Route105_EventScript_Beverly:: @ 81EE28F
+ trainerbattle_single TRAINER_BEVERLY, Route105_Text_BeverlyIntro, Route105_Text_BeverlyDefeated
+ msgbox Route105_Text_PostBattle, MSGBOX_AUTOCLOSE
end
-Route105_EventScript_1EE2A6:: @ 81EE2A6
- trainerbattle_single TRAINER_IMANI, Route105_Text_296025, Route105_Text_296059
- msgbox Route105_Text_296076, MSGBOX_AUTOCLOSE
+Route105_EventScript_Imani:: @ 81EE2A6
+ trainerbattle_single TRAINER_IMANI, Route105_Text_ImaniIntro, Route105_Text_ImaniDefeated
+ msgbox Route105_Text_ImaniPostBattle, MSGBOX_AUTOCLOSE
end
-Route105_EventScript_1EE2BD:: @ 81EE2BD
- trainerbattle_single TRAINER_JOSUE, Route105_Text_29626F, Route105_Text_2962CB
- msgbox Route105_Text_2962EC, MSGBOX_AUTOCLOSE
+Route105_EventScript_Josue:: @ 81EE2BD
+ trainerbattle_single TRAINER_JOSUE, Route105_Text_JosueIntro, Route105_Text_JosueDefeated
+ msgbox Route105_Text_JosuePostBattle, MSGBOX_AUTOCLOSE
end
-Route105_EventScript_1EE2D4:: @ 81EE2D4
- trainerbattle_single TRAINER_ANDRES_1, Route105_Text_2960A9, Route105_Text_2960DB, Route105_EventScript_1EE300
+Route105_EventScript_Andres:: @ 81EE2D4
+ trainerbattle_single TRAINER_ANDRES_1, Route105_Text_AndresIntro, Route105_Text_AndresDefeated, Route105_EventScript_AndresRegisterMatchCallAfterBattle
specialvar VAR_RESULT, ShouldTryRematchBattle
- compare VAR_RESULT, 1
- goto_if_eq Route105_EventScript_1EE31F
- msgbox Route105_Text_2960FA, MSGBOX_DEFAULT
+ compare VAR_RESULT, TRUE
+ goto_if_eq Route105_EventScript_AndresRematch
+ msgbox Route105_Text_AndresPostBattle, MSGBOX_DEFAULT
release
end
-Route105_EventScript_1EE300:: @ 81EE300
- special sub_80B4808
+Route105_EventScript_AndresRegisterMatchCallAfterBattle:: @ 81EE300
+ special PlayerFaceTrainerAfterBattle
waitmovement 0
- msgbox Route105_Text_296159, MSGBOX_DEFAULT
+ msgbox Route105_Text_AndresRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ANDRES_1
release
end
-Route105_EventScript_1EE31F:: @ 81EE31F
- trainerbattle_rematch TRAINER_ANDRES_1, Route105_Text_29619E, Route105_Text_2961DD
- msgbox Route105_Text_2961FE, MSGBOX_AUTOCLOSE
+Route105_EventScript_AndresRematch:: @ 81EE31F
+ trainerbattle_rematch TRAINER_ANDRES_1, Route105_Text_AndresRematchIntro, Route105_Text_AndresRematchDefeated
+ msgbox Route105_Text_AndresRematchPostBattle, MSGBOX_AUTOCLOSE
end
-Route104_Text_1EE336: @ 81EE336
+Route104_Text_DadPokenavCall: @ 81EE336
.string "… … … … … …\n"
.string "… … … … … Beep!\p"
.string "DAD: Oh, {PLAYER}?\p"
@@ -98,6 +98,6 @@ Route104_Text_1EE336: @ 81EE336
.string "… … … … … …\n"
.string "… … … … … Click!$"
-Route104_Text_1EE463: @ 81EE463
+Route104_Text_RegisteredDadInPokenav: @ 81EE463
.string "Registered DAD NORMAN\n"
.string "in the POKéNAV.$"