pokecrystal-board/maps/CeladonDeptStoreElevator.asm
Remy Oukaour c05b7f41dd Renaming: (fix #412)
- MapTriggers / maptrigger → SceneScripts / scene_script
- XYTriggers / xy_trigger → CoordEvents / coord_event
- Signposts / signpost → BGEvents / bg_event
- PersonEvents / person_event → ObjectEvents / object_event
2017-12-24 14:33:17 -05:00

48 lines
884 B
NASM

CeladonDeptStoreElevator_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
CeladonDeptStoreElevatorScript:
opentext
elevator CeladonDeptStoreElevatorData
closetext
iffalse .Done
pause 5
playsound SFX_ELEVATOR
earthquake 60
waitsfx
.Done:
end
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
CeladonDeptStoreElevator_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $3, $1, -1, CELADON_DEPT_STORE_1F
warp_def $3, $2, -1, CELADON_DEPT_STORE_1F
.CoordEvents:
db 0
.BGEvents:
db 1
bg_event 0, 3, BGEVENT_READ, CeladonDeptStoreElevatorScript
.ObjectEvents:
db 0