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
+8 -8
View File
@@ -45,7 +45,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route127_EventScript_1F6A35",
"script": "Route127_EventScript_Camden",
"flag": "0"
},
{
@@ -58,7 +58,7 @@
"movement_range_y": 0,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "4",
"script": "Route127_EventScript_1F6A4C",
"script": "Route127_EventScript_Donny",
"flag": "0"
},
{
@@ -97,7 +97,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route127_EventScript_1F6A63",
"script": "Route127_EventScript_Jonah",
"flag": "0"
},
{
@@ -110,7 +110,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route127_EventScript_1F6A91",
"script": "Route127_EventScript_Roger",
"flag": "0"
},
{
@@ -123,7 +123,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route127_EventScript_1F6A7A",
"script": "Route127_EventScript_Henry",
"flag": "0"
},
{
@@ -136,7 +136,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route127_EventScript_1F6AA8",
"script": "Route127_EventScript_Aidan",
"flag": "0"
},
{
@@ -149,7 +149,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "3",
"script": "Route127_EventScript_1F6AD6",
"script": "Route127_EventScript_Koji",
"flag": "0"
},
{
@@ -162,7 +162,7 @@
"movement_range_y": 1,
"trainer_type": "1",
"trainer_sight_or_berry_tree_id": "2",
"script": "Route127_EventScript_1F6ABF",
"script": "Route127_EventScript_Athena",
"flag": "0"
},
{
+35 -35
View File
@@ -1,7 +1,7 @@
Route127_MapScripts:: @ 81F69D9
map_script MAP_SCRIPT_ON_TRANSITION, Route127_OnTransition
map_script MAP_SCRIPT_ON_LOAD, Route127_MapScript1_1F6A14
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route127_MapScript2_1F6A2B
map_script MAP_SCRIPT_ON_LOAD, Route127_OnLoad
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route127_OnFrame
.byte 0
Route127_OnTransition: @ 81F69E9
@@ -14,71 +14,71 @@ Route127_OnTransition: @ 81F69E9
call_if_eq UnusualWeather_StartKyogreWeather
end
Route127_MapScript1_1F6A14: @ 81F6A14
Route127_OnLoad: @ 81F6A14
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_127_NORTH
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute127North
compare VAR_UNUSUAL_WEATHER_LOCATION, UNUSUAL_WEATHER_ROUTE_127_SOUTH
call_if_eq UnusualWeather_EventScript_PlaceTilesRoute127South
end
Route127_MapScript2_1F6A2B: @ 81F6A2B
Route127_OnFrame: @ 81F6A2B
map_script_2 VAR_SHOULD_END_UNUSUAL_WEATHER, 1, UnusualWeather_EventScript_EndEventAndCleanup_1
.2byte 0
Route127_EventScript_1F6A35:: @ 81F6A35
trainerbattle_single TRAINER_CAMDEN, Route127_Text_2A225F, Route127_Text_2A2294
msgbox Route127_Text_2A22A1, MSGBOX_AUTOCLOSE
Route127_EventScript_Camden:: @ 81F6A35
trainerbattle_single TRAINER_CAMDEN, Route127_Text_CamdenIntro, Route127_Text_CamdenDefeat
msgbox Route127_Text_CamdenPostBattle, MSGBOX_AUTOCLOSE
end
Route127_EventScript_1F6A4C:: @ 81F6A4C
trainerbattle_single TRAINER_DONNY, Route127_Text_2A22DD, Route127_Text_2A2315
msgbox Route127_Text_2A232C, MSGBOX_AUTOCLOSE
Route127_EventScript_Donny:: @ 81F6A4C
trainerbattle_single TRAINER_DONNY, Route127_Text_DonnyIntro, Route127_Text_DonnyDefeat
msgbox Route127_Text_DonnyPostBattle, MSGBOX_AUTOCLOSE
end
Route127_EventScript_1F6A63:: @ 81F6A63
trainerbattle_single TRAINER_JONAH, Route127_Text_2A2381, Route127_Text_2A23E1
msgbox Route127_Text_2A240C, MSGBOX_AUTOCLOSE
Route127_EventScript_Jonah:: @ 81F6A63
trainerbattle_single TRAINER_JONAH, Route127_Text_JonahIntro, Route127_Text_JonahDefeat
msgbox Route127_Text_JonahPostBattle, MSGBOX_AUTOCLOSE
end
Route127_EventScript_1F6A7A:: @ 81F6A7A
trainerbattle_single TRAINER_HENRY, Route127_Text_2A2450, Route127_Text_2A2483
msgbox Route127_Text_2A2494, MSGBOX_AUTOCLOSE
Route127_EventScript_Henry:: @ 81F6A7A
trainerbattle_single TRAINER_HENRY, Route127_Text_HenryIntro, Route127_Text_HenryDefeat
msgbox Route127_Text_HenryPostBattle, MSGBOX_AUTOCLOSE
end
Route127_EventScript_1F6A91:: @ 81F6A91
trainerbattle_single TRAINER_ROGER, Route127_Text_2A24C6, Route127_Text_2A250B
msgbox Route127_Text_2A2538, MSGBOX_AUTOCLOSE
Route127_EventScript_Roger:: @ 81F6A91
trainerbattle_single TRAINER_ROGER, Route127_Text_RogerIntro, Route127_Text_RogerDefeat
msgbox Route127_Text_RogerPostBattle, MSGBOX_AUTOCLOSE
end
Route127_EventScript_1F6AA8:: @ 81F6AA8
trainerbattle_single TRAINER_AIDAN, Route127_Text_2A257A, Route127_Text_2A25C1
msgbox Route127_Text_2A25D2, MSGBOX_AUTOCLOSE
Route127_EventScript_Aidan:: @ 81F6AA8
trainerbattle_single TRAINER_AIDAN, Route127_Text_AidanIntro, Route127_Text_AidanDefeat
msgbox Route127_Text_AidanPostBattle, MSGBOX_AUTOCLOSE
end
Route127_EventScript_1F6ABF:: @ 81F6ABF
trainerbattle_single TRAINER_ATHENA, Route127_Text_2A27D0, Route127_Text_2A27FC
msgbox Route127_Text_2A2832, MSGBOX_AUTOCLOSE
Route127_EventScript_Athena:: @ 81F6ABF
trainerbattle_single TRAINER_ATHENA, Route127_Text_AthenaIntro, Route127_Text_AthenaDefeat
msgbox Route127_Text_AthenaPostBattle, MSGBOX_AUTOCLOSE
end
Route127_EventScript_1F6AD6:: @ 81F6AD6
trainerbattle_single TRAINER_KOJI_1, Route127_Text_2A264D, Route127_Text_2A2685, Route127_EventScript_1F6B02
Route127_EventScript_Koji:: @ 81F6AD6
trainerbattle_single TRAINER_KOJI_1, Route127_Text_KojiIntro, Route127_Text_KojiDefeat, Route127_EventScript_RegisterKoji
specialvar VAR_RESULT, ShouldTryRematchBattle
compare VAR_RESULT, 1
goto_if_eq Route127_EventScript_1F6B21
msgbox Route127_Text_2A26AC, MSGBOX_DEFAULT
compare VAR_RESULT, TRUE
goto_if_eq Route127_EventScript_RematchKoji
msgbox Route127_Text_KojiPostBattle, MSGBOX_DEFAULT
release
end
Route127_EventScript_1F6B02:: @ 81F6B02
Route127_EventScript_RegisterKoji:: @ 81F6B02
special PlayerFaceTrainerAfterBattle
waitmovement 0
msgbox Route127_Text_2A26EE, MSGBOX_DEFAULT
msgbox Route127_Text_KojiRegister, MSGBOX_DEFAULT
register_matchcall TRAINER_KOJI_1
release
end
Route127_EventScript_1F6B21:: @ 81F6B21
trainerbattle_rematch TRAINER_KOJI_1, Route127_Text_2A2734, Route127_Text_2A276B
msgbox Route127_Text_2A278E, MSGBOX_AUTOCLOSE
Route127_EventScript_RematchKoji:: @ 81F6B21
trainerbattle_rematch TRAINER_KOJI_1, Route127_Text_KojiRematchIntro, Route127_Text_KojiRematchDefeat
msgbox Route127_Text_KojiPostRematch, MSGBOX_AUTOCLOSE
end