Document cycling, cable car, and tunneler route houses

This commit is contained in:
GriffinR 2019-11-06 12:49:14 -05:00 committed by huderlem
parent d0198088d9
commit 7d5d12877e
8 changed files with 75 additions and 75 deletions

View File

@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_SeasideCyclingRoadNorthEntrance_EventScript_26EA78",
"script": "Route110_SeasideCyclingRoadNorthEntrance_EventScript_Clerk",
"flag": "0"
}
],
@ -66,7 +66,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "Route110_SeasideCyclingRoadNorthEntrance_EventScript_26EA84"
"script": "Route110_SeasideCyclingRoadNorthEntrance_EventScript_BikeCheck"
},
{
"type": "trigger",
@ -75,7 +75,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": "1",
"script": "Route110_SeasideCyclingRoadNorthEntrance_EventScript_26EAB6"
"script": "Route110_SeasideCyclingRoadNorthEntrance_EventScript_ClearCyclingRoad"
}
],
"bg_events": []

View File

@ -1,49 +1,49 @@
Route110_SeasideCyclingRoadNorthEntrance_MapScripts:: @ 826EA77
.byte 0
Route110_SeasideCyclingRoadNorthEntrance_EventScript_26EA78:: @ 826EA78
Route110_SeasideCyclingRoadNorthEntrance_EventScript_Clerk:: @ 826EA78
lock
faceplayer
msgbox Route110_SeasideCyclingRoadNorthEntrance_Text_26EAC1, MSGBOX_DEFAULT
msgbox Route110_SeasideCyclingRoadNorthEntrance_Text_GoAllOutOnCyclingRoad, MSGBOX_DEFAULT
release
end
Route110_SeasideCyclingRoadNorthEntrance_EventScript_26EA84:: @ 826EA84
Route110_SeasideCyclingRoadNorthEntrance_EventScript_BikeCheck:: @ 826EA84
lockall
specialvar VAR_RESULT, GetPlayerAvatarBike
compare VAR_RESULT, 0
goto_if_eq Route110_SeasideCyclingRoadNorthEntrance_EventScript_26EA9F
goto_if_eq Route110_SeasideCyclingRoadNorthEntrance_EventScript_NoBike
setflag FLAG_SYS_CYCLING_ROAD
setvar VAR_TEMP_1, 1
releaseall
end
Route110_SeasideCyclingRoadNorthEntrance_EventScript_26EA9F:: @ 826EA9F
msgbox Route110_SeasideCyclingRoadNorthEntrance_Text_26EB48, MSGBOX_DEFAULT
Route110_SeasideCyclingRoadNorthEntrance_EventScript_NoBike:: @ 826EA9F
msgbox Route110_SeasideCyclingRoadNorthEntrance_Text_TooDangerousToWalk, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, Route110_SeasideCyclingRoadNorthEntrance_Movement_26EAB4
applymovement EVENT_OBJ_ID_PLAYER, Route110_SeasideCyclingRoadNorthEntrance_Movement_PushPlayerBackFromCounter
waitmovement 0
releaseall
end
Route110_SeasideCyclingRoadNorthEntrance_Movement_26EAB4: @ 826EAB4
Route110_SeasideCyclingRoadNorthEntrance_Movement_PushPlayerBackFromCounter: @ 826EAB4
walk_left
step_end
Route110_SeasideCyclingRoadNorthEntrance_EventScript_26EAB6:: @ 826EAB6
Route110_SeasideCyclingRoadNorthEntrance_EventScript_ClearCyclingRoad:: @ 826EAB6
lockall
clearflag FLAG_SYS_CYCLING_ROAD
setvar VAR_TEMP_1, 0
releaseall
end
Route110_SeasideCyclingRoadNorthEntrance_Text_26EAC1: @ 826EAC1
Route110_SeasideCyclingRoadNorthEntrance_Text_GoAllOutOnCyclingRoad: @ 826EAC1
.string "On CYCLING ROAD, you can go all out\n"
.string "and cycle as fast as you'd like.\p"
.string "It feels great to go that fast, but try\n"
.string "not to crash into anyone!$"
Route110_SeasideCyclingRoadNorthEntrance_Text_26EB48: @ 826EB48
Route110_SeasideCyclingRoadNorthEntrance_Text_TooDangerousToWalk: @ 826EB48
.string "Sorry, you can't walk on CYCLING\n"
.string "ROAD. It's too dangerous.\p"
.string "Please come back with a BIKE.$"

