Document ocean routes

This commit is contained in:
GriffinR
2019-11-11 17:19:39 -05:00
committed by huderlem
parent ef8370566f
commit 0ba591d26f
23 changed files with 733 additions and 731 deletions
+9 -9
View File
@@ -40,7 +40,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route125_EventScript_1F67A4",
"script": "Route125_EventScript_Nolen",
"flag": "0"
},
{
@@ -53,7 +53,7 @@
"movement_range_y": 5,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route125_EventScript_1F67BB",
"script": "Route125_EventScript_Stan",
"flag": "0"
},
{
@@ -66,7 +66,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route125_EventScript_1F67D2",
"script": "Route125_EventScript_Tanya",
"flag": "0"
},
{
@@ -79,7 +79,7 @@
"movement_range_y": 9,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route125_EventScript_1F67E9",
"script": "Route125_EventScript_Sharon",
"flag": "0"
},
{
@@ -92,7 +92,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route125_EventScript_1F6800",
"script": "Route125_EventScript_Ernest",
"flag": "0"
},
{
@@ -105,7 +105,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route125_EventScript_1F6862",
"script": "Route125_EventScript_Kim",
"flag": "0"
},
{
@@ -118,7 +118,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "1",
"script": "Route125_EventScript_1F687D",
"script": "Route125_EventScript_Iris",
"flag": "0"
},
{
@@ -131,7 +131,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route125_EventScript_1F6898",
"script": "Route125_EventScript_Presley",
"flag": "0"
},
{
@@ -144,7 +144,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route125_EventScript_1F68AF",
"script": "Route125_EventScript_Auron",
"flag": "0"
},
{
+38 -38
View File
@@ -1,7 +1,7 @@
Route125_MapScripts:: @ 81F6748
map_script MAP_SCRIPT_ON_TRANSITION, Route125_OnTransition
map_script MAP_SCRIPT_ON_LOAD, Route125_MapScript1_1F6783
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route125_MapScript2_1F679A
map_script MAP_SCRIPT_ON_LOAD, Route125_OnLoad
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route125_OnFrame
.byte 0
Route125_OnTransition: @ 81F6758
@@ -14,76 +14,76 @@ Route125_OnTransition: @ 81F6758
call_if_eq UnusualWeather_StartKyogreWeather
end
Route125_MapScript1_1F6783: @ 81F6783
Route125_OnLoad: @ 81F6783
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_125_WEST
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute125West
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_125_EAST
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute125East
end
Route125_MapScript2_1F679A: @ 81F679A
Route125_OnFrame: @ 81F679A
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
.2byte 0
Route125_EventScript_1F67A4:: @ 81F67A4
trainerbattle_single TRAINER_NOLEN, Route125_Text_2A1527, Route125_Text_2A155A
msgbox Route125_Text_2A1567, MSGBOX_AUTOCLOSE
Route125_EventScript_Nolen:: @ 81F67A4
trainerbattle_single TRAINER_NOLEN, Route125_Text_NolenIntro, Route125_Text_NolenDefeat
msgbox Route125_Text_NolenPostBattle, MSGBOX_AUTOCLOSE
end
Route125_EventScript_1F67BB:: @ 81F67BB
trainerbattle_single TRAINER_STAN, Route125_Text_2A159F, Route125_Text_2A15C7
msgbox Route125_Text_2A15D5, MSGBOX_AUTOCLOSE
Route125_EventScript_Stan:: @ 81F67BB
trainerbattle_single TRAINER_STAN, Route125_Text_StanIntro, Route125_Text_StanDefeat
msgbox Route125_Text_StanPostBattle, MSGBOX_AUTOCLOSE
end
Route125_EventScript_1F67D2:: @ 81F67D2
trainerbattle_single TRAINER_TANYA, Route125_Text_2A1615, Route125_Text_2A164D
msgbox Route125_Text_2A165E, MSGBOX_AUTOCLOSE
Route125_EventScript_Tanya:: @ 81F67D2
trainerbattle_single TRAINER_TANYA, Route125_Text_TanyaIntro, Route125_Text_TanyaDefeat
msgbox Route125_Text_TanyaPostBattle, MSGBOX_AUTOCLOSE
end
Route125_EventScript_1F67E9:: @ 81F67E9
trainerbattle_single TRAINER_SHARON, Route125_Text_2A1686, Route125_Text_2A16C5
msgbox Route125_Text_2A16CE, MSGBOX_AUTOCLOSE
Route125_EventScript_Sharon:: @ 81F67E9
trainerbattle_single TRAINER_SHARON, Route125_Text_SharonIntro, Route125_Text_SharonDefeat
msgbox Route125_Text_SharonPostBattle, MSGBOX_AUTOCLOSE
end
Route125_EventScript_1F6800:: @ 81F6800
trainerbattle_single TRAINER_ERNEST_1, Route125_Text_2A16FC, Route125_Text_2A173A, Route125_EventScript_1F682C
Route125_EventScript_Ernest:: @ 81F6800
trainerbattle_single TRAINER_ERNEST_1, Route125_Text_ErnestIntro, Route125_Text_ErnestDefeat, Route125_EventScript_RegisterErnest
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route125_EventScript_1F684B
msgbox Route125_Text_2A1755, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq Route125_EventScript_RematchErnest
msgbox Route125_Text_ErnestPostBattle, MSGBOX_DEFAULT
release
end
Route125_EventScript_1F682C:: @ 81F682C
Route125_EventScript_RegisterErnest:: @ 81F682C
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route125_Text_2A17CF, MSGBOX_DEFAULT
msgbox Route125_Text_ErnestRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_ERNEST_1
release
end
Route125_EventScript_1F684B:: @ 81F684B
trainerbattle_rematch TRAINER_ERNEST_1, Route125_Text_2A180E, Route125_Text_2A1851
msgbox Route125_Text_2A187A, MSGBOX_AUTOCLOSE
Route125_EventScript_RematchErnest:: @ 81F684B
trainerbattle_rematch TRAINER_ERNEST_1, Route125_Text_ErnestRematchIntro, Route125_Text_ErnestRematchDefeat
msgbox Route125_Text_ErnestRematchPostBattle, MSGBOX_AUTOCLOSE
end
Route125_EventScript_1F6862:: @ 81F6862
trainerbattle_double TRAINER_KIM_AND_IRIS, Route125_Text_2A192B, Route125_Text_2A1989, Route125_Text_2A19F8
msgbox Route125_Text_2A19A6, MSGBOX_AUTOCLOSE
Route125_EventScript_Kim:: @ 81F6862
trainerbattle_double TRAINER_KIM_AND_IRIS, Route125_Text_KimIntro, Route125_Text_KimDefeat, Route125_Text_KimNotEnoughMons
msgbox Route125_Text_KimPostBattle, MSGBOX_AUTOCLOSE
end
Route125_EventScript_1F687D:: @ 81F687D
trainerbattle_double TRAINER_KIM_AND_IRIS, Route125_Text_2A1A35, Route125_Text_2A1A71, Route125_Text_2A1AD9
msgbox Route125_Text_2A1A92, MSGBOX_AUTOCLOSE
Route125_EventScript_Iris:: @ 81F687D
trainerbattle_double TRAINER_KIM_AND_IRIS, Route125_Text_IrisIntro, Route125_Text_IrisDefeat, Route125_Text_IrisNotEnoughMons
msgbox Route125_Text_IrisPostBattle, MSGBOX_AUTOCLOSE
end
Route125_EventScript_1F6898:: @ 81F6898
trainerbattle_single TRAINER_PRESLEY, Route125_Text_2A1B1A, Route125_Text_2A1B4E
msgbox Route125_Text_2A1B70, MSGBOX_AUTOCLOSE
Route125_EventScript_Presley:: @ 81F6898
trainerbattle_single TRAINER_PRESLEY, Route125_Text_PresleyIntro, Route125_Text_PresleyDefeat
msgbox Route125_Text_PresleyPostBattle, MSGBOX_AUTOCLOSE
end
Route125_EventScript_1F68AF:: @ 81F68AF
trainerbattle_single TRAINER_AURON, Route125_Text_2A1BCE, Route125_Text_2A1BFD
msgbox Route125_Text_2A1C2A, MSGBOX_AUTOCLOSE
Route125_EventScript_Auron:: @ 81F68AF
trainerbattle_single TRAINER_AURON, Route125_Text_AuronIntro, Route125_Text_AuronDefeat
msgbox Route125_Text_AuronPostBattle, MSGBOX_AUTOCLOSE
end