pokecrystal-board/maps/CeladonDeptStoreElevator.asm
PikalaxALT 432df825d4 Replaced GROUP_, MAP_ references with the map macro
Updated macros that rely on the GROUP_, MAP_ constants to use the map macro

Added GROUP_NONE and MAP_NONE for the sake of compatibility with this new scheme

Added new macro elevfloor to simplify the definition of elevators under this new scheme
2015-07-23 12:59:19 -04:00

50 lines
905 B
NASM

CeladonDeptStoreElevator_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
MapCeladonDeptStoreElevatorSignpost0Script:
loadfont
elevator Elevator_0x713be
loadmovesprites
iffalse UnknownScript_0x713bd
pause 5
playsound SFX_ELEVATOR
earthquake 60
waitbutton
UnknownScript_0x713bd:
end
Elevator_0x713be:
db 6 ; floors
elevfloor _1F, 4, CELADON_DEPT_STORE_1F
elevfloor _2F, 3, CELADON_DEPT_STORE_2F
elevfloor _3F, 3, CELADON_DEPT_STORE_3F
elevfloor _4F, 3, CELADON_DEPT_STORE_4F
elevfloor _5F, 3, CELADON_DEPT_STORE_5F
elevfloor _6F, 2, CELADON_DEPT_STORE_6F
db $ff ; end
CeladonDeptStoreElevator_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $3, $1, 255, CELADON_DEPT_STORE_1F
warp_def $3, $2, 255, CELADON_DEPT_STORE_1F
.XYTriggers:
db 0
.Signposts:
db 1
signpost 0, 3, SIGNPOST_READ, MapCeladonDeptStoreElevatorSignpost0Script
.PersonEvents:
db 0