View File

@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route110_SeasideCyclingRoadSouthEntrance_EventScript_26EBC4",
"script": "Route110_SeasideCyclingRoadSouthEntrance_EventScript_Clerk",
"flag": "0"
}
],
@ -66,7 +66,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": "0",
"script": "Route110_SeasideCyclingRoadSouthEntrance_EventScript_26EBD0"
"script": "Route110_SeasideCyclingRoadSouthEntrance_EventScript_BikeCheck"
},
{
"type": "trigger",
@ -75,7 +75,7 @@
"elevation": 3,
"var": "VAR_TEMP_1",
"var_value": "1",
"script": "Route110_SeasideCyclingRoadSouthEntrance_EventScript_26EC13"
"script": "Route110_SeasideCyclingRoadSouthEntrance_EventScript_ClearCyclingRoad"
}
],
"bg_events": []

View File

@ -4,51 +4,51 @@ Route110_SeasideCyclingRoadSouthEntrance_MapScripts:: @ 826EBA1
Route110_SeasideCyclingRoadSouthEntrance_OnTransition: @ 826EBA7
compare VAR_CYCLING_CHALLENGE_STATE, 3
call_if_eq Route110_SeasideCyclingRoadSouthEntrance_EventScript_26EBBE
call_if_eq Route110_SeasideCyclingRoadSouthEntrance_EventScript_RestartChallenge
compare VAR_CYCLING_CHALLENGE_STATE, 2
call_if_eq Route110_SeasideCyclingRoadSouthEntrance_EventScript_26EBBE
call_if_eq Route110_SeasideCyclingRoadSouthEntrance_EventScript_RestartChallenge
end
Route110_SeasideCyclingRoadSouthEntrance_EventScript_26EBBE:: @ 826EBBE
Route110_SeasideCyclingRoadSouthEntrance_EventScript_RestartChallenge:: @ 826EBBE
setvar VAR_CYCLING_CHALLENGE_STATE, 1
return
Route110_SeasideCyclingRoadSouthEntrance_EventScript_26EBC4:: @ 826EBC4
Route110_SeasideCyclingRoadSouthEntrance_EventScript_Clerk:: @ 826EBC4
lock
faceplayer
msgbox Route110_SeasideCyclingRoadSouthEntrance_Text_26EC23, MSGBOX_DEFAULT
msgbox Route110_SeasideCyclingRoadSouthEntrance_Text_GoAllOutOnCyclingRoad, MSGBOX_DEFAULT
release
end
Route110_SeasideCyclingRoadSouthEntrance_EventScript_26EBD0:: @ 826EBD0
Route110_SeasideCyclingRoadSouthEntrance_EventScript_BikeCheck:: @ 826EBD0
lockall
specialvar VAR_RESULT, GetPlayerAvatarBike
compare VAR_RESULT, 2
call_if_eq Route110_SeasideCyclingRoadSouthEntrance_EventScript_26EBF6
call_if_eq Route110_SeasideCyclingRoadSouthEntrance_EventScript_OnMachBike
compare VAR_RESULT, 0
goto_if_eq Route110_SeasideCyclingRoadSouthEntrance_EventScript_26EBFC
goto_if_eq Route110_SeasideCyclingRoadSouthEntrance_EventScript_NoBike
setflag FLAG_SYS_CYCLING_ROAD
setvar VAR_TEMP_1, 1
releaseall
end
Route110_SeasideCyclingRoadSouthEntrance_EventScript_26EBF6:: @ 826EBF6
Route110_SeasideCyclingRoadSouthEntrance_EventScript_OnMachBike:: @ 826EBF6
setvar VAR_CYCLING_CHALLENGE_STATE, 1
return
Route110_SeasideCyclingRoadSouthEntrance_EventScript_26EBFC:: @ 826EBFC
msgbox Route110_SeasideCyclingRoadSouthEntrance_Text_26ECAA, MSGBOX_DEFAULT
Route110_SeasideCyclingRoadSouthEntrance_EventScript_NoBike:: @ 826EBFC
msgbox Route110_SeasideCyclingRoadSouthEntrance_Text_TooDangerousToWalk, MSGBOX_DEFAULT
closemessage
applymovement EVENT_OBJ_ID_PLAYER, Route110_SeasideCyclingRoadSouthEntrance_Movement_26EC11
applymovement EVENT_OBJ_ID_PLAYER, Route110_SeasideCyclingRoadSouthEntrance_Movement_PushPlayerBackFromCounter
waitmovement 0
releaseall
end
Route110_SeasideCyclingRoadSouthEntrance_Movement_26EC11: @ 826EC11
Route110_SeasideCyclingRoadSouthEntrance_Movement_PushPlayerBackFromCounter: @ 826EC11
walk_left
step_end
Route110_SeasideCyclingRoadSouthEntrance_EventScript_26EC13:: @ 826EC13
Route110_SeasideCyclingRoadSouthEntrance_EventScript_ClearCyclingRoad:: @ 826EC13
lockall
setvar VAR_CYCLING_CHALLENGE_STATE, 0
clearflag FLAG_SYS_CYCLING_ROAD
@ -56,13 +56,13 @@ Route110_SeasideCyclingRoadSouthEntrance_EventScript_26EC13:: @ 826EC13
releaseall
end
Route110_SeasideCyclingRoadSouthEntrance_Text_26EC23: @ 826EC23
Route110_SeasideCyclingRoadSouthEntrance_Text_GoAllOutOnCyclingRoad: @ 826EC23
.string "On CYCLING ROAD, you can go all out\n"
.string "and cycle as fast as you'd like.\p"
.string "It feels great to go that fast, but try\n"
.string "not to crash into anyone!$"
Route110_SeasideCyclingRoadSouthEntrance_Text_26ECAA: @ 826ECAA
Route110_SeasideCyclingRoadSouthEntrance_Text_TooDangerousToWalk: @ 826ECAA
.string "Sorry, you can't walk on CYCLING\n"
.string "ROAD. It's too dangerous.\p"
.string "Please come back with a BIKE.$"

