2015-06-26 04:01:08 +00:00
|
|
|
OlivineCity_MapScriptHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; trigger count
|
|
|
|
db 2
|
|
|
|
|
|
|
|
; triggers
|
2015-06-26 05:30:16 +00:00
|
|
|
dw .Trigger1, $0000
|
|
|
|
dw .Trigger2, $0000
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; callback count
|
|
|
|
db 1
|
|
|
|
|
|
|
|
; callbacks
|
2015-06-26 05:30:16 +00:00
|
|
|
dbw 5, .FlyPoint
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
.Trigger1
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
.Trigger2
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-06-26 05:30:16 +00:00
|
|
|
.FlyPoint
|
|
|
|
setflag ENGINE_FLYPOINT_OLIVINE
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownScript_0x1a8833:
|
2013-02-17 06:54:07 +00:00
|
|
|
spriteface $0, $2
|
|
|
|
showemote $0, $0, 15
|
2015-02-11 23:03:42 +00:00
|
|
|
special Functionc48f
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_ENTER_DOOR
|
2013-02-17 06:54:07 +00:00
|
|
|
appear $5
|
|
|
|
waitbutton
|
|
|
|
applymovement $5, MovementData_0x1a88d2
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a88fa
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
applymovement $0, MovementData_0x1a88f4
|
|
|
|
spriteface $0, $3
|
|
|
|
applymovement $5, MovementData_0x1a88db
|
|
|
|
dotrigger $1
|
|
|
|
disappear $5
|
2015-02-11 23:03:42 +00:00
|
|
|
special RestartMapMusic
|
2013-02-17 06:54:07 +00:00
|
|
|
variablesprite $5, $31
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function14209
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownScript_0x1a886b:
|
2013-02-17 06:54:07 +00:00
|
|
|
spriteface $0, $2
|
|
|
|
showemote $0, $0, 15
|
2015-02-11 23:03:42 +00:00
|
|
|
special Functionc48f
|
2013-02-17 06:54:07 +00:00
|
|
|
pause 15
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_ENTER_DOOR
|
2013-02-17 06:54:07 +00:00
|
|
|
appear $5
|
|
|
|
waitbutton
|
|
|
|
applymovement $5, MovementData_0x1a88d6
|
2014-04-30 10:04:35 +00:00
|
|
|
playmusic MUSIC_RIVAL_ENCOUNTER
|
2013-02-17 06:54:07 +00:00
|
|
|
loadfont
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a88fa
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
applymovement $0, MovementData_0x1a88f7
|
|
|
|
spriteface $0, $3
|
|
|
|
applymovement $5, MovementData_0x1a88e8
|
|
|
|
disappear $5
|
|
|
|
dotrigger $1
|
2015-02-11 23:03:42 +00:00
|
|
|
special RestartMapMusic
|
2013-02-17 06:54:07 +00:00
|
|
|
variablesprite $5, $31
|
2015-02-11 23:03:42 +00:00
|
|
|
special Function14209
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
SailorScript_0x1a88a3:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer UnknownText_0x1a8a58
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
StandingYoungsterScript_0x1a88a6:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
|
|
|
loadfont
|
|
|
|
random $2
|
|
|
|
if_equal $0, UnknownScript_0x1a88b4
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a8b04
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownScript_0x1a88b4:
|
2015-01-20 08:01:23 +00:00
|
|
|
writetext UnknownText_0x1a8b41
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
loadmovesprites
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
SailorScript_0x1a88ba:
|
2013-02-17 06:54:07 +00:00
|
|
|
jumptextfaceplayer UnknownText_0x1a8b71
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
OlivineCitySign:
|
|
|
|
jumptext OlivineCitySignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
OlivineCityPortSign:
|
|
|
|
jumptext OlivineCityPortSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
OlivineGymSign:
|
|
|
|
jumptext OlivineGymSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
OlivineLighthouseSign:
|
|
|
|
jumptext OlivineLighthouseSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
OlivineCityBattleTowerSign:
|
|
|
|
jumptext OlivineCityBattleTowerSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
OlivineCityPokeCenterSign:
|
2015-06-23 21:02:58 +00:00
|
|
|
jumpstd pokecentersign
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
OlivineCityMartSign:
|
2015-06-23 21:02:58 +00:00
|
|
|
jumpstd martsign
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MovementData_0x1a88d2:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_down
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MovementData_0x1a88d6:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_down
|
|
|
|
step_down
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MovementData_0x1a88db:
|
2013-02-17 06:54:07 +00: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
|
|
|
|
step_end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MovementData_0x1a88e8:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_right
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_up
|
|
|
|
step_end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MovementData_0x1a88f4:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_down
|
|
|
|
turn_head_up
|
|
|
|
step_end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
MovementData_0x1a88f7:
|
2013-02-17 06:54:07 +00:00
|
|
|
step_up
|
|
|
|
turn_head_down
|
|
|
|
step_end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1a88fa:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1a8a58:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1a8b04:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "That thing you"
|
|
|
|
line "have--it's a #-"
|
|
|
|
cont "GEAR, right? Wow,"
|
|
|
|
cont "that's cool."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1a8b41:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Wow, you have a"
|
|
|
|
line "#DEX!"
|
|
|
|
|
|
|
|
para "That is just so"
|
|
|
|
line "awesome."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1a8b71:
|
2014-03-06 05:29:44 +00: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-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
OlivineCitySignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "OLIVINE CITY"
|
|
|
|
|
|
|
|
para "The Port Closest"
|
|
|
|
line "to Foreign Lands"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
OlivineCityPortSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "OLIVINE PORT"
|
|
|
|
line "FAST SHIP PIER"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
OlivineGymSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "OLIVINE CITY"
|
|
|
|
line "#MON GYM"
|
|
|
|
cont "LEADER: JASMINE"
|
|
|
|
|
|
|
|
para "The Steel-Clad"
|
|
|
|
line "Defense Girl"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
OlivineLighthouseSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "OLIVINE LIGHTHOUSE"
|
|
|
|
line "Also known as the"
|
|
|
|
cont "GLITTER LIGHTHOUSE"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
OlivineCityBattleTowerSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "BATTLE TOWER AHEAD"
|
|
|
|
line "Opening Now!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
UnknownText_0x1a8cba:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "BATTLE TOWER AHEAD"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
OlivineCity_MapEventHeader:
|
2013-02-17 06:54:07 +00:00
|
|
|
; filler
|
|
|
|
db 0, 0
|
|
|
|
|
|
|
|
; warps
|
|
|
|
db 11
|
|
|
|
warp_def $15, $d, 1, GROUP_OLIVINE_POKECENTER_1F, MAP_OLIVINE_POKECENTER_1F
|
|
|
|
warp_def $b, $a, 1, GROUP_OLIVINE_GYM, MAP_OLIVINE_GYM
|
|
|
|
warp_def $b, $19, 1, GROUP_OLIVINE_VOLTORB_HOUSE, MAP_OLIVINE_VOLTORB_HOUSE
|
|
|
|
warp_def $0, $0, 1, GROUP_OLIVINE_HOUSE_BETA, MAP_OLIVINE_HOUSE_BETA
|
|
|
|
warp_def $b, $1d, 1, GROUP_OLIVINE_PUNISHMENT_SPEECH_HOUSE, MAP_OLIVINE_PUNISHMENT_SPEECH_HOUSE
|
|
|
|
warp_def $f, $d, 1, GROUP_OLIVINE_GOOD_ROD_HOUSE, MAP_OLIVINE_GOOD_ROD_HOUSE
|
|
|
|
warp_def $15, $7, 1, GROUP_OLIVINE_CAFE, MAP_OLIVINE_CAFE
|
|
|
|
warp_def $11, $13, 2, GROUP_OLIVINE_MART, MAP_OLIVINE_MART
|
|
|
|
warp_def $1b, $1d, 1, GROUP_OLIVINE_LIGHTHOUSE_1F, MAP_OLIVINE_LIGHTHOUSE_1F
|
|
|
|
warp_def $1b, $13, 1, GROUP_OLIVINE_PORT_PASSAGE, MAP_OLIVINE_PORT_PASSAGE
|
|
|
|
warp_def $1b, $14, 2, GROUP_OLIVINE_PORT_PASSAGE, MAP_OLIVINE_PORT_PASSAGE
|
|
|
|
|
|
|
|
; xy triggers
|
|
|
|
db 2
|
|
|
|
xy_trigger 0, $c, $d, $0, UnknownScript_0x1a8833, $0, $0
|
|
|
|
xy_trigger 0, $d, $d, $0, UnknownScript_0x1a886b, $0, $0
|
|
|
|
|
|
|
|
; signposts
|
|
|
|
db 7
|
2015-06-26 04:01:08 +00:00
|
|
|
signpost 11, 17, $0, OlivineCitySign
|
|
|
|
signpost 24, 20, $0, OlivineCityPortSign
|
|
|
|
signpost 11, 7, $0, OlivineGymSign
|
|
|
|
signpost 28, 30, $0, OlivineLighthouseSign
|
|
|
|
signpost 23, 3, $0, OlivineCityBattleTowerSign
|
|
|
|
signpost 21, 14, $0, OlivineCityPokeCenterSign
|
|
|
|
signpost 17, 20, $0, OlivineCityMartSign
|
2013-02-17 06:54:07 +00:00
|
|
|
|
|
|
|
; people-events
|
|
|
|
db 4
|
2013-07-12 21:06:11 +00:00
|
|
|
person_event SPRITE_SAILOR, 31, 30, $4, $10, 255, 255, $0, 0, SailorScript_0x1a88a3, $ffff
|
|
|
|
person_event SPRITE_STANDING_YOUNGSTER, 17, 24, $3, $0, 255, 255, $80, 0, StandingYoungsterScript_0x1a88a6, $ffff
|
|
|
|
person_event SPRITE_SAILOR, 25, 21, $2, $11, 255, 255, $0, 0, SailorScript_0x1a88ba, $ffff
|
|
|
|
person_event SPRITE_OLIVINE_RIVAL, 15, 14, $6, $0, 255, 255, $0, 0, ObjectEvent, $06c3
|