pokecrystal-board/maps/IcePathB1F.asm

116 lines
2.6 KiB
NASM
Raw Normal View History

2015-07-10 01:45:35 -07:00
IcePathB1F_MapScriptHeader:
; trigger count
db 0
; callback count
db 1
; callbacks
dbw 3, UnknownScript_0x7e4be
2015-07-10 01:45:35 -07:00
UnknownScript_0x7e4be:
2013-04-30 19:32:03 -07:00
writecmdqueue CmdQueue_0x7e4c2
return
2015-07-10 01:45:35 -07:00
CmdQueue_0x7e4c2:
2013-04-30 19:32:03 -07:00
dbw 2, StoneTable_0x7e4c7 ; check if any stones are sitting on a warp
db 0, 0 ; filler
2015-07-10 01:45:35 -07:00
StoneTable_0x7e4c7:
2013-04-30 19:32:03 -07:00
db 3, 2 ; warp, person
dw UnknownScript_0x7e4d8
db 4, 3 ; warp, person
dw UnknownScript_0x7e4e0
db 5, 4 ; warp, person
dw UnknownScript_0x7e4e8
db 6, 5 ; warp, person
dw UnknownScript_0x7e4f0
db $ff ; end
2015-07-10 01:45:35 -07:00
UnknownScript_0x7e4d8:
2013-04-30 19:32:03 -07:00
disappear 2
2013-09-24 00:48:58 -07:00
clearevent EVENT_BOULDER_IN_ICE_PATH_1
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7e4f8
2013-04-30 19:32:03 -07:00
2015-07-10 01:45:35 -07:00
UnknownScript_0x7e4e0:
2013-04-30 19:32:03 -07:00
disappear 3
2013-09-24 00:48:58 -07:00
clearevent EVENT_BOULDER_IN_ICE_PATH_2
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7e4f8
2013-04-30 19:32:03 -07:00
2015-07-10 01:45:35 -07:00
UnknownScript_0x7e4e8:
2013-04-30 19:32:03 -07:00
disappear 4
2013-09-24 00:48:58 -07:00
clearevent EVENT_BOULDER_IN_ICE_PATH_3
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7e4f8
2013-04-30 19:32:03 -07:00
2015-07-10 01:45:35 -07:00
UnknownScript_0x7e4f0:
2013-04-30 19:32:03 -07:00
disappear 5
2013-09-24 00:48:58 -07:00
clearevent EVENT_BOULDER_IN_ICE_PATH_4
2015-01-20 00:01:23 -08:00
jump UnknownScript_0x7e4f8
2013-04-30 19:32:03 -07:00
2015-07-10 01:45:35 -07:00
UnknownScript_0x7e4f8:
2013-04-30 19:32:03 -07:00
pause 30
2015-01-20 00:01:23 -08:00
scall UnknownScript_0x7e504
2013-04-30 19:32:03 -07:00
loadfont
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x7e512
2013-04-30 19:32:03 -07:00
closetext
loadmovesprites
end
2015-07-10 01:45:35 -07:00
UnknownScript_0x7e504:
playsound SFX_STRENGTH
2013-04-30 19:32:03 -07:00
earthquake 80
end
2015-07-10 01:45:35 -07:00
IcePathB1FBoulder:
2015-06-23 14:02:58 -07:00
jumpstd strengthboulder
2015-07-10 01:45:35 -07:00
ItemFragment_0x7e50d:
db IRON, 1
2015-07-10 01:45:35 -07:00
MapIcePathB1FSignpostItem0:
dw $0094
db MAX_POTION
2013-04-30 19:32:03 -07:00
2015-07-10 01:45:35 -07:00
UnknownText_0x7e512:
text "The boulder fell"
line "through."
done
2013-04-30 19:32:03 -07:00
2015-07-10 01:45:35 -07:00
IcePathB1F_MapEventHeader:
; filler
db 0, 0
; warps
db 8
warp_def $f, $3, 3, GROUP_ICE_PATH_1F, MAP_ICE_PATH_1F
warp_def $3, $11, 1, GROUP_ICE_PATH_B2F_MAHOGANY_SIDE, MAP_ICE_PATH_B2F_MAHOGANY_SIDE
warp_def $2, $b, 3, GROUP_ICE_PATH_B2F_MAHOGANY_SIDE, MAP_ICE_PATH_B2F_MAHOGANY_SIDE
warp_def $7, $4, 4, GROUP_ICE_PATH_B2F_MAHOGANY_SIDE, MAP_ICE_PATH_B2F_MAHOGANY_SIDE
warp_def $c, $5, 5, GROUP_ICE_PATH_B2F_MAHOGANY_SIDE, MAP_ICE_PATH_B2F_MAHOGANY_SIDE
warp_def $d, $c, 6, GROUP_ICE_PATH_B2F_MAHOGANY_SIDE, MAP_ICE_PATH_B2F_MAHOGANY_SIDE
warp_def $19, $5, 4, GROUP_ICE_PATH_1F, MAP_ICE_PATH_1F
warp_def $1b, $b, 1, GROUP_ICE_PATH_B2F_BLACKTHORN_SIDE, MAP_ICE_PATH_B2F_BLACKTHORN_SIDE
; xy triggers
db 0
; signposts
db 1
signpost 30, 17, $7, MapIcePathB1FSignpostItem0
; people-events
db 5
person_event SPRITE_BOULDER, 11, 15, $19, $0, 255, 255, $0, 0, IcePathB1FBoulder, EVENT_709
person_event SPRITE_BOULDER, 12, 11, $19, $0, 255, 255, $0, 0, IcePathB1FBoulder, EVENT_70A
person_event SPRITE_BOULDER, 13, 12, $19, $0, 255, 255, $0, 0, IcePathB1FBoulder, EVENT_70B
person_event SPRITE_BOULDER, 11, 21, $19, $0, 255, 255, $0, 0, IcePathB1FBoulder, EVENT_70C
person_event SPRITE_POKE_BALL, 39, 9, $1, $0, 255, 255, $1, 0, ItemFragment_0x7e50d, EVENT_68A