View File

@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route112_CableCarStation_EventScript_22AB17",
"script": "Route112_CableCarStation_EventScript_Attendant",
"flag": "0"
},
{

View File

@ -1,27 +1,27 @@
Route112_CableCarStation_MapScripts:: @ 822AABE
map_script MAP_SCRIPT_ON_TRANSITION, Route112_CableCarStation_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route112_CableCarStation_MapScript2_22AAE9
map_script MAP_SCRIPT_ON_FRAME_TABLE, Route112_CableCarStation_OnFrame
.byte 0
Route112_CableCarStation_OnTransition: @ 822AAC9
setescapewarp MAP_ROUTE112, 255, 28, 28
compare VAR_CABLE_CAR_STATION_STATE, 2
call_if_eq Route112_CableCarStation_EventScript_22AADD
call_if_eq Route112_CableCarStation_EventScript_MoveAttendantAside
end
Route112_CableCarStation_EventScript_22AADD:: @ 822AADD
Route112_CableCarStation_EventScript_MoveAttendantAside:: @ 822AADD
setobjectxyperm 1, 7, 4
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_LEFT
return
Route112_CableCarStation_MapScript2_22AAE9: @ 822AAE9
map_script_2 VAR_CABLE_CAR_STATION_STATE, 2, Route112_CableCarStation_EventScript_22AAF3
Route112_CableCarStation_OnFrame: @ 822AAE9
map_script_2 VAR_CABLE_CAR_STATION_STATE, 2, Route112_CableCarStation_EventScript_ExitCableCar
.2byte 0
Route112_CableCarStation_EventScript_22AAF3:: @ 822AAF3
Route112_CableCarStation_EventScript_ExitCableCar:: @ 822AAF3
lockall
applymovement EVENT_OBJ_ID_PLAYER, Route112_CableCarStation_Movement_22AB80
applymovement 1, Route112_CableCarStation_Movement_22AB76
applymovement EVENT_OBJ_ID_PLAYER, Route112_CableCarStation_Movement_ExitCableCar
applymovement 1, Route112_CableCarStation_Movement_FollowPlayerOutFromCableCar
waitmovement 0
setvar VAR_CABLE_CAR_STATION_STATE, 0
setobjectxyperm 1, 6, 7
@ -29,21 +29,21 @@ Route112_CableCarStation_EventScript_22AAF3:: @ 822AAF3
releaseall
end
Route112_CableCarStation_EventScript_22AB17:: @ 822AB17
Route112_CableCarStation_EventScript_Attendant:: @ 822AB17
lock
faceplayer
msgbox Route112_CableCarStation_Text_22AB85, MSGBOX_YESNO
msgbox Route112_CableCarStation_Text_CableCarReadyGetOn, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq Route112_CableCarStation_EventScript_22AB38
goto_if_eq Route112_CableCarStation_EventScript_RideCableCar
compare VAR_RESULT, NO
goto_if_eq Route112_CableCarStation_EventScript_22AB67
goto_if_eq Route112_CableCarStation_EventScript_DeclineRide
end
Route112_CableCarStation_EventScript_22AB38:: @ 822AB38
msgbox Route112_CableCarStation_Text_22ABC2, MSGBOX_DEFAULT
Route112_CableCarStation_EventScript_RideCableCar:: @ 822AB38
msgbox Route112_CableCarStation_Text_StepThisWay, MSGBOX_DEFAULT
closemessage
applymovement 1, Route112_CableCarStation_Movement_22AB71
applymovement EVENT_OBJ_ID_PLAYER, Route112_CableCarStation_Movement_22AB7B
applymovement 1, Route112_CableCarStation_Movement_LeadPlayerToCableCar
applymovement EVENT_OBJ_ID_PLAYER, Route112_CableCarStation_Movement_BoardCableCar
waitmovement 0
setvar VAR_0x8004, 0
setvar VAR_CABLE_CAR_STATION_STATE, 1
@ -54,46 +54,46 @@ Route112_CableCarStation_EventScript_22AB38:: @ 822AB38
release
end
Route112_CableCarStation_EventScript_22AB67:: @ 822AB67
msgbox Route112_CableCarStation_Text_22ABD8, MSGBOX_DEFAULT
Route112_CableCarStation_EventScript_DeclineRide:: @ 822AB67
msgbox Route112_CableCarStation_Text_RideAnotherTime, MSGBOX_DEFAULT
release
end
Route112_CableCarStation_Movement_22AB71: @ 822AB71
Route112_CableCarStation_Movement_LeadPlayerToCableCar: @ 822AB71
walk_up
walk_up
walk_right
walk_in_place_fastest_left
step_end
Route112_CableCarStation_Movement_22AB76: @ 822AB76
Route112_CableCarStation_Movement_FollowPlayerOutFromCableCar: @ 822AB76
delay_16
walk_left
walk_down
walk_down
step_end
Route112_CableCarStation_Movement_22AB7B: @ 822AB7B
Route112_CableCarStation_Movement_BoardCableCar: @ 822AB7B
walk_up
walk_up
walk_up
delay_16
step_end
Route112_CableCarStation_Movement_22AB80: @ 822AB80
Route112_CableCarStation_Movement_ExitCableCar: @ 822AB80
walk_down
walk_down
walk_down
delay_16
step_end
Route112_CableCarStation_Text_22AB85: @ 822AB85
Route112_CableCarStation_Text_CableCarReadyGetOn: @ 822AB85
.string "The CABLE CAR is ready to go up.\n"
.string "Would you like to be on it?$"
Route112_CableCarStation_Text_22ABC2: @ 822ABC2
Route112_CableCarStation_Text_StepThisWay: @ 822ABC2
.string "Please step this way.$"
Route112_CableCarStation_Text_22ABD8: @ 822ABD8
Route112_CableCarStation_Text_RideAnotherTime: @ 822ABD8
.string "Please ride with us another time.$"

View File

@ -24,7 +24,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route116_TunnelersRestHouse_EventScript_22B85A",
"script": "Route116_TunnelersRestHouse_EventScript_Tunneler1",
"flag": "0"
},
{
@ -37,7 +37,7 @@
"movement_range_y": 1,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route116_TunnelersRestHouse_EventScript_22B86C",
"script": "Route116_TunnelersRestHouse_EventScript_Tunneler3",
"flag": "0"
},
{
@ -50,7 +50,7 @@
"movement_range_y": 0,
"trainer_type": "0",
"trainer_sight_or_berry_tree_id": "0",
"script": "Route116_TunnelersRestHouse_EventScript_22B863",
"script": "Route116_TunnelersRestHouse_EventScript_Tunneler2",
"flag": "0"
}
],

