pokecrystal-board/maps/CeladonDeptStoreElevator.asm

41 lines
885 B
NASM
Raw Normal View History

CeladonDeptStoreElevator_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2017-12-17 17:45:04 -08:00
CeladonDeptStoreElevatorScript:
2015-12-09 15:25:44 -08:00
opentext
2017-12-17 17:45:04 -08:00
elevator CeladonDeptStoreElevatorData
2015-11-25 07:16:29 -08:00
closetext
2017-12-17 17:45:04 -08:00
iffalse .Done
pause 5
playsound SFX_ELEVATOR
earthquake 60
2015-11-25 07:16:29 -08:00
waitsfx
2017-12-17 17:45:04 -08:00
.Done:
end
2017-12-17 17:45:04 -08:00
CeladonDeptStoreElevatorData:
db 6 ; floors
elevfloor FLOOR_1F, 4, CELADON_DEPT_STORE_1F
elevfloor FLOOR_2F, 3, CELADON_DEPT_STORE_2F
elevfloor FLOOR_3F, 3, CELADON_DEPT_STORE_3F
elevfloor FLOOR_4F, 3, CELADON_DEPT_STORE_4F
elevfloor FLOOR_5F, 3, CELADON_DEPT_STORE_5F
elevfloor FLOOR_6F, 2, CELADON_DEPT_STORE_6F
2018-01-10 19:53:42 -08:00
db -1 ; end
CeladonDeptStoreElevator_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 1, 3, CELADON_DEPT_STORE_1F, -1
warp_event 2, 3, CELADON_DEPT_STORE_1F, -1
db 0 ; coord events
db 1 ; bg events
2018-02-01 19:22:07 -08:00
bg_event 3, 0, BGEVENT_READ, CeladonDeptStoreElevatorScript
db 0 ; object events