2020-07-24 06:49:26 -07:00
|
|
|
object_const_def
|
2015-11-26 21:22:14 -08:00
|
|
|
const OLIVINECITY_SAILOR1
|
|
|
|
const OLIVINECITY_STANDING_YOUNGSTER
|
|
|
|
const OLIVINECITY_SAILOR2
|
|
|
|
const OLIVINECITY_OLIVINE_RIVAL
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
OlivineCity_MapScripts:
|
2020-07-24 06:49:26 -07:00
|
|
|
def_scene_scripts
|
2018-02-01 09:40:58 -08:00
|
|
|
scene_script .DummyScene0 ; SCENE_DEFAULT
|
2018-02-01 12:06:06 -08:00
|
|
|
scene_script .DummyScene1 ; SCENE_FINISHED
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_callbacks
|
2018-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_NEWMAP, .FlyPoint
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene0:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-24 10:46:34 -08:00
|
|
|
.DummyScene1:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.FlyPoint:
|
2015-06-25 22:30:16 -07:00
|
|
|
setflag ENGINE_FLYPOINT_OLIVINE
|
2020-07-17 05:37:03 -07:00
|
|
|
endcallback
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
OlivineCityRivalSceneTop:
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, LEFT
|
2015-07-21 23:49:18 -07:00
|
|
|
showemote EMOTE_SHOCK, PLAYER, 15
|
2018-01-24 08:17:05 -08:00
|
|
|
special FadeOutMusic
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_ENTER_DOOR
|
2015-11-26 21:22:14 -08:00
|
|
|
appear OLIVINECITY_OLIVINE_RIVAL
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2020-10-04 15:15:38 -07:00
|
|
|
applymovement OLIVINECITY_OLIVINE_RIVAL, OlivineCityRivalApproachesTopMovement
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext OlivineCityRivalText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2020-10-04 15:15:38 -07:00
|
|
|
applymovement PLAYER, OlivineCityPlayerStepsAsideTopMovement
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, RIGHT
|
2020-10-04 15:15:38 -07:00
|
|
|
applymovement OLIVINECITY_OLIVINE_RIVAL, OlivineCityRivalLeavesTopMovement
|
2018-02-01 12:06:06 -08:00
|
|
|
setscene SCENE_FINISHED
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear OLIVINECITY_OLIVINE_RIVAL
|
2015-02-11 15:03:42 -08:00
|
|
|
special RestartMapMusic
|
2015-07-12 23:23:48 -07:00
|
|
|
variablesprite SPRITE_OLIVINE_RIVAL, SPRITE_SWIMMER_GUY
|
2018-01-24 08:17:05 -08:00
|
|
|
special LoadUsedSpritesGFX
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
OlivineCityRivalSceneBottom:
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, LEFT
|
2015-07-21 23:49:18 -07:00
|
|
|
showemote EMOTE_SHOCK, PLAYER, 15
|
2018-01-24 08:17:05 -08:00
|
|
|
special FadeOutMusic
|
2013-02-16 22:54:07 -08:00
|
|
|
pause 15
|
2014-04-30 03:04:35 -07:00
|
|
|
playsound SFX_ENTER_DOOR
|
2015-11-26 21:22:14 -08:00
|
|
|
appear OLIVINECITY_OLIVINE_RIVAL
|
2015-11-25 07:16:29 -08:00
|
|
|
waitsfx
|
2020-10-04 15:15:38 -07:00
|
|
|
applymovement OLIVINECITY_OLIVINE_RIVAL, OlivineCityRivalApproachesBottomMovement
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext OlivineCityRivalText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2020-10-04 15:15:38 -07:00
|
|
|
applymovement PLAYER, OlivineCityPlayerStepsAsideBottomMovement
|
2018-02-25 17:05:37 -08:00
|
|
|
turnobject PLAYER, RIGHT
|
2020-10-04 15:15:38 -07:00
|
|
|
applymovement OLIVINECITY_OLIVINE_RIVAL, OlivineCityRivalLeavesBottomMovement
|
2015-11-26 21:22:14 -08:00
|
|
|
disappear OLIVINECITY_OLIVINE_RIVAL
|
2018-02-01 12:06:06 -08:00
|
|
|
setscene SCENE_FINISHED
|
2015-02-11 15:03:42 -08:00
|
|
|
special RestartMapMusic
|
2015-07-12 23:23:48 -07:00
|
|
|
variablesprite SPRITE_OLIVINE_RIVAL, SPRITE_SWIMMER_GUY
|
2018-01-24 08:17:05 -08:00
|
|
|
special LoadUsedSpritesGFX
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
OlivineCitySailor1Script:
|
|
|
|
jumptextfaceplayer OlivineCitySailor1Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
OlivineCityStandingYoungsterScript:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-01-11 22:40:20 -08:00
|
|
|
random 2
|
2018-02-28 14:47:31 -08:00
|
|
|
ifequal 0, .FiftyFifty
|
|
|
|
writetext OlivineCityStandingYoungsterPokegearText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
.FiftyFifty:
|
|
|
|
writetext OlivineCityStandingYoungsterPokedexText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
OlivineCitySailor2Script:
|
|
|
|
jumptextfaceplayer OlivineCitySailor2Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OlivineCitySign:
|
|
|
|
jumptext OlivineCitySignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OlivineCityPortSign:
|
|
|
|
jumptext OlivineCityPortSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OlivineGymSign:
|
|
|
|
jumptext OlivineGymSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OlivineLighthouseSign:
|
|
|
|
jumptext OlivineLighthouseSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OlivineCityBattleTowerSign:
|
|
|
|
jumptext OlivineCityBattleTowerSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 19:34:42 -08:00
|
|
|
OlivineCityPokecenterSign:
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd PokecenterSignScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OlivineCityMartSign:
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd MartSignScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-10-04 15:15:38 -07:00
|
|
|
OlivineCityRivalApproachesTopMovement:
|
2016-05-14 10:46:14 -07:00
|
|
|
step DOWN
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2020-10-04 15:15:38 -07:00
|
|
|
OlivineCityRivalApproachesBottomMovement:
|
2016-05-14 10:46:14 -07:00
|
|
|
step DOWN
|
|
|
|
step DOWN
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2020-10-04 15:15:38 -07:00
|
|
|
OlivineCityRivalLeavesTopMovement:
|
2016-05-14 10:46:14 -07:00
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step UP
|
|
|
|
step UP
|
|
|
|
step UP
|
|
|
|
step UP
|
|
|
|
step UP
|
|
|
|
step UP
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2020-10-04 15:15:38 -07:00
|
|
|
OlivineCityRivalLeavesBottomMovement:
|
2016-05-14 10:46:14 -07:00
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
|
|
|
step UP
|
|
|
|
step UP
|
|
|
|
step UP
|
|
|
|
step UP
|
|
|
|
step UP
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2020-10-04 15:15:38 -07:00
|
|
|
OlivineCityPlayerStepsAsideTopMovement:
|
2016-05-14 10:46:14 -07:00
|
|
|
step DOWN
|
|
|
|
turn_head UP
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2020-10-04 15:15:38 -07:00
|
|
|
OlivineCityPlayerStepsAsideBottomMovement:
|
2016-05-14 10:46:14 -07:00
|
|
|
step UP
|
|
|
|
turn_head DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
OlivineCityRivalText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "…"
|
|
|
|
|
|
|
|
para "You again?"
|
|
|
|
|
|
|
|
para "There's no need to"
|
|
|
|
line "panic. I don't"
|
|
|
|
|
|
|
|
para "bother with wimps"
|
|
|
|
line "like you."
|
|
|
|
|
|
|
|
para "Speaking of weak-"
|
|
|
|
line "lings, the city's"
|
|
|
|
|
|
|
|
para "GYM LEADER isn't"
|
|
|
|
line "here."
|
|
|
|
|
|
|
|
para "Supposedly taking"
|
|
|
|
line "care of a sick"
|
|
|
|
|
|
|
|
para "#MON at the"
|
|
|
|
line "LIGHTHOUSE."
|
|
|
|
|
|
|
|
para "Humph! Boo-hoo!"
|
|
|
|
line "Just let sick"
|
|
|
|
cont "#MON go!"
|
|
|
|
|
|
|
|
para "A #MON that"
|
|
|
|
line "can't battle is"
|
|
|
|
cont "worthless!"
|
|
|
|
|
|
|
|
para "Why don't you go"
|
|
|
|
line "train at the"
|
|
|
|
cont "LIGHTHOUSE?"
|
|
|
|
|
|
|
|
para "Who knows. It may"
|
|
|
|
line "make you a bit"
|
|
|
|
cont "less weak!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
OlivineCitySailor1Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Dark roads are"
|
|
|
|
line "dangerous at"
|
|
|
|
cont "night."
|
|
|
|
|
|
|
|
para "But in the pitch-"
|
|
|
|
line "black of night,"
|
|
|
|
|
|
|
|
para "the sea is even"
|
|
|
|
line "more treacherous!"
|
|
|
|
|
|
|
|
para "Without the beacon"
|
|
|
|
line "of the LIGHTHOUSE"
|
|
|
|
|
|
|
|
para "to guide it, no"
|
|
|
|
line "ship can sail."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
OlivineCityStandingYoungsterPokegearText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "That thing you"
|
|
|
|
line "have--it's a #-"
|
|
|
|
cont "GEAR, right? Wow,"
|
|
|
|
cont "that's cool."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-02-28 14:47:31 -08:00
|
|
|
OlivineCityStandingYoungsterPokedexText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Wow, you have a"
|
|
|
|
line "#DEX!"
|
|
|
|
|
|
|
|
para "That is just so"
|
|
|
|
line "awesome."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
OlivineCitySailor2Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The sea is sweet!"
|
|
|
|
|
|
|
|
para "Sunsets on the sea"
|
|
|
|
line "are marvelous!"
|
|
|
|
|
|
|
|
para "Sing with me! "
|
|
|
|
line "Yo-ho! Blow the"
|
|
|
|
cont "man down!…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OlivineCitySignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "OLIVINE CITY"
|
|
|
|
|
|
|
|
para "The Port Closest"
|
|
|
|
line "to Foreign Lands"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OlivineCityPortSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "OLIVINE PORT"
|
|
|
|
line "FAST SHIP PIER"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OlivineGymSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "OLIVINE CITY"
|
|
|
|
line "#MON GYM"
|
|
|
|
cont "LEADER: JASMINE"
|
|
|
|
|
|
|
|
para "The Steel-Clad"
|
|
|
|
line "Defense Girl"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OlivineLighthouseSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "OLIVINE LIGHTHOUSE"
|
|
|
|
line "Also known as the"
|
|
|
|
cont "GLITTER LIGHTHOUSE"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OlivineCityBattleTowerSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BATTLE TOWER AHEAD"
|
|
|
|
line "Opening Now!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-10-26 12:45:57 -07:00
|
|
|
OlivineCityBattleTowerSignText_NotYetOpen: ; unreferenced
|
|
|
|
; originally shown when the Battle Tower was closed
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BATTLE TOWER AHEAD"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
OlivineCity_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 18:54:00 -08:00
|
|
|
warp_event 13, 21, OLIVINE_POKECENTER_1F, 1
|
|
|
|
warp_event 10, 11, OLIVINE_GYM, 1
|
|
|
|
warp_event 25, 11, OLIVINE_TIMS_HOUSE, 1
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 0, 0, OLIVINE_HOUSE_BETA, 1 ; inaccessible
|
2018-02-01 18:54:00 -08:00
|
|
|
warp_event 29, 11, OLIVINE_PUNISHMENT_SPEECH_HOUSE, 1
|
|
|
|
warp_event 13, 15, OLIVINE_GOOD_ROD_HOUSE, 1
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 7, 21, OLIVINE_CAFE, 1
|
2018-02-01 18:54:00 -08:00
|
|
|
warp_event 19, 17, OLIVINE_MART, 2
|
|
|
|
warp_event 29, 27, OLIVINE_LIGHTHOUSE_1F, 1
|
|
|
|
warp_event 19, 27, OLIVINE_PORT_PASSAGE, 1
|
|
|
|
warp_event 20, 27, OLIVINE_PORT_PASSAGE, 2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_coord_events
|
2018-02-28 14:47:31 -08:00
|
|
|
coord_event 13, 12, SCENE_DEFAULT, OlivineCityRivalSceneTop
|
|
|
|
coord_event 13, 13, SCENE_DEFAULT, OlivineCityRivalSceneBottom
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_bg_events
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 17, 11, BGEVENT_READ, OlivineCitySign
|
|
|
|
bg_event 20, 24, BGEVENT_READ, OlivineCityPortSign
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 7, 11, BGEVENT_READ, OlivineGymSign
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 30, 28, BGEVENT_READ, OlivineLighthouseSign
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 3, 23, BGEVENT_READ, OlivineCityBattleTowerSign
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 14, 21, BGEVENT_READ, OlivineCityPokecenterSign
|
|
|
|
bg_event 20, 17, BGEVENT_READ, OlivineCityMartSign
|
2017-12-24 10:46:34 -08:00
|
|
|
|
2020-07-24 06:49:26 -07:00
|
|
|
def_object_events
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 26, 27, SPRITE_SAILOR, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivineCitySailor1Script, -1
|
2018-02-28 14:47:31 -08:00
|
|
|
object_event 20, 13, SPRITE_STANDING_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, OlivineCityStandingYoungsterScript, -1
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 17, 21, SPRITE_SAILOR, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivineCitySailor2Script, -1
|
|
|
|
object_event 10, 11, SPRITE_OLIVINE_RIVAL, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_RIVAL_OLIVINE_CITY
|