2017-11-10 02:21:31 +01:00
|
|
|
TrainerHill_Elevator_MapScripts:: @ 826934F
|
|
|
|
map_script 2, TrainerHill_Elevator_MapScript2_269355
|
|
|
|
.byte 0
|
|
|
|
|
|
|
|
TrainerHill_Elevator_MapScript2_269355: @ 8269355
|
2018-05-19 18:02:43 +02:00
|
|
|
map_script_2 VAR_TEMP_4, 0, TrainerHill_Elevator_EventScript_269375
|
2017-11-10 02:21:31 +01:00
|
|
|
.2byte 0
|
|
|
|
|
|
|
|
TrainerHill_Elevator_EventScript_26935F:: @ 826935F
|
|
|
|
end
|
|
|
|
|
|
|
|
TrainerHill_Elevator_EventScript_269360:: @ 8269360
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Elevator_Movement_2693EB
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
releaseall
|
2018-06-15 05:00:09 +02:00
|
|
|
warp MAP_TRAINER_HILL_ROOF, 255, 15, 5
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
end
|
|
|
|
|
|
|
|
TrainerHill_Elevator_EventScript_269375:: @ 8269375
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Elevator_Movement_2693E4
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
applymovement 1, TrainerHill_Elevator_Movement_2693EE
|
|
|
|
waitmovement 0
|
|
|
|
lockall
|
2018-12-02 09:37:46 +01:00
|
|
|
msgbox TrainerHill_Elevator_Text_268F3E, MSGBOX_YESNO
|
2017-12-21 20:47:52 +01:00
|
|
|
compare VAR_RESULT, 0
|
2017-11-10 02:21:31 +01:00
|
|
|
goto_eq TrainerHill_Elevator_EventScript_269360
|
|
|
|
releaseall
|
|
|
|
applymovement 1, TrainerHill_Elevator_Movement_2693F0
|
|
|
|
waitmovement 0
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Elevator_Movement_2693DF
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
|
|
|
call TrainerHill_Elevator_EventScript_2693D9
|
|
|
|
delay 25
|
2018-12-19 20:08:01 +01:00
|
|
|
applymovement EVENT_OBJ_ID_PLAYER, TrainerHill_Elevator_Movement_2693E7
|
2017-11-10 02:21:31 +01:00
|
|
|
waitmovement 0
|
2018-06-15 05:00:09 +02:00
|
|
|
warp MAP_TRAINER_HILL_ENTRANCE, 255, 17, 8
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
end
|
|
|
|
|
2017-11-10 08:36:41 +01:00
|
|
|
TrainerHill_Elevator_EventScript_2693CE:: @ 82693CE
|
|
|
|
goto TrainerHill_Elevator_EventScript_2693D4
|
|
|
|
end
|
|
|
|
|
|
|
|
TrainerHill_Elevator_EventScript_2693D4:: @ 82693D4
|
|
|
|
special sub_8139C10
|
|
|
|
releaseall
|
|
|
|
end
|
2017-11-10 02:21:31 +01:00
|
|
|
|
|
|
|
TrainerHill_Elevator_EventScript_2693D9:: @ 82693D9
|
|
|
|
waitse
|
2018-08-09 08:53:21 +02:00
|
|
|
special ShakeScreenInElevator
|
2017-11-10 02:21:31 +01:00
|
|
|
waitstate
|
|
|
|
return
|
|
|
|
|
|
|
|
TrainerHill_Elevator_Movement_2693DF: @ 82693DF
|
2018-06-14 01:19:19 +02:00
|
|
|
walk_up
|
|
|
|
walk_up
|
|
|
|
walk_right
|
|
|
|
face_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
TrainerHill_Elevator_Movement_2693E4: @ 82693E4
|
2018-06-14 01:19:19 +02:00
|
|
|
delay_16
|
|
|
|
walk_left
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
TrainerHill_Elevator_Movement_2693E7: @ 82693E7
|
2018-06-14 01:19:19 +02:00
|
|
|
delay_16
|
|
|
|
walk_down
|
|
|
|
walk_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
TrainerHill_Elevator_Movement_2693EB: @ 82693EB
|
2018-06-14 01:19:19 +02:00
|
|
|
face_down
|
|
|
|
delay_16
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
TrainerHill_Elevator_Movement_2693EE: @ 82693EE
|
2018-06-14 01:19:19 +02:00
|
|
|
face_right
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|
|
|
|
TrainerHill_Elevator_Movement_2693F0: @ 82693F0
|
2018-06-14 01:19:19 +02:00
|
|
|
face_down
|
2017-11-10 02:21:31 +01:00
|
|
|
step_end
|
|
|
|
|