2020-07-24 06:49:26 -07:00
|
|
|
object_const_def
|
2015-11-26 21:22:14 -08:00
|
|
|
const BATTLETOWERELEVATOR_RECEPTIONIST
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
BattleTowerElevator_MapScripts:
|
2020-07-24 06:49:26 -07:00
|
|
|
def_scene_scripts
|
2022-08-09 15:04:18 -07:00
|
|
|
scene_script BattleTowerElevatorEnterScene, SCENE_BATTLETOWERELEVATOR_ENTER
|
|
|
|
scene_script BattleTowerElevatorNoopScene, SCENE_BATTLETOWERELEVATOR_NOOP
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2022-08-09 15:04:18 -07:00
|
|
|
BattleTowerElevatorEnterScene:
|
|
|
|
sdefer BattleTowerElevatorRideElevatorScript
|
2022-07-29 14:43:10 -07:00
|
|
|
setscene SCENE_BATTLETOWERELEVATOR_NOOP
|
2022-08-09 15:04:18 -07:00
|
|
|
; fallthrough
|
|
|
|
BattleTowerElevatorNoopScene:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2022-08-09 15:04:18 -07:00
|
|
|
BattleTowerElevatorRideElevatorScript:
|
2015-11-26 21:22:14 -08:00
|
|
|
follow BATTLETOWERELEVATOR_RECEPTIONIST, PLAYER
|
|
|
|
applymovement BATTLETOWERELEVATOR_RECEPTIONIST, MovementData_BattleTowerElevatorReceptionistWalksIn
|
2015-11-26 18:05:32 -08:00
|
|
|
applymovement PLAYER, MovementData_BattleTowerElevatorPlayerWalksIn
|
2019-03-10 12:31:59 -07:00
|
|
|
setval BATTLETOWERACTION_0A
|
2018-01-24 08:17:05 -08:00
|
|
|
special BattleTowerAction
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_ELEVATOR
|
2013-02-16 22:54:07 -08:00
|
|
|
earthquake 60
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2015-11-26 21:22:14 -08:00
|
|
|
follow BATTLETOWERELEVATOR_RECEPTIONIST, PLAYER
|
|
|
|
applymovement BATTLETOWERELEVATOR_RECEPTIONIST, MovementData_BattleTowerElevatorExitElevator
|
2013-02-16 22:54:07 -08:00
|
|
|
stopfollow
|
|
|
|
warpsound
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear BATTLETOWERELEVATOR_RECEPTIONIST
|
2015-11-26 18:05:32 -08:00
|
|
|
applymovement PLAYER, MovementData_BattleTowerElevatorExitElevator
|
2013-02-16 22:54:07 -08:00
|
|
|
warpcheck
|
|
|
|
end
|
|
|
|
|
2015-11-26 18:05:32 -08:00
|
|
|
MovementData_BattleTowerElevatorReceptionistWalksIn:
|
2016-05-14 10:46:14 -07:00
|
|
|
step RIGHT
|
|
|
|
turn_head DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-11-26 18:05:32 -08:00
|
|
|
MovementData_BattleTowerElevatorPlayerWalksIn:
|
2016-05-14 10:46:14 -07:00
|
|
|
turn_head DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
BattleTowerElevator_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_warp_events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 1, 3, BATTLE_TOWER_HALLWAY, 1
|
|
|
|
warp_event 2, 3, BATTLE_TOWER_HALLWAY, 1
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_coord_events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_bg_events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_object_events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 1, 2, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, MovementData_BattleTowerElevatorReceptionistWalksIn, -1
|