2015-11-26 21:22:14 -08:00
|
|
|
const_value set 2
|
|
|
|
const OLIVINECITY_SAILOR1
|
|
|
|
const OLIVINECITY_STANDING_YOUNGSTER
|
|
|
|
const OLIVINECITY_SAILOR2
|
|
|
|
const OLIVINECITY_OLIVINE_RIVAL
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OlivineCity_MapScriptHeader:
|
2015-07-20 21:02:21 -07:00
|
|
|
.MapTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
2017-12-10 14:53:21 -08:00
|
|
|
maptrigger .DummyTrigger0
|
|
|
|
maptrigger .DummyTrigger1
|
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
|
2016-01-06 04:44:50 -08:00
|
|
|
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.DummyTrigger0:
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-10 14:53:21 -08:00
|
|
|
.DummyTrigger1:
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownScript_0x1a8833:
|
2015-07-21 23:49:18 -07:00
|
|
|
spriteface PLAYER, LEFT
|
|
|
|
showemote EMOTE_SHOCK, PLAYER, 15
|
2015-12-01 18:54:11 -08:00
|
|
|
special 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
|
2015-11-26 21:22:14 -08:00
|
|
|
applymovement OLIVINECITY_OLIVINE_RIVAL, MovementData_0x1a88d2
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a88fa
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x1a88f4
|
|
|
|
spriteface PLAYER, RIGHT
|
2015-11-26 21:22:14 -08:00
|
|
|
applymovement OLIVINECITY_OLIVINE_RIVAL, MovementData_0x1a88db
|
2013-02-16 22:54:07 -08:00
|
|
|
dotrigger $1
|
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
|
2016-04-30 18:20:12 -07:00
|
|
|
special MapCallbackSprites_LoadUsedSpritesGFX
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownScript_0x1a886b:
|
2015-07-21 23:49:18 -07:00
|
|
|
spriteface PLAYER, LEFT
|
|
|
|
showemote EMOTE_SHOCK, PLAYER, 15
|
2015-12-01 18:54:11 -08:00
|
|
|
special 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
|
2015-11-26 21:22:14 -08:00
|
|
|
applymovement OLIVINECITY_OLIVINE_RIVAL, MovementData_0x1a88d6
|
2014-04-30 03:04:35 -07:00
|
|
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a88fa
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
2015-07-21 23:49:18 -07:00
|
|
|
applymovement PLAYER, MovementData_0x1a88f7
|
|
|
|
spriteface PLAYER, RIGHT
|
2015-11-26 21:22:14 -08:00
|
|
|
applymovement OLIVINECITY_OLIVINE_RIVAL, MovementData_0x1a88e8
|
|
|
|
disappear OLIVINECITY_OLIVINE_RIVAL
|
2013-02-16 22:54:07 -08:00
|
|
|
dotrigger $1
|
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
|
2016-04-30 18:20:12 -07:00
|
|
|
special MapCallbackSprites_LoadUsedSpritesGFX
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
SailorScript_0x1a88a3:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x1a8a58
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
StandingYoungsterScript_0x1a88a6:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-02-16 22:54:07 -08:00
|
|
|
random $2
|
|
|
|
if_equal $0, UnknownScript_0x1a88b4
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a8b04
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownScript_0x1a88b4:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a8b41
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
SailorScript_0x1a88ba:
|
2013-02-16 22:54:07 -08:00
|
|
|
jumptextfaceplayer UnknownText_0x1a8b71
|
|
|
|
|
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
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OlivineCityPokeCenterSign:
|
2015-06-23 14:02:58 -07:00
|
|
|
jumpstd pokecentersign
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OlivineCityMartSign:
|
2015-06-23 14:02:58 -07:00
|
|
|
jumpstd martsign
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MovementData_0x1a88d2:
|
2016-05-14 10:46:14 -07:00
|
|
|
step DOWN
|
|
|
|
step RIGHT
|
|
|
|
step RIGHT
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MovementData_0x1a88d6:
|
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
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MovementData_0x1a88db:
|
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
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MovementData_0x1a88e8:
|
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
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MovementData_0x1a88f4:
|
2016-05-14 10:46:14 -07:00
|
|
|
step DOWN
|
|
|
|
turn_head UP
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MovementData_0x1a88f7:
|
2016-05-14 10:46:14 -07:00
|
|
|
step UP
|
|
|
|
turn_head DOWN
|
2013-02-16 22:54:07 -08:00
|
|
|
step_end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x1a88fa:
|
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
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x1a8a58:
|
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
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x1a8b04:
|
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
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x1a8b41:
|
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
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x1a8b71:
|
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
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x1a8cba:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BATTLE TOWER AHEAD"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
OlivineCity_MapEventHeader:
|
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 11
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $15, $d, 1, OLIVINE_POKECENTER_1F
|
|
|
|
warp_def $b, $a, 1, OLIVINE_GYM
|
2016-04-07 03:13:59 -07:00
|
|
|
warp_def $b, $19, 1, OLIVINE_TIMS_HOUSE
|
2015-07-23 09:59:19 -07:00
|
|
|
warp_def $0, $0, 1, OLIVINE_HOUSE_BETA
|
|
|
|
warp_def $b, $1d, 1, OLIVINE_PUNISHMENT_SPEECH_HOUSE
|
|
|
|
warp_def $f, $d, 1, OLIVINE_GOOD_ROD_HOUSE
|
|
|
|
warp_def $15, $7, 1, OLIVINE_CAFE
|
|
|
|
warp_def $11, $13, 2, OLIVINE_MART
|
|
|
|
warp_def $1b, $1d, 1, OLIVINE_LIGHTHOUSE_1F
|
|
|
|
warp_def $1b, $13, 1, OLIVINE_PORT_PASSAGE
|
|
|
|
warp_def $1b, $14, 2, OLIVINE_PORT_PASSAGE
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.XYTriggers:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 2
|
|
|
|
xy_trigger 0, $c, $d, $0, UnknownScript_0x1a8833, $0, $0
|
|
|
|
xy_trigger 0, $d, $d, $0, UnknownScript_0x1a886b, $0, $0
|
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.Signposts:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 7
|
2015-07-16 15:10:10 -07:00
|
|
|
signpost 11, 17, SIGNPOST_READ, OlivineCitySign
|
|
|
|
signpost 24, 20, SIGNPOST_READ, OlivineCityPortSign
|
|
|
|
signpost 11, 7, SIGNPOST_READ, OlivineGymSign
|
|
|
|
signpost 28, 30, SIGNPOST_READ, OlivineLighthouseSign
|
|
|
|
signpost 23, 3, SIGNPOST_READ, OlivineCityBattleTowerSign
|
|
|
|
signpost 21, 14, SIGNPOST_READ, OlivineCityPokeCenterSign
|
|
|
|
signpost 17, 20, SIGNPOST_READ, OlivineCityMartSign
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-07-20 21:02:21 -07:00
|
|
|
.PersonEvents:
|
2013-02-16 22:54:07 -08:00
|
|
|
db 4
|
2015-11-15 12:07:20 -08:00
|
|
|
person_event SPRITE_SAILOR, 27, 26, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, SailorScript_0x1a88a3, -1
|
2017-12-10 17:50:08 -08:00
|
|
|
person_event SPRITE_STANDING_YOUNGSTER, 13, 20, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, PERSONTYPE_SCRIPT, 0, StandingYoungsterScript_0x1a88a6, -1
|
2015-11-15 12:07:20 -08:00
|
|
|
person_event SPRITE_SAILOR, 21, 17, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, PERSONTYPE_SCRIPT, 0, SailorScript_0x1a88ba, -1
|
|
|
|
person_event SPRITE_OLIVINE_RIVAL, 11, 10, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, 0, PERSONTYPE_SCRIPT, 0, ObjectEvent, EVENT_RIVAL_OLIVINE_CITY
|