2018-01-16 19:57:19 -08:00
|
|
|
GoldenrodDeptStoreElevator_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; scene scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-27 16:33:38 -08:00
|
|
|
GoldenrodDeptStoreElevatorScript:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-02-28 13:50:43 -08:00
|
|
|
elevator GoldenrodDeptStoreElevatorData
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2015-07-10 05:08:03 -07:00
|
|
|
iffalse .Done
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 5
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_ELEVATOR
|
2013-02-16 22:54:07 -08:00
|
|
|
earthquake 60
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2017-12-24 15:06:12 -08:00
|
|
|
checkevent EVENT_GOLDENROD_UNDERGROUND_WAREHOUSE_BLOCKED_OFF
|
2015-07-10 05:08:03 -07:00
|
|
|
iftrue .Done
|
2017-12-24 15:06:12 -08:00
|
|
|
checkevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_1
|
2015-07-10 05:08:03 -07:00
|
|
|
iftrue .BoxLayout1
|
2017-12-24 15:06:12 -08:00
|
|
|
checkevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_2
|
2015-07-10 05:08:03 -07:00
|
|
|
iftrue .BoxLayout2
|
2017-12-24 15:06:12 -08:00
|
|
|
checkevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_3
|
2015-07-10 05:08:03 -07:00
|
|
|
iftrue .BoxLayout3
|
2016-04-10 11:42:14 -07:00
|
|
|
.BoxLayout3:
|
2017-12-24 15:06:12 -08:00
|
|
|
setevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_1
|
|
|
|
clearevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_2
|
|
|
|
clearevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_3
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.BoxLayout1:
|
2017-12-24 15:06:12 -08:00
|
|
|
clearevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_1
|
|
|
|
setevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_2
|
|
|
|
clearevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_3
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.BoxLayout2:
|
2017-12-24 15:06:12 -08:00
|
|
|
clearevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_1
|
|
|
|
clearevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_2
|
|
|
|
setevent EVENT_GOLDENROD_DEPT_STORE_B1F_LAYOUT_3
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.Done:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-02-28 13:50:43 -08:00
|
|
|
GoldenrodDeptStoreElevatorData:
|
2013-04-30 23:00:21 -07:00
|
|
|
db 7 ; floors
|
2017-12-10 22:02:28 -08:00
|
|
|
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 14:51:32 -08:00
|
|
|
db -1 ; end
|
2013-04-30 23:00:21 -07:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
GoldenrodDeptStoreElevator_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 1, 3, GOLDENROD_DEPT_STORE_1F, -1
|
|
|
|
warp_event 2, 3, GOLDENROD_DEPT_STORE_1F, -1
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; bg events
|
2018-02-27 16:33:38 -08:00
|
|
|
bg_event 3, 0, BGEVENT_READ, GoldenrodDeptStoreElevatorScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; object events
|