2015-11-27 00:22:14 -05:00
|
|
|
const_value set 2
|
|
|
|
const ICEPATHB1F_BOULDER1
|
|
|
|
const ICEPATHB1F_BOULDER2
|
|
|
|
const ICEPATHB1F_BOULDER3
|
|
|
|
const ICEPATHB1F_BOULDER4
|
|
|
|
const ICEPATHB1F_POKE_BALL
|
|
|
|
|
2015-07-10 02:45:35 -06:00
|
|
|
IcePathB1F_MapScriptHeader:
|
2015-07-21 00:02:21 -04:00
|
|
|
.MapTriggers:
|
2013-02-17 01:54:07 -05:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 00:02:21 -04:00
|
|
|
.MapCallbacks:
|
2013-02-17 01:54:07 -05:00
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
2016-01-06 16:59:56 -05:00
|
|
|
dbw MAPCALLBACK_CMDQUEUE, .SetUpStoneTable
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-11-18 23:16:25 -05:00
|
|
|
.SetUpStoneTable:
|
|
|
|
writecmdqueue .CommandQueue
|
2013-02-17 01:54:07 -05:00
|
|
|
return
|
|
|
|
|
2015-11-18 23:16:25 -05:00
|
|
|
.CommandQueue:
|
2016-03-08 19:54:06 -05:00
|
|
|
dbw CMDQUEUE_STONETABLE, .StoneTable ; check if any stones are sitting on a warp
|
|
|
|
dw 0 ; filler
|
2013-04-30 22:32:03 -04:00
|
|
|
|
2015-11-18 23:16:25 -05:00
|
|
|
.StoneTable:
|
2015-12-15 10:55:56 -05:00
|
|
|
stonetable 3, ICEPATHB1F_BOULDER1, .Boulder1
|
|
|
|
stonetable 4, ICEPATHB1F_BOULDER2, .Boulder2
|
|
|
|
stonetable 5, ICEPATHB1F_BOULDER3, .Boulder3
|
|
|
|
stonetable 6, ICEPATHB1F_BOULDER4, .Boulder4
|
|
|
|
db -1
|
2013-04-30 22:32:03 -04:00
|
|
|
|
2015-11-18 23:16:25 -05:00
|
|
|
.Boulder1:
|
2015-11-27 00:22:14 -05:00
|
|
|
disappear ICEPATHB1F_BOULDER1
|
2015-07-18 15:46:38 -04:00
|
|
|
clearevent EVENT_BOULDER_IN_ICE_PATH_1A
|
2015-11-18 23:16:25 -05:00
|
|
|
jump .FinishBoulder
|
2013-04-30 22:32:03 -04:00
|
|
|
|
2015-11-18 23:16:25 -05:00
|
|
|
.Boulder2:
|
2015-11-27 00:22:14 -05:00
|
|
|
disappear ICEPATHB1F_BOULDER2
|
2015-07-18 15:46:38 -04:00
|
|
|
clearevent EVENT_BOULDER_IN_ICE_PATH_2A
|
2015-11-18 23:16:25 -05:00
|
|
|
jump .FinishBoulder
|
2013-04-30 22:32:03 -04:00
|
|
|
|
2015-11-18 23:16:25 -05:00
|
|
|
.Boulder3:
|
2015-11-27 00:22:14 -05:00
|
|
|
disappear ICEPATHB1F_BOULDER3
|
2015-07-18 15:46:38 -04:00
|
|
|
clearevent EVENT_BOULDER_IN_ICE_PATH_3A
|
2015-11-18 23:16:25 -05:00
|
|
|
jump .FinishBoulder
|
2013-04-30 22:32:03 -04:00
|
|
|
|
2015-11-18 23:16:25 -05:00
|
|
|
.Boulder4:
|
2015-11-27 00:22:14 -05:00
|
|
|
disappear ICEPATHB1F_BOULDER4
|
2015-07-18 15:46:38 -04:00
|
|
|
clearevent EVENT_BOULDER_IN_ICE_PATH_4A
|
2015-11-18 23:16:25 -05:00
|
|
|
jump .FinishBoulder
|
2013-04-30 22:32:03 -04:00
|
|
|
|
2015-11-18 23:16:25 -05:00
|
|
|
.FinishBoulder:
|
2013-04-30 22:32:03 -04:00
|
|
|
pause 30
|
2015-11-18 23:16:25 -05:00
|
|
|
scall .BoulderFallsThrough
|
2015-12-09 18:25:44 -05:00
|
|
|
opentext
|
2015-12-15 10:55:56 -05:00
|
|
|
writetext IcePathBoulderFellThroughText
|
2015-11-25 10:16:29 -05:00
|
|
|
waitbutton
|
2013-04-30 22:32:03 -04:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-11-18 23:16:25 -05:00
|
|
|
.BoulderFallsThrough:
|
2014-04-30 06:04:35 -04:00
|
|
|
playsound SFX_STRENGTH
|
2013-04-30 22:32:03 -04:00
|
|
|
earthquake 80
|
|
|
|
end
|
|
|
|
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-10 02:45:35 -06:00
|
|
|
IcePathB1FBoulder:
|
2015-06-23 15:02:58 -06:00
|
|
|
jumpstd strengthboulder
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-12-15 10:55:56 -05:00
|
|
|
IcePathB1FIron:
|
|
|
|
itemball IRON
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-12-15 11:21:58 -05:00
|
|
|
IcePathB1FHiddenMaxPotion:
|
2015-07-18 15:46:38 -04:00
|
|
|
dwb EVENT_ICE_PATH_B1F_HIDDEN_MAX_POTION, MAX_POTION
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2013-04-30 22:32:03 -04:00
|
|
|
|
2015-12-15 10:55:56 -05:00
|
|
|
IcePathBoulderFellThroughText:
|
2014-03-06 00:29:44 -05:00
|
|
|
text "The boulder fell"
|
|
|
|
line "through."
|
|
|
|
done
|
2013-04-30 22:32:03 -04:00
|
|
|
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-10 02:45:35 -06:00
|
|
|
IcePathB1F_MapEventHeader:
|
2013-02-17 01:54:07 -05:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
2015-07-21 00:02:21 -04:00
|
|
|
.Warps:
|
2013-02-17 01:54:07 -05:00
|
|
|
db 8
|
2015-07-23 12:59:19 -04:00
|
|
|
warp_def $f, $3, 3, ICE_PATH_1F
|
|
|
|
warp_def $3, $11, 1, ICE_PATH_B2F_MAHOGANY_SIDE
|
2016-03-08 19:54:06 -05:00
|
|
|
warp_def $2, $b, 3, ICE_PATH_B2F_MAHOGANY_SIDE ; hole
|
|
|
|
warp_def $7, $4, 4, ICE_PATH_B2F_MAHOGANY_SIDE ; hole
|
|
|
|
warp_def $c, $5, 5, ICE_PATH_B2F_MAHOGANY_SIDE ; hole
|
|
|
|
warp_def $d, $c, 6, ICE_PATH_B2F_MAHOGANY_SIDE ; hole
|
2015-07-23 12:59:19 -04:00
|
|
|
warp_def $19, $5, 4, ICE_PATH_1F
|
|
|
|
warp_def $1b, $b, 1, ICE_PATH_B2F_BLACKTHORN_SIDE
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-21 00:02:21 -04:00
|
|
|
.XYTriggers:
|
2013-02-17 01:54:07 -05:00
|
|
|
db 0
|
|
|
|
|
2015-07-21 00:02:21 -04:00
|
|
|
.Signposts:
|
2013-02-17 01:54:07 -05:00
|
|
|
db 1
|
2015-12-15 11:21:58 -05:00
|
|
|
signpost 30, 17, SIGNPOST_ITEM, IcePathB1FHiddenMaxPotion
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-21 00:02:21 -04:00
|
|
|
.PersonEvents:
|
2013-02-17 01:54:07 -05:00
|
|
|
db 5
|
2015-11-15 15:07:20 -05:00
|
|
|
person_event SPRITE_BOULDER, 7, 11, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, IcePathB1FBoulder, EVENT_BOULDER_IN_ICE_PATH_1
|
|
|
|
person_event SPRITE_BOULDER, 8, 7, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, IcePathB1FBoulder, EVENT_BOULDER_IN_ICE_PATH_2
|
|
|
|
person_event SPRITE_BOULDER, 9, 8, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, IcePathB1FBoulder, EVENT_BOULDER_IN_ICE_PATH_3
|
|
|
|
person_event SPRITE_BOULDER, 7, 17, SPRITEMOVEDATA_STRENGTH_BOULDER, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, IcePathB1FBoulder, EVENT_BOULDER_IN_ICE_PATH_4
|
2015-12-15 10:55:56 -05:00
|
|
|
person_event SPRITE_POKE_BALL, 35, 5, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, PERSONTYPE_ITEMBALL, 0, IcePathB1FIron, EVENT_ICE_PATH_B1F_IRON
|