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