View File

@ -6,28 +6,28 @@ Route116_TunnelersRestHouse_OnTransition: @ 822B856
setflag FLAG_LANDMARK_TUNNELERS_REST_HOUSE
end
Route116_TunnelersRestHouse_EventScript_22B85A:: @ 822B85A
msgbox Route116_TunnelersRestHouse_Text_22B88B, MSGBOX_NPC
Route116_TunnelersRestHouse_EventScript_Tunneler1:: @ 822B85A
msgbox Route116_TunnelersRestHouse_Text_WeHadToStopBoring, MSGBOX_NPC
end
Route116_TunnelersRestHouse_EventScript_22B863:: @ 822B863
msgbox Route116_TunnelersRestHouse_Text_22B99F, MSGBOX_NPC
Route116_TunnelersRestHouse_EventScript_Tunneler2:: @ 822B863
msgbox Route116_TunnelersRestHouse_Text_ManDiggingHisWayToVerdanturf, MSGBOX_NPC
end
Route116_TunnelersRestHouse_EventScript_22B86C:: @ 822B86C
Route116_TunnelersRestHouse_EventScript_Tunneler3:: @ 822B86C
lock
faceplayer
goto_if_set FLAG_RUSTURF_TUNNEL_OPENED, Route116_TunnelersRestHouse_EventScript_22B881
msgbox Route116_TunnelersRestHouse_Text_22BAAF, MSGBOX_DEFAULT
goto_if_set FLAG_RUSTURF_TUNNEL_OPENED, Route116_TunnelersRestHouse_EventScript_TunnelOpened
msgbox Route116_TunnelersRestHouse_Text_GetToVerdanturfWithoutTunnel, MSGBOX_DEFAULT
release
end
Route116_TunnelersRestHouse_EventScript_22B881:: @ 822B881
msgbox Route116_TunnelersRestHouse_Text_22BB3B, MSGBOX_DEFAULT
Route116_TunnelersRestHouse_EventScript_TunnelOpened:: @ 822B881
msgbox Route116_TunnelersRestHouse_Text_TunnelHasGoneThrough, MSGBOX_DEFAULT
release
end
Route116_TunnelersRestHouse_Text_22B88B: @ 822B88B
Route116_TunnelersRestHouse_Text_WeHadToStopBoring: @ 822B88B
.string "That RUSTURF TUNNEL there…\p"
.string "At first, we had a huge work crew boring\n"
.string "through rock with the latest machinery.\l"
@ -38,7 +38,7 @@ Route116_TunnelersRestHouse_Text_22B88B: @ 822B88B
.string "So, we've got nothing to do but loll\n"
.string "around here doing nothing.$"
Route116_TunnelersRestHouse_Text_22B99F: @ 822B99F
Route116_TunnelersRestHouse_Text_ManDiggingHisWayToVerdanturf: @ 822B99F
.string "There's a man digging his way to\n"
.string "VERDANTURF all by his lonesome.\l"
.string "He's desperate to get through.\p"
@ -48,13 +48,13 @@ Route116_TunnelersRestHouse_Text_22B99F: @ 822B99F
.string "harming the natural environment.\p"
.string "I wonder if he made it through yet.$"
Route116_TunnelersRestHouse_Text_22BAAF: @ 822BAAF
Route116_TunnelersRestHouse_Text_GetToVerdanturfWithoutTunnel: @ 822BAAF
.string "To get to VERDANTURF without using\n"
.string "this TUNNEL, you'd have to cross the\l"
.string "sea to DEWFORD, sail on to SLATEPORT,\l"
.string "then travel through MAUVILLE.$"
Route116_TunnelersRestHouse_Text_22BB3B: @ 822BB3B
Route116_TunnelersRestHouse_Text_TunnelHasGoneThrough: @ 822BB3B
.string "Did you hear? The TUNNEL to VERDANTURF\n"
.string "has gone through!\p"
.string "Sometimes, if you hope strongly enough,\n"