pokecrystal/maps/TradeCenter.asm

78 lines
1.3 KiB
NASM
Raw Normal View History

2015-07-10 08:45:35 +00:00
TradeCenter_MapScriptHeader:
; trigger count
db 2
; triggers
dw UnknownScript_0x1933e9, $0000
dw UnknownScript_0x1933ed, $0000
; callback count
db 1
; callbacks
dbw 2, UnknownScript_0x1933ee
2015-07-10 08:45:35 +00:00
UnknownScript_0x1933e9:
priorityjump UnknownScript_0x1933fe
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x1933ed:
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x1933ee:
special Function29f47
iffalse UnknownScript_0x1933f9
disappear $3
appear $2
return
2015-07-10 08:45:35 +00:00
UnknownScript_0x1933f9:
disappear $2
appear $3
return
2015-07-10 08:45:35 +00:00
UnknownScript_0x1933fe:
dotrigger $1
domaptrigger GROUP_POKECENTER_2F, MAP_POKECENTER_2F, $1
end
2015-07-10 08:45:35 +00:00
MapTradeCenterSignpost1Script:
special Function29ec4
newloadmap $f8
end
2015-07-10 08:45:35 +00:00
UnknownScript_0x19340b:
loadfont
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x193412
closetext
loadmovesprites
end
2015-07-10 08:45:35 +00:00
UnknownText_0x193412:
text "Your friend is"
line "ready."
done
2015-07-10 08:45:35 +00:00
TradeCenter_MapEventHeader:
; filler
db 0, 0
; warps
db 2
warp_def $7, $4, 2, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
warp_def $7, $5, 2, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
; xy triggers
db 0
; signposts
db 2
signpost 4, 4, $3, MapTradeCenterSignpost1Script
signpost 4, 5, $4, MapTradeCenterSignpost1Script
; people-events
db 2
person_event SPRITE_CHRIS, 8, 7, $9, $0, 255, 255, $0, 0, ChrisScript_0x193499, EVENT_000
person_event SPRITE_CHRIS, 8, 10, $8, $0, 255, 255, $0, 0, ChrisScript_0x193499, EVENT_001