2015-07-10 08:45:35 +00:00
|
|
|
GoldenrodDeptStoreElevator_MapScriptHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; trigger count
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 0
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MapGoldenrodDeptStoreElevatorSignpost0Script:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2013-05-01 06:00:21 +00:00
|
|
|
elevator Elevator_0x566e0
|
2013-02-17 06:54:07 +00:00
|
|
|
loadmovesprites
|
2015-07-10 12:08:03 +00:00
|
|
|
iffalse .Done
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 5
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_ELEVATOR
|
2013-02-17 06:54:07 +00:00
|
|
|
earthquake 60
|
|
|
|
waitbutton
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 12:08:03 +00:00
|
|
|
.Done
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2013-05-01 06:00:21 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
Elevator_0x566e0:
|
2013-05-01 06:00:21 +00:00
|
|
|
db 7 ; floors
|
|
|
|
db _B1F, 2, GROUP_GOLDENROD_DEPT_STORE_B1F, MAP_GOLDENROD_DEPT_STORE_B1F
|
|
|
|
db _1F, 4, GROUP_GOLDENROD_DEPT_STORE_1F, MAP_GOLDENROD_DEPT_STORE_1F
|
|
|
|
db _2F, 3, GROUP_GOLDENROD_DEPT_STORE_2F, MAP_GOLDENROD_DEPT_STORE_2F
|
|
|
|
db _3F, 3, GROUP_GOLDENROD_DEPT_STORE_3F, MAP_GOLDENROD_DEPT_STORE_3F
|
|
|
|
db _4F, 3, GROUP_GOLDENROD_DEPT_STORE_4F, MAP_GOLDENROD_DEPT_STORE_4F
|
|
|
|
db _5F, 3, GROUP_GOLDENROD_DEPT_STORE_5F, MAP_GOLDENROD_DEPT_STORE_5F
|
|
|
|
db _6F, 2, GROUP_GOLDENROD_DEPT_STORE_6F, MAP_GOLDENROD_DEPT_STORE_6F
|
|
|
|
db $ff ; end
|
|
|
|
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
GoldenrodDeptStoreElevator_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 2
|
|
|
|
warp_def $3, $1, 255, GROUP_GOLDENROD_DEPT_STORE_1F, MAP_GOLDENROD_DEPT_STORE_1F
|
|
|
|
warp_def $3, $2, 255, GROUP_GOLDENROD_DEPT_STORE_1F, MAP_GOLDENROD_DEPT_STORE_1F
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 1
|
2015-07-16 22:10:10 +00:00
|
|
|
signpost 0, 3, SIGNPOST_READ, MapGoldenrodDeptStoreElevatorSignpost0Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 0
|