pokecrystal/maps/GoldenrodDeptStoreElevator.asm

77 lines
1.5 KiB
NASM
Raw Normal View History

2015-07-10 08:45:35 +00:00
GoldenrodDeptStoreElevator_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 0
2015-07-10 08:45:35 +00:00
MapGoldenrodDeptStoreElevatorSignpost0Script:
2015-12-09 23:25:44 +00:00
opentext
elevator Elevator_0x566e0
2015-11-25 15:16:29 +00:00
closetext
2015-07-10 12:08:03 +00:00
iffalse .Done
pause 5
playsound SFX_ELEVATOR
earthquake 60
2015-11-25 15:16:29 +00:00
waitsfx
2015-07-10 12:08:03 +00:00
checkevent EVENT_WAREHOUSE_BLOCKED_OFF
iftrue .Done
checkevent EVENT_WAREHOUSE_LAYOUT_1
iftrue .BoxLayout1
checkevent EVENT_WAREHOUSE_LAYOUT_2
iftrue .BoxLayout2
checkevent EVENT_WAREHOUSE_LAYOUT_3
iftrue .BoxLayout3
.BoxLayout3
setevent EVENT_WAREHOUSE_LAYOUT_1
clearevent EVENT_WAREHOUSE_LAYOUT_2
clearevent EVENT_WAREHOUSE_LAYOUT_3
end
2015-07-10 12:08:03 +00:00
.BoxLayout1
clearevent EVENT_WAREHOUSE_LAYOUT_1
setevent EVENT_WAREHOUSE_LAYOUT_2
clearevent EVENT_WAREHOUSE_LAYOUT_3
end
2015-07-10 12:08:03 +00:00
.BoxLayout2
clearevent EVENT_WAREHOUSE_LAYOUT_1
clearevent EVENT_WAREHOUSE_LAYOUT_2
setevent EVENT_WAREHOUSE_LAYOUT_3
end
2015-07-10 12:08:03 +00:00
.Done
end
2015-07-10 08:45:35 +00:00
Elevator_0x566e0:
db 7 ; floors
elevfloor _B1F, 2, GOLDENROD_DEPT_STORE_B1F
elevfloor _1F, 4, GOLDENROD_DEPT_STORE_1F
elevfloor _2F, 3, GOLDENROD_DEPT_STORE_2F
elevfloor _3F, 3, GOLDENROD_DEPT_STORE_3F
elevfloor _4F, 3, GOLDENROD_DEPT_STORE_4F
elevfloor _5F, 3, GOLDENROD_DEPT_STORE_5F
elevfloor _6F, 2, GOLDENROD_DEPT_STORE_6F
2015-12-17 22:51:32 +00:00
db -1 ; end
2015-07-10 08:45:35 +00:00
GoldenrodDeptStoreElevator_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $3, $1, 255, GOLDENROD_DEPT_STORE_1F
warp_def $3, $2, 255, GOLDENROD_DEPT_STORE_1F
.XYTriggers:
db 0
.Signposts:
db 1
signpost 0, 3, SIGNPOST_READ, MapGoldenrodDeptStoreElevatorSignpost0Script
.PersonEvents:
db 0