pokecrystal-board/maps/CeladonDeptStoreElevator.asm

48 lines
880 B
NASM
Raw Normal View History

2015-07-10 02:45:35 -06:00
CeladonDeptStoreElevator_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
2017-12-17 20:45:04 -05:00
CeladonDeptStoreElevatorScript:
2015-12-09 18:25:44 -05:00
opentext
2017-12-17 20:45:04 -05:00
elevator CeladonDeptStoreElevatorData
2015-11-25 10:16:29 -05:00
closetext
2017-12-17 20:45:04 -05:00
iffalse .Done
pause 5
playsound SFX_ELEVATOR
earthquake 60
2015-11-25 10:16:29 -05:00
waitsfx
2017-12-17 20:45:04 -05:00
.Done:
end
2017-12-17 20:45:04 -05: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
db $ff ; end
2015-07-10 02:45:35 -06:00
CeladonDeptStoreElevator_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def 1, 3, -1, CELADON_DEPT_STORE_1F
warp_def 2, 3, -1, CELADON_DEPT_STORE_1F
.CoordEvents:
db 0
.BGEvents:
db 1
bg_event 3, 0, BGEVENT_READ, CeladonDeptStoreElevatorScript
.ObjectEvents:
db 0