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