2018-01-31 16:38:45 +00:00
|
|
|
const_def 2 ; object constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const TIMECAPSULE_CHRIS1
|
|
|
|
const TIMECAPSULE_CHRIS2
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
TimeCapsule_MapScripts:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 2 ; scene scripts
|
2018-02-01 04:16:51 +00:00
|
|
|
scene_script .InitializeTimeCapsule ; SCENE_TIMECAPSULE_0
|
|
|
|
scene_script .DummyScene ; SCENE_TIMECAPSULE_1
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; callbacks
|
2018-01-13 05:47:38 +00:00
|
|
|
callback MAPCALLBACK_OBJECTS, .SetWhichChris
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.InitializeTimeCapsule:
|
2017-12-11 03:34:42 +00:00
|
|
|
priorityjump .InitializeAndPreparePokecenter2F
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-24 18:46:34 +00:00
|
|
|
.DummyScene:
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-10 22:53:21 +00:00
|
|
|
.SetWhichChris:
|
2018-01-24 16:17:05 +00:00
|
|
|
special CableClubCheckWhichChris
|
2015-07-16 22:10:10 +00:00
|
|
|
iffalse .Chris2
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear TIMECAPSULE_CHRIS2
|
|
|
|
appear TIMECAPSULE_CHRIS1
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2015-07-16 22:10:10 +00:00
|
|
|
.Chris2:
|
2015-11-27 05:22:14 +00:00
|
|
|
disappear TIMECAPSULE_CHRIS1
|
|
|
|
appear TIMECAPSULE_CHRIS2
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2017-12-11 03:34:42 +00:00
|
|
|
.InitializeAndPreparePokecenter2F:
|
2018-02-01 04:16:51 +00:00
|
|
|
setscene SCENE_TIMECAPSULE_1
|
|
|
|
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_3
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
MapTimeCapsuleSignpost1Script:
|
2018-01-24 16:17:05 +00:00
|
|
|
special TimeCapsule
|
2015-11-12 04:38:57 +00:00
|
|
|
newloadmap MAPSETUP_LINKRETURN
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-07-10 08:45:35 +00:00
|
|
|
ChrisScript_0x19351a:
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x193521
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
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
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
TimeCapsule_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 2 ; warp events
|
2018-01-28 18:20:04 +00:00
|
|
|
warp_event 4, 7, 4, POKECENTER_2F
|
|
|
|
warp_event 5, 7, 4, POKECENTER_2F
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; coord events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 2 ; bg events
|
2017-12-24 18:46:34 +00:00
|
|
|
bg_event 4, 4, BGEVENT_RIGHT, MapTimeCapsuleSignpost1Script
|
2017-12-28 19:31:25 +00:00
|
|
|
bg_event 5, 4, BGEVENT_LEFT, MapTimeCapsuleSignpost1Script
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 2 ; object events
|
2018-01-24 15:46:49 +00:00
|
|
|
object_event 3, 4, SPRITE_CHRIS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ChrisScript_0x19351a, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
|
|
|
object_event 6, 4, SPRITE_CHRIS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ChrisScript_0x19351a, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
|