pokecrystal-board/maps/GoldenrodDeptStoreElevator.asm

77 lines
1.7 KiB
NASM
Raw Normal View History

2015-07-10 02:45:35 -06:00
GoldenrodDeptStoreElevator_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
2015-07-10 02:45:35 -06:00
MapGoldenrodDeptStoreElevatorSignpost0Script:
2015-12-09 18:25:44 -05:00
opentext
elevator Elevator_0x566e0
2015-11-25 10:16:29 -05:00
closetext
2015-07-10 06:08:03 -06:00
iffalse .Done
pause 5
playsound SFX_ELEVATOR
earthquake 60
2015-11-25 10:16:29 -05:00
waitsfx
checkevent EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_BLOCKED_OFF
2015-07-10 06:08:03 -06:00
iftrue .Done
checkevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_1
2015-07-10 06:08:03 -06:00
iftrue .BoxLayout1
checkevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_2
2015-07-10 06:08:03 -06:00
iftrue .BoxLayout2
checkevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_3
2015-07-10 06:08:03 -06:00
iftrue .BoxLayout3
.BoxLayout3:
setevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_1
clearevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_2
clearevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_3
end
.BoxLayout1:
clearevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_1
setevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_2
clearevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_3
end
.BoxLayout2:
clearevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_1
clearevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_2
setevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_3
end
.Done:
end
2015-07-10 02:45:35 -06:00
Elevator_0x566e0:
db 7 ; floors
elevfloor FLOOR_B1F, 2, GOLDENROD_DEPT_STORE_B1F
elevfloor FLOOR_1F, 4, GOLDENROD_DEPT_STORE_1F
elevfloor FLOOR_2F, 3, GOLDENROD_DEPT_STORE_2F
elevfloor FLOOR_3F, 3, GOLDENROD_DEPT_STORE_3F
elevfloor FLOOR_4F, 3, GOLDENROD_DEPT_STORE_4F
elevfloor FLOOR_5F, 3, GOLDENROD_DEPT_STORE_5F
elevfloor FLOOR_6F, 2, GOLDENROD_DEPT_STORE_6F
2015-12-17 17:51:32 -05:00
db -1 ; end
2015-07-10 02:45:35 -06:00
GoldenrodDeptStoreElevator_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
2017-12-17 20:45:04 -05:00
warp_def $3, $1, -1, GOLDENROD_DEPT_STORE_1F
warp_def $3, $2, -1, GOLDENROD_DEPT_STORE_1F
.CoordEvents:
db 0
.BGEvents:
db 1
bg_event 0, 3, BGEVENT_READ, MapGoldenrodDeptStoreElevatorSignpost0Script
.ObjectEvents:
db 0