2020-07-24 09:49:26 -04:00
|
|
|
object_const_def
|
2015-11-27 00:22:14 -05:00
|
|
|
const COLOSSEUM_CHRIS1
|
|
|
|
const COLOSSEUM_CHRIS2
|
|
|
|
|
2018-01-16 22:57:19 -05:00
|
|
|
Colosseum_MapScripts:
|
2020-07-24 09:49:26 -04:00
|
|
|
def_scene_scripts
|
2018-02-01 12:40:58 -05:00
|
|
|
scene_script .InitializeColosseum ; SCENE_DEFAULT
|
2018-02-01 15:06:06 -05:00
|
|
|
scene_script .DummyScene1 ; SCENE_FINISHED
|
|
|
|
scene_script .DummyScene2 ; unused
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2020-07-24 09:49:26 -04:00
|
|
|
def_callbacks
|
2018-01-13 00:47:38 -05:00
|
|
|
callback MAPCALLBACK_OBJECTS, .SetWhichChris
|
|
|
|
callback MAPCALLBACK_NEWMAP, .PreparePokecenter2F
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2017-12-10 17:53:21 -05:00
|
|
|
.InitializeColosseum:
|
2021-06-08 20:35:04 -04:00
|
|
|
sdefer .InitializeAndPreparePokecenter2F
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2017-12-24 13:46:34 -05:00
|
|
|
.DummyScene1:
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2017-12-24 13:46:34 -05:00
|
|
|
.DummyScene2:
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2017-12-10 17:53:21 -05:00
|
|
|
.SetWhichChris:
|
2018-01-24 11:17:05 -05:00
|
|
|
special CableClubCheckWhichChris
|
2015-07-16 18:10:10 -04:00
|
|
|
iffalse .Chris2
|
2015-11-27 00:22:14 -05:00
|
|
|
disappear COLOSSEUM_CHRIS2
|
|
|
|
appear COLOSSEUM_CHRIS1
|
2020-07-17 08:37:03 -04:00
|
|
|
endcallback
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2015-07-16 18:10:10 -04:00
|
|
|
.Chris2:
|
2015-11-27 00:22:14 -05:00
|
|
|
disappear COLOSSEUM_CHRIS1
|
|
|
|
appear COLOSSEUM_CHRIS2
|
2020-07-17 08:37:03 -04:00
|
|
|
endcallback
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2017-12-10 22:34:42 -05:00
|
|
|
.PreparePokecenter2F:
|
2018-02-01 12:40:58 -05:00
|
|
|
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_COLOSSEUM
|
2020-07-17 08:37:03 -04:00
|
|
|
endcallback
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2017-12-10 22:34:42 -05:00
|
|
|
.InitializeAndPreparePokecenter2F:
|
2018-02-01 15:06:06 -05:00
|
|
|
setscene SCENE_FINISHED
|
2018-02-01 12:40:58 -05:00
|
|
|
setmapscene POKECENTER_2F, SCENE_POKECENTER2F_LEAVE_COLOSSEUM
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2018-02-27 19:33:38 -05:00
|
|
|
ColosseumConsoleScript:
|
2018-01-24 11:17:05 -05:00
|
|
|
special Colosseum
|
2015-11-11 23:38:57 -05:00
|
|
|
newloadmap MAPSETUP_LINKRETURN
|
2013-02-17 01:54:07 -05:00
|
|
|
end
|
|
|
|
|
2018-02-27 19:33:38 -05:00
|
|
|
CableClubFriendScript:
|
2015-12-09 18:25:44 -05:00
|
|
|
opentext
|
2015-07-16 18:10:10 -04:00
|
|
|
writetext .FriendReadyText
|
2015-11-25 10:16:29 -05:00
|
|
|
waitbutton
|
2013-02-17 01:54:07 -05:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-07-16 18:10:10 -04:00
|
|
|
.FriendReadyText:
|
2014-03-06 00:29:44 -05:00
|
|
|
text "Your friend is"
|
|
|
|
line "ready."
|
|
|
|
done
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2018-01-16 22:57:19 -05:00
|
|
|
Colosseum_MapEvents:
|
2018-01-30 14:15:47 -05:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2020-07-24 09:49:26 -04:00
|
|
|
def_warp_events
|
2018-02-01 22:22:07 -05:00
|
|
|
warp_event 4, 7, POKECENTER_2F, 3
|
|
|
|
warp_event 5, 7, POKECENTER_2F, 3
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2020-07-24 09:49:26 -04:00
|
|
|
def_coord_events
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2020-07-24 09:49:26 -04:00
|
|
|
def_bg_events
|
2018-02-27 19:33:38 -05:00
|
|
|
bg_event 4, 4, BGEVENT_RIGHT, ColosseumConsoleScript
|
|
|
|
bg_event 5, 4, BGEVENT_LEFT, ColosseumConsoleScript
|
2013-02-17 01:54:07 -05:00
|
|
|
|
2020-07-24 09:49:26 -04:00
|
|
|
def_object_events
|
2018-02-27 19:33:38 -05: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
|