2015-11-26 21:22:14 -08:00
|
|
|
const_value set 2
|
|
|
|
const TRADECENTER_CHRIS1
|
|
|
|
const TRADECENTER_CHRIS2
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
TradeCenter_MapScripts:
|
2017-12-24 10:46:34 -08:00
|
|
|
.SceneScripts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2017-12-24 10:46:34 -08:00
|
|
|
scene_script .InitializeTradeCenter
|
|
|
|
scene_script .DummyScene
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapCallbacks:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 1
|
2018-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_OBJECTS, .SetWhichChris
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.InitializeTradeCenter:
|
2017-12-10 19:34:42 -08:00
|
|
|
priorityjump .InitializeAndPreparePokecenter2F
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.SetWhichChris:
|
2015-07-16 15:10:10 -07:00
|
|
|
special Special_CableClubCheckWhichChris
|
|
|
|
iffalse .Chris2
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear TRADECENTER_CHRIS2
|
|
|
|
appear TRADECENTER_CHRIS1
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Chris2:
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear TRADECENTER_CHRIS1
|
|
|
|
appear TRADECENTER_CHRIS2
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2017-12-10 19:34:42 -08:00
|
|
|
.InitializeAndPreparePokecenter2F:
|
2018-01-09 15:45:25 -08:00
|
|
|
setscene 1
|
|
|
|
setmapscene POKECENTER_2F, 1
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-10 01:45:35 -07:00
|
|
|
MapTradeCenterSignpost1Script:
|
2015-07-16 15:10:10 -07:00
|
|
|
special Special_TradeCenter
|
2015-11-11 20:38:57 -08:00
|
|
|
newloadmap MAPSETUP_LINKRETURN
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
ChrisScript_0x19340b:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-16 15:10:10 -07:00
|
|
|
writetext .FriendReadyText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.FriendReadyText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Your friend is"
|
|
|
|
line "ready."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
TradeCenter_MapEvents:
|
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 2
|
2017-12-28 11:31:25 -08:00
|
|
|
warp_def 4, 7, 2, POKECENTER_2F
|
|
|
|
warp_def 5, 7, 2, POKECENTER_2F
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.CoordEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 0
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.BGEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2017-12-24 10:46:34 -08:00
|
|
|
bg_event 4, 4, BGEVENT_RIGHT, MapTradeCenterSignpost1Script
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 5, 4, BGEVENT_LEFT, MapTradeCenterSignpost1Script
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.ObjectEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 3, 4, SPRITE_CHRIS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ChrisScript_0x193499, EVENT_GAVE_KURT_APRICORNS
|
|
|
|
object_event 6, 4, SPRITE_CHRIS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ChrisScript_0x193499, EVENT_RECEIVED_BALLS_FROM_KURT
|