2015-07-10 08:45:35 +00:00
|
|
|
TimeCapsule_MapScriptHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; trigger count
|
|
|
|
db 2
|
|
|
|
|
|
|
|
; triggers
|
2015-07-16 22:10:10 +00:00
|
|
|
dw .Trigger1, $0000
|
|
|
|
dw .Trigger2, $0000
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
dbw 2, TimeCapsule_SetWhichChris
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.Trigger1:
|
|
|
|
priorityjump TimeCapsule_Initialize
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.Trigger2:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
TimeCapsule_SetWhichChris:
|
|
|
|
special Special_CableClubCheckWhichChris
|
|
|
|
iffalse .Chris2
|
2013-02-17 06:54:07 +00:00
|
|
|
disappear $3
|
|
|
|
appear $2
|
|
|
|
return
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.Chris2:
|
2013-02-17 06:54:07 +00:00
|
|
|
disappear $2
|
|
|
|
appear $3
|
|
|
|
return
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
TimeCapsule_Initialize:
|
2013-02-17 06:54:07 +00:00
|
|
|
dotrigger $1
|
|
|
|
domaptrigger GROUP_POKECENTER_2F, MAP_POKECENTER_2F, $3
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MapTimeCapsuleSignpost1Script:
|
2015-07-16 22:10:10 +00:00
|
|
|
special Special_TimeCapsule
|
2013-02-17 06:54:07 +00:00
|
|
|
newloadmap $f8
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
ChrisScript_0x19351a:
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x193521
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
UnknownText_0x193521:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Your friend is"
|
|
|
|
line "ready."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
TimeCapsule_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 2
|
|
|
|
warp_def $7, $4, 4, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
|
|
|
|
warp_def $7, $5, 4, GROUP_POKECENTER_2F, MAP_POKECENTER_2F
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 2
|
2015-07-16 22:10:10 +00:00
|
|
|
signpost 4, 4, SIGNPOST_RIGHT, MapTimeCapsuleSignpost1Script
|
|
|
|
signpost 4, 5, SIGNPOST_LEFT, MapTimeCapsuleSignpost1Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 2
|
2015-07-16 22:10:10 +00:00
|
|
|
person_event SPRITE_CHRIS, 8, 7, LEFT << 2 | $1, $0, -1, -1, $0, 0, ChrisScript_0x19351a, EVENT_CHRIS1_IN_CABLE_CLUB
|
|
|
|
person_event SPRITE_CHRIS, 8, 10, LEFT << 2 | $0, $0, -1, -1, $0, 0, ChrisScript_0x19351a, EVENT_CHRIS2_IN_CABLE_CLUB
|