2015-11-27 05:22:14 +00:00
|
|
|
const_value set 2
|
|
|
|
const ICEPATHB1F_BOULDER1
|
|
|
|
const ICEPATHB1F_BOULDER2
|
|
|
|
const ICEPATHB1F_BOULDER3
|
|
|
|
const ICEPATHB1F_BOULDER4
|
|
|
|
const ICEPATHB1F_POKE_BALL
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
IcePathB1F_MapScripts:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; scene scripts
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; callbacks
|
2018-01-13 05:47:38 +00:00
|
|
|
callback MAPCALLBACK_CMDQUEUE, .SetUpStoneTable
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-11-19 04:16:25 +00:00
|
|
|
.SetUpStoneTable:
|
|
|
|
writecmdqueue .CommandQueue
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2015-11-19 04:16:25 +00:00
|
|
|
.CommandQueue:
|
2018-01-13 05:47:38 +00:00
|
|
|
cmdqueue CMDQUEUE_STONETABLE, .StoneTable ; check if any stones are sitting on a warp
|
2013-05-01 02:32:03 +00:00
|
|
|
|
2015-11-19 04:16:25 +00:00
|
|
|
.StoneTable:
|
2015-12-15 15:55:56 +00:00
|
|
|
stonetable 3, ICEPATHB1F_BOULDER1, .Boulder1
|
|
|
|
stonetable 4, ICEPATHB1F_BOULDER2, .Boulder2
|
|
|
|
stonetable 5, ICEPATHB1F_BOULDER3, .Boulder3
|
|
|
|
stonetable 6, ICEPATHB1F_BOULDER4, .Boulder4
|
2018-01-13 06:03:42 +00:00
|
|
|
db -1 ; end
|
2013-05-01 02:32:03 +00:00
|
|
|
|
2015-11-19 04:16:25 +00:00
|
|
|
.Boulder1:
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear ICEPATHB1F_BOULDER1
|
2015-07-18 19:46:38 +00:00
|
|
|
clearevent EVENT_BOULDER_IN_ICE_PATH_1A
|
2015-11-19 04:16:25 +00:00
|
|
|
jump .FinishBoulder
|
2013-05-01 02:32:03 +00:00
|
|
|
|
2015-11-19 04:16:25 +00:00
|
|
|
.Boulder2:
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear ICEPATHB1F_BOULDER2
|
2015-07-18 19:46:38 +00:00
|
|
|
clearevent EVENT_BOULDER_IN_ICE_PATH_2A
|
2015-11-19 04:16:25 +00:00
|
|
|
jump .FinishBoulder
|
2013-05-01 02:32:03 +00:00
|
|
|
|
2015-11-19 04:16:25 +00:00
|
|
|
.Boulder3:
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear ICEPATHB1F_BOULDER3
|
2015-07-18 19:46:38 +00:00
|
|
|
clearevent EVENT_BOULDER_IN_ICE_PATH_3A
|
2015-11-19 04:16:25 +00:00
|
|
|
jump .FinishBoulder
|
2013-05-01 02:32:03 +00:00
|
|
|
|
2015-11-19 04:16:25 +00:00
|
|
|
.Boulder4:
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear ICEPATHB1F_BOULDER4
|
2015-07-18 19:46:38 +00:00
|
|
|
clearevent EVENT_BOULDER_IN_ICE_PATH_4A
|
2015-11-19 04:16:25 +00:00
|
|
|
jump .FinishBoulder
|
2013-05-01 02:32:03 +00:00
|
|
|
|
2015-11-19 04:16:25 +00:00
|
|
|
.FinishBoulder:
|
2013-05-01 02:32:03 +00:00
|
|
|
pause 30
|
2015-11-19 04:16:25 +00:00
|
|
|
scall .BoulderFallsThrough
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-12-15 15:55:56 +00:00
|
|
|
writetext IcePathBoulderFellThroughText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-05-01 02:32:03 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-11-19 04:16:25 +00:00
|
|
|
.BoulderFallsThrough:
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_STRENGTH
|
2013-05-01 02:32:03 +00:00
|
|
|
earthquake 80
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
IcePathB1FBoulder:
|
2015-06-23 21:02:58 +00:00
|
|
|
jumpstd strengthboulder
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 15:55:56 +00:00
|
|
|
IcePathB1FIron:
|
|
|
|
itemball IRON
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
IcePathB1FHiddenMaxPotion:
|
2018-01-23 17:59:21 +00:00
|
|
|
hiddenitem MAX_POTION, EVENT_ICE_PATH_B1F_HIDDEN_MAX_POTION
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 15:55:56 +00:00
|
|
|
IcePathBoulderFellThroughText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The boulder fell"
|
|
|
|
line "through."
|
|
|
|
done
|
2013-05-01 02:32:03 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
IcePathB1F_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 8 ; warp events
|
2018-01-28 18:20:04 +00:00
|
|
|
warp_event 3, 15, 3, ICE_PATH_1F
|
|
|
|
warp_event 17, 3, 1, ICE_PATH_B2F_MAHOGANY_SIDE
|
|
|
|
warp_event 11, 2, 3, ICE_PATH_B2F_MAHOGANY_SIDE ; hole
|
|
|
|
warp_event 4, 7, 4, ICE_PATH_B2F_MAHOGANY_SIDE ; hole
|
|
|
|
warp_event 5, 12, 5, ICE_PATH_B2F_MAHOGANY_SIDE ; hole
|
|
|
|
warp_event 12, 13, 6, ICE_PATH_B2F_MAHOGANY_SIDE ; hole
|
|
|
|
warp_event 5, 25, 4, ICE_PATH_1F
|
|
|
|
warp_event 11, 27, 1, ICE_PATH_B2F_BLACKTHORN_SIDE
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; coord events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; bg events
|
2017-12-28 19:31:25 +00:00
|
|
|
bg_event 17, 30, BGEVENT_ITEM, IcePathB1FHiddenMaxPotion
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 5 ; object events
|
2017-12-28 19:31:25 +00:00
|
|
|
object_event 11, 7, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, IcePathB1FBoulder, EVENT_BOULDER_IN_ICE_PATH_1
|
|
|
|
object_event 7, 8, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, IcePathB1FBoulder, EVENT_BOULDER_IN_ICE_PATH_2
|
|
|
|
object_event 8, 9, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, IcePathB1FBoulder, EVENT_BOULDER_IN_ICE_PATH_3
|
|
|
|
object_event 17, 7, SPRITE_BOULDER, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, IcePathB1FBoulder, EVENT_BOULDER_IN_ICE_PATH_4
|
2018-01-31 03:12:53 +00:00
|
|
|
object_event 5, 35, SPRITE_POKE_BALL, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_ITEMBALL, 0, IcePathB1FIron, EVENT_ICE_PATH_B1F_IRON
|