Document other cable car station

This commit is contained in:
GriffinR 2019-11-06 14:21:17 -05:00 committed by huderlem
parent fbc3eee1f2
commit 1475c4d8da
2 changed files with 26 additions and 26 deletions

View File

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

View File

@ -1,26 +1,26 @@
MtChimney_CableCarStation_MapScripts:: @ 822ABFA
map_script MAP_SCRIPT_ON_TRANSITION, MtChimney_CableCarStation_OnTransition
map_script MAP_SCRIPT_ON_FRAME_TABLE, MtChimney_CableCarStation_MapScript2_22AC1D
map_script MAP_SCRIPT_ON_FRAME_TABLE, MtChimney_CableCarStation_OnFrame
.byte 0
MtChimney_CableCarStation_OnTransition: @ 822AC05
compare VAR_CABLE_CAR_STATION_STATE, 1
call_if_eq MtChimney_CableCarStation_EventScript_22AC11
call_if_eq MtChimney_CableCarStation_EventScript_MoveAttendantAside
end
MtChimney_CableCarStation_EventScript_22AC11:: @ 822AC11
MtChimney_CableCarStation_EventScript_MoveAttendantAside:: @ 822AC11
setobjectxyperm 1, 5, 4
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_RIGHT
return
MtChimney_CableCarStation_MapScript2_22AC1D: @ 822AC1D
map_script_2 VAR_CABLE_CAR_STATION_STATE, 1, MtChimney_CableCarStation_EventScript_22AC27
MtChimney_CableCarStation_OnFrame: @ 822AC1D
map_script_2 VAR_CABLE_CAR_STATION_STATE, 1, MtChimney_CableCarStation_EventScript_ExitCableCar
.2byte 0
MtChimney_CableCarStation_EventScript_22AC27:: @ 822AC27
MtChimney_CableCarStation_EventScript_ExitCableCar:: @ 822AC27
lockall
applymovement EVENT_OBJ_ID_PLAYER, MtChimney_CableCarStation_Movement_22ACB4
applymovement 1, MtChimney_CableCarStation_Movement_22ACAA
applymovement EVENT_OBJ_ID_PLAYER, MtChimney_CableCarStation_Movement_ExitCableCar
applymovement 1, MtChimney_CableCarStation_Movement_FollowPlayerOutFromCableCar
waitmovement 0
setvar VAR_CABLE_CAR_STATION_STATE, 0
setobjectxyperm 1, 6, 7
@ -28,21 +28,21 @@ MtChimney_CableCarStation_EventScript_22AC27:: @ 822AC27
releaseall
end
MtChimney_CableCarStation_EventScript_22AC4B:: @ 822AC4B
MtChimney_CableCarStation_EventScript_Attendant:: @ 822AC4B
lock
faceplayer
msgbox MtChimney_CableCarStation_Text_22ACB9, MSGBOX_YESNO
msgbox MtChimney_CableCarStation_Text_CableCarReadyGetOn, MSGBOX_YESNO
compare VAR_RESULT, YES
goto_if_eq MtChimney_CableCarStation_EventScript_22AC6C
goto_if_eq MtChimney_CableCarStation_EventScript_RideCableCar
compare VAR_RESULT, NO
goto_if_eq MtChimney_CableCarStation_EventScript_22AC9B
goto_if_eq MtChimney_CableCarStation_EventScript_DeclineRide
end
MtChimney_CableCarStation_EventScript_22AC6C:: @ 822AC6C
msgbox MtChimney_CableCarStation_Text_22ACF8, MSGBOX_DEFAULT
MtChimney_CableCarStation_EventScript_RideCableCar:: @ 822AC6C
msgbox MtChimney_CableCarStation_Text_StepThisWay, MSGBOX_DEFAULT
closemessage
applymovement 1, MtChimney_CableCarStation_Movement_22ACA5
applymovement EVENT_OBJ_ID_PLAYER, MtChimney_CableCarStation_Movement_22ACAF
applymovement 1, MtChimney_CableCarStation_Movement_LeadPlayerToCableCar
applymovement EVENT_OBJ_ID_PLAYER, MtChimney_CableCarStation_Movement_BoardCableCar
waitmovement 0
setvar VAR_0x8004, 1
setvar VAR_CABLE_CAR_STATION_STATE, 2
@ -53,46 +53,46 @@ MtChimney_CableCarStation_EventScript_22AC6C:: @ 822AC6C
release
end
MtChimney_CableCarStation_EventScript_22AC9B:: @ 822AC9B
msgbox MtChimney_CableCarStation_Text_22AD0E, MSGBOX_DEFAULT
MtChimney_CableCarStation_EventScript_DeclineRide:: @ 822AC9B
msgbox MtChimney_CableCarStation_Text_RideAnotherTime, MSGBOX_DEFAULT
release
end
MtChimney_CableCarStation_Movement_22ACA5: @ 822ACA5
MtChimney_CableCarStation_Movement_LeadPlayerToCableCar: @ 822ACA5
walk_up
walk_up
walk_left
walk_in_place_fastest_right
step_end
MtChimney_CableCarStation_Movement_22ACAA: @ 822ACAA
MtChimney_CableCarStation_Movement_FollowPlayerOutFromCableCar: @ 822ACAA
delay_16
walk_right
walk_down
walk_down
step_end
MtChimney_CableCarStation_Movement_22ACAF: @ 822ACAF
MtChimney_CableCarStation_Movement_BoardCableCar: @ 822ACAF
walk_up
walk_up
walk_up
delay_16
step_end
MtChimney_CableCarStation_Movement_22ACB4: @ 822ACB4
MtChimney_CableCarStation_Movement_ExitCableCar: @ 822ACB4
walk_down
walk_down
walk_down
delay_16
step_end
MtChimney_CableCarStation_Text_22ACB9: @ 822ACB9
MtChimney_CableCarStation_Text_CableCarReadyGetOn: @ 822ACB9
.string "The CABLE CAR is ready to go down.\n"
.string "Would you like to be on it?$"
MtChimney_CableCarStation_Text_22ACF8: @ 822ACF8
MtChimney_CableCarStation_Text_StepThisWay: @ 822ACF8
.string "Please step this way.$"
MtChimney_CableCarStation_Text_22AD0E: @ 822AD0E
MtChimney_CableCarStation_Text_RideAnotherTime: @ 822AD0E
.string "Please ride with us another time.$"