2015-11-26 21:22:14 -08:00
|
|
|
const_value set 2
|
|
|
|
const BATTLETOWERELEVATOR_RECEPTIONIST
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
BattleTowerElevator_MapScriptHeader:
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
|
|
|
|
|
|
|
; triggers
|
2015-11-26 18:05:32 -08:00
|
|
|
dw .Trigger0, 0
|
|
|
|
dw .Trigger1, 0
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-11-26 18:05:32 -08:00
|
|
|
.Trigger0:
|
|
|
|
priorityjump .RideElevator
|
2013-02-16 22:54:07 -08:00
|
|
|
dotrigger $1
|
|
|
|
|
2015-11-26 18:05:32 -08:00
|
|
|
.Trigger1:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-11-26 18:05:32 -08:00
|
|
|
.RideElevator:
|
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
|
|
|
|
writebyte BATTLETOWERACTION_0A
|
2015-11-03 12:05:19 -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:
|
2013-02-16 22:54:07 -08:00
|
|
|
step_right
|
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
|
2015-11-26 18:05:32 -08:00
|
|
|
MovementData_BattleTowerElevatorPlayerWalksIn:
|
2013-02-16 22:54:07 -08:00
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
BattleTowerElevator_MapEventHeader:
|
2013-02-16 22:54:07 -08:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Warps:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $3, $1, 1, BATTLE_TOWER_HALLWAY
|
|
|
|
warp_def $3, $2, 1, BATTLE_TOWER_HALLWAY
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.XYTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Signposts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.PersonEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
2015-11-26 18:05:32 -08:00
|
|
|
person_event SPRITE_RECEPTIONIST, 2, 1, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, MovementData_BattleTowerElevatorReceptionistWalksIn, -1
|