2017-11-10 02:21:31 +01:00
|
|
|
Route112_CableCarStation_MapScripts:: @ 822AABE
|
|
|
|
map_script 3, Route112_CableCarStation_MapScript1_22AAC9
|
|
|
|
map_script 2, Route112_CableCarStation_MapScript2_22AAE9
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
Route112_CableCarStation_MapScript1_22AAC9: @ 822AAC9
|
2018-06-15 05:00:09 +02:00
|
|
|
setescapewarp MAP_ROUTE112, 255, 28, 28
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_0x40A3, 2
|
2018-12-22 03:32:45 +01:00
|
|
|
call_if_eq Route112_CableCarStation_EventScript_22AADD
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route112_CableCarStation_EventScript_22AADD:: @ 822AADD
|
|
|
|
setobjectxyperm 1, 7, 4
|
2019-01-20 17:11:45 +01:00
|
|
|
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_LEFT
|
2017-11-10 02:21:31 +01:00
|
|
|
return
|
|
|
|
|
|
|
|
Route112_CableCarStation_MapScript2_22AAE9: @ 822AAE9
|
|
|
|
map_script_2 VAR_0x40A3, 2, Route112_CableCarStation_EventScript_22AAF3
|
|
|
|
.2byte 0
|
|
|
|
|
|
|
|
Route112_CableCarStation_EventScript_22AAF3:: @ 822AAF3
|
|
|
|
lockall
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, Route112_CableCarStation_Movement_22AB80
|
2017-11-10 02:21:31 +01:00
|
|
|
applymovement 1, Route112_CableCarStation_Movement_22AB76
|
|
|
|
waitmovement 0
|
|
|
|
setvar VAR_0x40A3, 0
|
|
|
|
setobjectxyperm 1, 6, 7
|
2019-01-20 17:11:45 +01:00
|
|
|
setobjectmovementtype 1, MOVEMENT_TYPE_FACE_DOWN
|
2017-11-10 02:21:31 +01:00
|
|
|
releaseall
|
|
|
|
end
|
|
|
|
|
|
|
|
Route112_CableCarStation_EventScript_22AB17:: @ 822AB17
|
|
|
|
lock
|
|
|
|
faceplayer
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route112_CableCarStation_Text_22AB85, MSGBOX_YESNO
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 1
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq Route112_CableCarStation_EventScript_22AB38
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2018-12-22 02:28:24 +01:00
|
|
|
goto_if_eq Route112_CableCarStation_EventScript_22AB67
|
2017-11-10 02:21:31 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
Route112_CableCarStation_EventScript_22AB38:: @ 822AB38
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route112_CableCarStation_Text_22ABC2, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
closemessage
|
|
|
|
applymovement 1, Route112_CableCarStation_Movement_22AB71
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, Route112_CableCarStation_Movement_22AB7B
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
setvar VAR_0x8004, 0
|
|
|
|
setvar VAR_0x40A3, 1
|
|
|
|
incrementgamestat 48
|
2017-12-28 09:09:11 +01:00
|
|
|
special CableCarWarp
|
2018-12-09 20:41:52 +01:00
|
|
|
special CableCar
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
Route112_CableCarStation_EventScript_22AB67:: @ 822AB67
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox Route112_CableCarStation_Text_22ABD8, MSGBOX_DEFAULT
|
2017-11-10 02:21:31 +01:00
|
|
|
release
|
|
|
|
end
|
|
|
|
|
|
|
|
Route112_CableCarStation_Movement_22AB71: @ 822AB71
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_right
|
|
|
|
walk_in_place_fastest_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
Route112_CableCarStation_Movement_22AB76: @ 822AB76
|
2018-06-14 01:19:19 +02:00
|
|
|
delay_16
|
|
|
|
walk_left
|
|
|
|
walk_down
|
|
|
|
walk_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
Route112_CableCarStation_Movement_22AB7B: @ 822AB7B
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
delay_16
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
Route112_CableCarStation_Movement_22AB80: @ 822AB80
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
walk_down
|
|
|
|
delay_16
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
Route112_CableCarStation_Text_22AB85: @ 822AB85
|
|
|
|
.string "The CABLE CAR is ready to go up.\n"
|
|
|
|
.string "Would you like to be on it?$"
|
|
|
|
|
|
|
|
Route112_CableCarStation_Text_22ABC2: @ 822ABC2
|
|
|
|
.string "Please step this way.$"
|
|
|
|
|
|
|
|
Route112_CableCarStation_Text_22ABD8: @ 822ABD8
|
|
|
|
.string "Please ride with us another time.$"
|
|
|
|
|