pokecrystal/maps/OlivineCity.asm

322 lines
6.5 KiB
NASM
Raw Normal View History

2018-01-31 16:38:45 +00:00
const_def 2 ; object constants
2015-11-27 05:22:14 +00:00
const OLIVINECITY_SAILOR1
const OLIVINECITY_STANDING_YOUNGSTER
const OLIVINECITY_SAILOR2
const OLIVINECITY_OLIVINE_RIVAL
OlivineCity_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_DEFAULT
scene_script .DummyScene1 ; SCENE_FINISHED
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
.DummyScene0:
end
.DummyScene1:
end
.FlyPoint:
2015-06-26 05:30:16 +00:00
setflag ENGINE_FLYPOINT_OLIVINE
return
2015-06-26 04:01:08 +00:00
UnknownScript_0x1a8833:
turnobject PLAYER, LEFT
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
pause 15
playsound SFX_ENTER_DOOR
2015-11-27 05:22:14 +00:00
appear OLIVINECITY_OLIVINE_RIVAL
2015-11-25 15:16:29 +00:00
waitsfx
2015-11-27 05:22:14 +00:00
applymovement OLIVINECITY_OLIVINE_RIVAL, MovementData_0x1a88d2
playmusic MUSIC_RIVAL_ENCOUNTER
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a88fa
2015-11-25 15:16:29 +00:00
waitbutton
closetext
applymovement PLAYER, MovementData_0x1a88f4
turnobject PLAYER, RIGHT
2015-11-27 05:22:14 +00:00
applymovement OLIVINECITY_OLIVINE_RIVAL, MovementData_0x1a88db
setscene SCENE_FINISHED
2015-11-27 05:22:14 +00:00
disappear OLIVINECITY_OLIVINE_RIVAL
special RestartMapMusic
variablesprite SPRITE_OLIVINE_RIVAL, SPRITE_SWIMMER_GUY
special LoadUsedSpritesGFX
end
2015-06-26 04:01:08 +00:00
UnknownScript_0x1a886b:
turnobject PLAYER, LEFT
showemote EMOTE_SHOCK, PLAYER, 15
special FadeOutMusic
pause 15
playsound SFX_ENTER_DOOR
2015-11-27 05:22:14 +00:00
appear OLIVINECITY_OLIVINE_RIVAL
2015-11-25 15:16:29 +00:00
waitsfx
2015-11-27 05:22:14 +00:00
applymovement OLIVINECITY_OLIVINE_RIVAL, MovementData_0x1a88d6
playmusic MUSIC_RIVAL_ENCOUNTER
2015-12-09 23:25:44 +00:00
opentext
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a88fa
2015-11-25 15:16:29 +00:00
waitbutton
closetext
applymovement PLAYER, MovementData_0x1a88f7
turnobject PLAYER, RIGHT
2015-11-27 05:22:14 +00:00
applymovement OLIVINECITY_OLIVINE_RIVAL, MovementData_0x1a88e8
disappear OLIVINECITY_OLIVINE_RIVAL
setscene SCENE_FINISHED
special RestartMapMusic
variablesprite SPRITE_OLIVINE_RIVAL, SPRITE_SWIMMER_GUY
special LoadUsedSpritesGFX
end
2017-12-18 00:48:04 +00:00
OlivineCitySailor1Script:
jumptextfaceplayer OlivineCitySailor1Text
2015-06-26 04:01:08 +00:00
StandingYoungsterScript_0x1a88a6:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2018-01-12 06:40:20 +00:00
random 2
2018-02-03 02:09:17 +00:00
ifequal 0, UnknownScript_0x1a88b4
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a8b04
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 04:01:08 +00:00
UnknownScript_0x1a88b4:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1a8b41
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2017-12-18 00:48:04 +00:00
OlivineCitySailor2Script:
jumptextfaceplayer OlivineCitySailor2Text
2015-06-26 04:01:08 +00:00
OlivineCitySign:
jumptext OlivineCitySignText
2015-06-26 04:01:08 +00:00
OlivineCityPortSign:
jumptext OlivineCityPortSignText
2015-06-26 04:01:08 +00:00
OlivineGymSign:
jumptext OlivineGymSignText
2015-06-26 04:01:08 +00:00
OlivineLighthouseSign:
jumptext OlivineLighthouseSignText
2015-06-26 04:01:08 +00:00
OlivineCityBattleTowerSign:
jumptext OlivineCityBattleTowerSignText
OlivineCityPokecenterSign:
2015-06-23 21:02:58 +00:00
jumpstd pokecentersign
2015-06-26 04:01:08 +00:00
OlivineCityMartSign:
2015-06-23 21:02:58 +00:00
jumpstd martsign
2015-06-26 04:01:08 +00:00
MovementData_0x1a88d2:
2016-05-14 17:46:14 +00:00
step DOWN
step RIGHT
step RIGHT
step_end
2015-06-26 04:01:08 +00:00
MovementData_0x1a88d6:
2016-05-14 17:46:14 +00:00
step DOWN
step DOWN
step RIGHT
step RIGHT
step_end
2015-06-26 04:01:08 +00:00
MovementData_0x1a88db:
2016-05-14 17:46:14 +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:
2016-05-14 17:46:14 +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:
2016-05-14 17:46:14 +00:00
step DOWN
turn_head UP
step_end
2015-06-26 04:01:08 +00:00
MovementData_0x1a88f7:
2016-05-14 17:46:14 +00:00
step UP
turn_head DOWN
step_end
2015-06-26 04:01:08 +00:00
UnknownText_0x1a88fa:
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
2017-12-18 00:48:04 +00:00
OlivineCitySailor1Text:
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
2015-06-26 04:01:08 +00:00
UnknownText_0x1a8b04:
text "That thing you"
line "have--it's a #-"
cont "GEAR, right? Wow,"
cont "that's cool."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1a8b41:
text "Wow, you have a"
line "#DEX!"
para "That is just so"
line "awesome."
done
2017-12-18 00:48:04 +00:00
OlivineCitySailor2Text:
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
2015-06-26 04:01:08 +00:00
OlivineCitySignText:
text "OLIVINE CITY"
para "The Port Closest"
line "to Foreign Lands"
done
2015-06-26 04:01:08 +00:00
OlivineCityPortSignText:
text "OLIVINE PORT"
line "FAST SHIP PIER"
done
2015-06-26 04:01:08 +00:00
OlivineGymSignText:
text "OLIVINE CITY"
line "#MON GYM"
cont "LEADER: JASMINE"
para "The Steel-Clad"
line "Defense Girl"
done
2015-06-26 04:01:08 +00:00
OlivineLighthouseSignText:
text "OLIVINE LIGHTHOUSE"
line "Also known as the"
cont "GLITTER LIGHTHOUSE"
done
2015-06-26 04:01:08 +00:00
OlivineCityBattleTowerSignText:
text "BATTLE TOWER AHEAD"
line "Opening Now!"
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1a8cba:
text "BATTLE TOWER AHEAD"
done
OlivineCity_MapEvents:
db 0, 0 ; filler
db 11 ; warp events
2018-02-02 02:54:00 +00: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-02 03:22:07 +00:00
warp_event 0, 0, OLIVINE_HOUSE_BETA, 1 ; inaccessible
2018-02-02 02:54:00 +00:00
warp_event 29, 11, OLIVINE_PUNISHMENT_SPEECH_HOUSE, 1
warp_event 13, 15, OLIVINE_GOOD_ROD_HOUSE, 1
2018-02-02 03:22:07 +00:00
warp_event 7, 21, OLIVINE_CAFE, 1
2018-02-02 02:54:00 +00: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
db 2 ; coord events
coord_event 13, 12, SCENE_DEFAULT, UnknownScript_0x1a8833
coord_event 13, 13, SCENE_DEFAULT, UnknownScript_0x1a886b
db 7 ; bg events
bg_event 17, 11, BGEVENT_READ, OlivineCitySign
bg_event 20, 24, BGEVENT_READ, OlivineCityPortSign
2018-02-02 03:22:07 +00:00
bg_event 7, 11, BGEVENT_READ, OlivineGymSign
bg_event 30, 28, BGEVENT_READ, OlivineLighthouseSign
2018-02-02 03:22:07 +00:00
bg_event 3, 23, BGEVENT_READ, OlivineCityBattleTowerSign
bg_event 14, 21, BGEVENT_READ, OlivineCityPokecenterSign
bg_event 20, 17, BGEVENT_READ, OlivineCityMartSign
db 4 ; object events
object_event 26, 27, SPRITE_SAILOR, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, OlivineCitySailor1Script, -1
object_event 20, 13, SPRITE_STANDING_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, StandingYoungsterScript_0x1a88a6, -1
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