pokecrystal-board/maps/BattleTowerElevator.asm

64 lines
1.1 KiB
NASM
Raw Normal View History

2015-07-10 01:45:35 -07:00
BattleTowerElevator_MapScriptHeader:
.MapTriggers:
db 2
; triggers
2015-11-02 11:37:02 -08:00
dw UnknownScript_0x9f562, 0
dw UnknownScript_0x9f567, 0
.MapCallbacks:
db 0
2015-07-10 01:45:35 -07:00
UnknownScript_0x9f562:
priorityjump UnknownScript_0x9f568
dotrigger $1
2015-07-10 01:45:35 -07:00
UnknownScript_0x9f567:
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x9f568:
follow $2, PLAYER
applymovement $2, MovementData_0x9f58f
applymovement PLAYER, MovementData_0x9f592
2015-11-03 12:05:19 -08:00
writebyte BATTLE_TOWER_ACTION_0A
special BattleTowerAction
playsound SFX_ELEVATOR
earthquake 60
2015-11-25 07:16:29 -08:00
waitsfx
follow $2, PLAYER
applymovement $2, MovementData_0x9e578
stopfollow
warpsound
disappear $2
applymovement PLAYER, MovementData_0x9e578
warpcheck
end
2015-07-10 01:45:35 -07:00
MovementData_0x9f58f:
step_right
turn_head_down
step_end
2015-07-10 01:45:35 -07:00
MovementData_0x9f592:
turn_head_down
step_end
2015-07-10 01:45:35 -07:00
BattleTowerElevator_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $3, $1, 1, BATTLE_TOWER_HALLWAY
warp_def $3, $2, 1, BATTLE_TOWER_HALLWAY
.XYTriggers:
db 0
.Signposts:
db 0
.PersonEvents:
db 1
person_event SPRITE_RECEPTIONIST, 2, 1, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, MovementData_0x9f58f, -1