2020-07-24 06:49:26 -07:00
|
|
|
object_const_def
|
2015-11-26 21:22:14 -08:00
|
|
|
const TRADECENTER_CHRIS1
|
|
|
|
const TRADECENTER_CHRIS2
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
TradeCenter_MapScripts:
|
2020-07-24 06:49:26 -07:00
|
|
|
def_scene_scripts
|
2022-08-09 15:04:18 -07:00
|
|
|
scene_script TradeCenterInitializeScene, SCENE_TRADECENTER_INITIALIZE
|
|
|
|
scene_script TradeCenterNoopScene, SCENE_TRADECENTER_NOOP
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_callbacks
|
2022-08-09 15:04:18 -07:00
|
|
|
callback MAPCALLBACK_OBJECTS, TradeCenterSetWhichChrisCallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2022-08-09 15:04:18 -07:00
|
|
|
TradeCenterInitializeScene:
|
|
|
|
sdefer TradeCenterInitializeAndPreparePokecenter2FScript
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2022-08-09 15:04:18 -07:00
|
|
|
TradeCenterNoopScene:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2022-08-09 15:04:18 -07:00
|
|
|
TradeCenterSetWhichChrisCallback:
|
2018-01-24 08:17:05 -08:00
|
|
|
special CableClubCheckWhichChris
|
2015-07-16 15:10:10 -07:00
|
|
|
iffalse .Chris2
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear TRADECENTER_CHRIS2
|
|
|
|
appear TRADECENTER_CHRIS1
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-16 15:10:10 -07:00
|
|
|
.Chris2:
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear TRADECENTER_CHRIS1
|
|
|
|
appear TRADECENTER_CHRIS2
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2022-08-09 15:04:18 -07:00
|
|
|
TradeCenterInitializeAndPreparePokecenter2FScript:
|
2022-07-29 14:43:10 -07:00
|
|
|
setscene SCENE_TRADECENTER_NOOP
|
2018-02-01 09:40:58 -08:00
|
|
|
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_TRADE_CENTER
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-02-27 16:33:38 -08:00
|
|
|
TradeCenterConsoleScript:
|
2018-01-24 08:17:05 -08:00
|
|
|
special TradeCenter
|
2015-11-11 20:38:57 -08:00
|
|
|
newloadmap MAPSETUP_LINKRETURN
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2020-10-26 12:45:57 -07:00
|
|
|
TradeCenterFriendScript: ; unreferenced
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2020-10-26 12:45:57 -07:00
|
|
|
writetext TradeCenterFriendReadyText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2020-10-26 12:45:57 -07:00
|
|
|
TradeCenterFriendReadyText:
|
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:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_warp_events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 4, 7, POKECENTER_2F, 2
|
|
|
|
warp_event 5, 7, POKECENTER_2F, 2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_coord_events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_bg_events
|
2018-02-27 16:33:38 -08:00
|
|
|
bg_event 4, 4, BGEVENT_RIGHT, TradeCenterConsoleScript
|
|
|
|
bg_event 5, 4, BGEVENT_LEFT, TradeCenterConsoleScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_object_events
|
2018-02-27 16:33:38 -08:00
|
|
|
object_event 3, 4, SPRITE_CHRIS, SPRITEMOVEDATA_STANDING_RIGHT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CableClubFriendScript, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_1
|
|
|
|
object_event 6, 4, SPRITE_CHRIS, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CableClubFriendScript, EVENT_TEMPORARY_UNTIL_MAP_RELOAD_2
|