2018-01-31 16:08:47 +00:00
|
|
|
const_value set 2 ; object constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const BATTLETOWERELEVATOR_RECEPTIONIST
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
BattleTowerElevator_MapScripts:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 2 ; scene scripts
|
2017-12-24 18:46:34 +00:00
|
|
|
scene_script .Scene0
|
|
|
|
scene_script .Scene1
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; callbacks
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.Scene0:
|
2015-11-27 02:05:32 +00:00
|
|
|
priorityjump .RideElevator
|
2018-01-09 23:45:25 +00:00
|
|
|
setscene 1
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.Scene1:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-11-27 02:05:32 +00:00
|
|
|
.RideElevator:
|
2015-11-27 05:22:14 +00:00
|
|
|
follow BATTLETOWERELEVATOR_RECEPTIONIST, PLAYER
|
|
|
|
applymovement BATTLETOWERELEVATOR_RECEPTIONIST, MovementData_BattleTowerElevatorReceptionistWalksIn
|
2015-11-27 02:05:32 +00:00
|
|
|
applymovement PLAYER, MovementData_BattleTowerElevatorPlayerWalksIn
|
|
|
|
writebyte BATTLETOWERACTION_0A
|
2018-01-24 16:17:05 +00:00
|
|
|
special BattleTowerAction
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_ELEVATOR
|
2013-02-17 06:54:07 +00:00
|
|
|
earthquake 60
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2015-11-27 05:22:14 +00:00
|
|
|
follow BATTLETOWERELEVATOR_RECEPTIONIST, PLAYER
|
|
|
|
applymovement BATTLETOWERELEVATOR_RECEPTIONIST, MovementData_BattleTowerElevatorExitElevator
|
2013-02-17 06:54:07 +00:00
|
|
|
stopfollow
|
|
|
|
warpsound
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear BATTLETOWERELEVATOR_RECEPTIONIST
|
2015-11-27 02:05:32 +00:00
|
|
|
applymovement PLAYER, MovementData_BattleTowerElevatorExitElevator
|
2013-02-17 06:54:07 +00:00
|
|
|
warpcheck
|
|
|
|
end
|
|
|
|
|
2015-11-27 02:05:32 +00:00
|
|
|
MovementData_BattleTowerElevatorReceptionistWalksIn:
|
2016-05-14 17:46:14 +00:00
|
|
|
step RIGHT
|
|
|
|
turn_head DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2015-11-27 02:05:32 +00:00
|
|
|
MovementData_BattleTowerElevatorPlayerWalksIn:
|
2016-05-14 17:46:14 +00:00
|
|
|
turn_head DOWN
|
2013-02-17 06:54:07 +00:00
|
|
|
step_end
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
BattleTowerElevator_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 2 ; warp events
|
2018-01-28 18:20:04 +00:00
|
|
|
warp_event 1, 3, 1, BATTLE_TOWER_HALLWAY
|
|
|
|
warp_event 2, 3, 1, BATTLE_TOWER_HALLWAY
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; coord events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; bg events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; object events
|
2017-12-28 19:31:25 +00:00
|
|
|
object_event 1, 2, SPRITE_RECEPTIONIST, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, MovementData_BattleTowerElevatorReceptionistWalksIn, -1
|