pokecrystal-board/maps/CianwoodCity.asm

420 lines
9.3 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-26 21:22:14 -08:00
const CIANWOODCITY_STANDING_YOUNGSTER
const CIANWOODCITY_POKEFAN_M
const CIANWOODCITY_LASS
const CIANWOODCITY_ROCK1
const CIANWOODCITY_ROCK2
const CIANWOODCITY_ROCK3
const CIANWOODCITY_ROCK4
const CIANWOODCITY_ROCK5
const CIANWOODCITY_ROCK6
const CIANWOODCITY_POKEFAN_F
2015-12-09 08:38:40 -08:00
const CIANWOODCITY_EUSINE
2015-11-26 21:22:14 -08:00
const CIANWOODCITY_SUICUNE
CianwoodCity_MapScripts:
db 2 ; scene scripts
scene_script .DummyScene0 ; SCENE_CIANWOODCITY_NOTHING
scene_script .DummyScene1 ; SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .FlyPointAndSuicune
.DummyScene0:
end
.DummyScene1:
end
.FlyPointAndSuicune:
2015-06-25 22:30:16 -07:00
setflag ENGINE_FLYPOINT_CIANWOOD
2015-07-10 05:08:03 -07:00
setevent EVENT_EUSINE_IN_BURNED_TOWER
checkevent EVENT_FOUGHT_EUSINE
2017-10-26 17:25:36 -07:00
iffalse .Done
2015-12-09 08:38:40 -08:00
disappear CIANWOODCITY_EUSINE
2017-10-26 17:25:36 -07:00
.Done:
return
2017-10-26 17:25:36 -07:00
CianwoodCitySuicuneAndEusine:
turnobject PLAYER, UP
showemote EMOTE_SHOCK, PLAYER, 15
pause 15
playsound SFX_WARP_FROM
2018-02-28 13:50:43 -08:00
applymovement CIANWOODCITY_SUICUNE, CianwoodCitySuicuneApproachMovement
turnobject PLAYER, DOWN
pause 15
playsound SFX_WARP_FROM
2018-02-28 13:50:43 -08:00
applymovement CIANWOODCITY_SUICUNE, CianwoodCitySuicuneDepartMovement
2015-11-26 21:22:14 -08:00
disappear CIANWOODCITY_SUICUNE
pause 10
setscene SCENE_CIANWOODCITY_NOTHING
2013-09-24 00:48:58 -07:00
clearevent EVENT_SAW_SUICUNE_ON_ROUTE_42
setmapscene ROUTE_42, SCENE_ROUTE42_SUICUNE
2015-07-10 05:08:03 -07:00
checkevent EVENT_FOUGHT_EUSINE
iftrue .Done
setevent EVENT_FOUGHT_EUSINE
playmusic MUSIC_MYSTICALMAN_ENCOUNTER
2015-12-09 08:38:40 -08:00
appear CIANWOODCITY_EUSINE
2018-02-28 13:50:43 -08:00
applymovement CIANWOODCITY_EUSINE, CianwoodCityEusineApproachMovement
2015-12-09 15:25:44 -08:00
opentext
2017-10-26 17:25:36 -07:00
writetext EusineSuicuneText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2017-10-26 17:25:36 -07:00
winlosstext EusineBeatenText, 0
2015-12-09 08:38:40 -08:00
setlasttalked CIANWOODCITY_EUSINE
loadtrainer MYSTICALMAN, EUSINE
startbattle
dontrestartmapmusic
reloadmapafterbattle
playmusic MUSIC_MYSTICALMAN_ENCOUNTER
2015-12-09 15:25:44 -08:00
opentext
2017-10-26 17:25:36 -07:00
writetext EusineAfterText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2018-02-28 13:50:43 -08:00
applymovement CIANWOODCITY_EUSINE, CianwoodCityEusineDepartMovement
2015-12-09 08:38:40 -08:00
disappear CIANWOODCITY_EUSINE
pause 20
special FadeOutMusic
playmapmusic
pause 10
.Done:
end
2017-10-26 17:25:36 -07:00
CianwoodCityChucksWife:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_HM02_FLY
2017-10-26 17:25:36 -07:00
iftrue .GotFly
writetext ChucksWifeEasierToFlyText
2015-11-29 19:29:45 -08:00
buttonsound
2013-09-24 00:48:58 -07:00
checkevent EVENT_BEAT_CHUCK
2017-10-26 17:25:36 -07:00
iftrue .BeatChuck
writetext ChucksWifeBeatChuckText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2017-10-26 17:25:36 -07:00
.BeatChuck:
writetext ChucksWifeGiveHMText
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem HM_FLY
2017-10-26 17:25:36 -07:00
iffalse .Done
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_HM02_FLY
2017-10-26 17:25:36 -07:00
writetext ChucksWifeFlySpeechText
2015-11-29 19:29:45 -08:00
buttonsound
2017-10-26 17:25:36 -07:00
.GotFly:
writetext ChucksWifeChubbyText
2015-11-25 07:16:29 -08:00
waitbutton
2017-10-26 17:25:36 -07:00
.Done:
2015-11-25 07:16:29 -08:00
closetext
end
2017-10-26 17:25:36 -07:00
CianwoodCityYoungster:
jumptextfaceplayer CianwoodCityYoungsterText
2017-10-26 17:25:36 -07:00
CianwoodCityPokefanM:
jumptextfaceplayer CianwoodCityPokefanMText
2017-10-26 17:25:36 -07:00
CianwoodCityLass:
jumptextfaceplayer CianwoodCityLassText
CianwoodCityUnusedScript:
; unreferenced
jumptextfaceplayer CianwoodCityUnusedText
2015-06-25 21:01:08 -07:00
CianwoodCitySign:
jumptext CianwoodCitySignText
2015-06-25 21:01:08 -07:00
CianwoodGymSign:
jumptext CianwoodGymSignText
2015-06-25 21:01:08 -07:00
CianwoodPharmacySign:
jumptext CianwoodPharmacySignText
2015-06-25 21:01:08 -07:00
CianwoodPhotoStudioSign:
jumptext CianwoodPhotoStudioSignText
2015-06-25 21:01:08 -07:00
CianwoodPokeSeerSign:
jumptext CianwoodPokeSeerSignText
CianwoodPokecenterSign:
2015-06-23 14:02:58 -07:00
jumpstd pokecentersign
2015-06-25 21:01:08 -07:00
CianwoodCityRock:
2015-06-23 14:02:58 -07:00
jumpstd smashrock
CianwoodCityHiddenRevive:
hiddenitem REVIVE, EVENT_CIANWOOD_CITY_HIDDEN_REVIVE
CianwoodCityHiddenMaxEther:
hiddenitem MAX_ETHER, EVENT_CIANWOOD_CITY_HIDDEN_MAX_ETHER
2018-02-28 13:50:43 -08:00
CianwoodCitySuicuneApproachMovement:
set_sliding
2016-05-14 10:46:14 -07:00
fast_jump_step DOWN
fast_jump_step DOWN
fast_jump_step RIGHT
remove_sliding
step_end
2018-02-28 13:50:43 -08:00
CianwoodCitySuicuneDepartMovement:
set_sliding
2016-05-14 10:46:14 -07:00
fast_jump_step RIGHT
fast_jump_step UP
fast_jump_step RIGHT
fast_jump_step RIGHT
remove_sliding
step_end
2018-02-28 13:50:43 -08:00
CianwoodCityEusineApproachMovement:
2016-05-14 10:46:14 -07:00
step UP
step UP
step UP
step UP
step_end
2018-02-28 13:50:43 -08:00
CianwoodCityEusineDepartMovement:
2016-05-14 10:46:14 -07:00
step DOWN
step DOWN
step DOWN
step DOWN
step_end
2017-10-26 17:25:36 -07:00
ChucksWifeEasierToFlyText:
text "You crossed the"
line "sea to get here?"
para "That must have"
line "been hard."
para "It would be much"
line "easier if your"
para "#MON knew how"
line "to FLY…"
done
2017-10-26 17:25:36 -07:00
ChucksWifeBeatChuckText:
text "But you can't use"
line "FLY without this"
cont "city's GYM BADGE."
para "If you beat the"
line "GYM LEADER here,"
cont "come see me."
para "I'll have a nice"
line "gift for you."
done
2017-10-26 17:25:36 -07:00
ChucksWifeGiveHMText:
text "That's CIANWOOD's"
line "GYM BADGE!"
para "Then you should"
line "take this HM."
done
2017-10-26 17:25:36 -07:00
ChucksWifeFlySpeechText:
text "Teach FLY to your"
line "#MON."
para "You will be able"
line "to FLY instantly"
para "to anywhere you "
line "have visited."
done
2017-10-26 17:25:36 -07:00
ChucksWifeChubbyText:
text "My husband lost to"
line "you, so he needs"
cont "to train harder."
para "That's good, since"
line "he was getting a"
cont "little chubby."
done
2017-10-26 17:25:36 -07:00
CianwoodCityYoungsterText:
text "If you use FLY,"
line "you can get back"
para "to OLIVINE in-"
line "stantly."
done
2017-10-26 17:25:36 -07:00
CianwoodCityPokefanMText:
text "Boulders to the"
line "north of town can"
cont "be crushed."
para "They may be hiding"
line "something."
para "Your #MON could"
line "use ROCK SMASH to"
cont "break them."
done
2017-10-26 17:25:36 -07:00
CianwoodCityLassText:
text "CHUCK, the GYM"
line "LEADER, spars with"
para "his fighting #-"
line "MON."
done
CianwoodCityUnusedText:
; unused
text "There are several"
line "islands between"
cont "here and OLIVINE."
para "A mythical sea"
line "creature supposed-"
cont "ly lives there."
done
2017-10-26 17:25:36 -07:00
EusineSuicuneText:
text "EUSINE: Yo,"
line "<PLAYER>."
para "Wasn't that"
line "SUICUNE just now?"
para "I only caught a"
line "quick glimpse, but"
para "I thought I saw"
line "SUICUNE running on"
cont "the waves."
para "SUICUNE is beau-"
line "tiful and grand."
para "And it races"
line "through towns and"
para "roads at simply"
line "awesome speeds."
para "It's wonderful…"
para "I want to see"
line "SUICUNE up close…"
para "I've decided."
para "I'll battle you as"
line "a trainer to earn"
cont "SUICUNE's respect!"
para "Come on, <PLAYER>."
line "Let's battle now!"
done
2017-10-26 17:25:36 -07:00
EusineBeatenText:
text "I hate to admit"
line "it, but you win."
done
2017-10-26 17:25:36 -07:00
EusineAfterText:
text "You're amazing,"
line "<PLAYER>!"
para "No wonder #MON"
line "gravitate to you."
para "I get it now."
para "I'm going to keep"
line "searching for"
cont "SUICUNE."
para "I'm sure we'll see"
line "each other again."
para "See you around!"
done
2015-06-25 21:01:08 -07:00
CianwoodCitySignText:
text "CIANWOOD CITY"
para "A Port Surrounded"
line "by Rough Seas"
done
2015-06-25 21:01:08 -07:00
CianwoodGymSignText:
text "CIANWOOD CITY"
line "#MON GYM"
para "LEADER: CHUCK"
para "His Roaring Fists"
line "Do the Talking"
done
2015-06-25 21:01:08 -07:00
CianwoodPharmacySignText:
text "500 Years of"
line "Tradition"
para "CIANWOOD CITY"
line "PHARMACY"
para "We Await Your"
line "Medicinal Queries"
done
2015-06-25 21:01:08 -07:00
CianwoodPhotoStudioSignText:
text "CIANWOOD CITY"
line "PHOTO STUDIO"
para "Take a Snapshot as"
line "a Keepsake!"
done
2015-06-25 21:01:08 -07:00
CianwoodPokeSeerSignText:
text "THE # SEER"
line "AHEAD"
done
CianwoodCity_MapEvents:
db 0, 0 ; filler
db 7 ; warp events
2018-02-01 18:54:00 -08:00
warp_event 17, 41, MANIAS_HOUSE, 1
2018-02-01 19:22:07 -08:00
warp_event 8, 43, CIANWOOD_GYM, 1
2018-02-01 18:54:00 -08:00
warp_event 23, 43, CIANWOOD_POKECENTER_1F, 1
warp_event 15, 47, CIANWOOD_PHARMACY, 1
2018-02-01 19:22:07 -08:00
warp_event 9, 31, CIANWOOD_PHOTO_STUDIO, 1
2018-02-01 18:54:00 -08:00
warp_event 15, 37, CIANWOOD_LUGIA_SPEECH_HOUSE, 1
2018-02-01 19:22:07 -08:00
warp_event 5, 17, POKE_SEERS_HOUSE, 1
db 1 ; coord events
coord_event 11, 16, SCENE_CIANWOODCITY_SUICUNE_AND_EUSINE, CianwoodCitySuicuneAndEusine
db 8 ; bg events
bg_event 20, 34, BGEVENT_READ, CianwoodCitySign
2018-02-01 19:22:07 -08:00
bg_event 7, 45, BGEVENT_READ, CianwoodGymSign
bg_event 24, 43, BGEVENT_READ, CianwoodPokecenterSign
bg_event 19, 47, BGEVENT_READ, CianwoodPharmacySign
2018-02-01 19:22:07 -08:00
bg_event 8, 32, BGEVENT_READ, CianwoodPhotoStudioSign
bg_event 8, 24, BGEVENT_READ, CianwoodPokeSeerSign
bg_event 4, 19, BGEVENT_ITEM, CianwoodCityHiddenRevive
bg_event 5, 29, BGEVENT_ITEM, CianwoodCityHiddenMaxEther
db 12 ; object events
object_event 21, 37, SPRITE_STANDING_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CianwoodCityYoungster, -1
object_event 17, 33, SPRITE_POKEFAN_M, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CianwoodCityPokefanM, -1
object_event 14, 42, SPRITE_LASS, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CianwoodCityLass, -1
2018-02-01 19:22:07 -08:00
object_event 8, 16, SPRITE_ROCK, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CianwoodCityRock, -1
object_event 9, 17, SPRITE_ROCK, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CianwoodCityRock, -1
object_event 4, 25, SPRITE_ROCK, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CianwoodCityRock, -1
object_event 5, 29, SPRITE_ROCK, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CianwoodCityRock, -1
object_event 10, 27, SPRITE_ROCK, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CianwoodCityRock, -1
2018-02-01 19:22:07 -08:00
object_event 4, 19, SPRITE_ROCK, SPRITEMOVEDATA_SMASHABLE_ROCK, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CianwoodCityRock, -1
object_event 10, 46, SPRITE_POKEFAN_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CianwoodCityChucksWife, -1
object_event 11, 21, SPRITE_SUPER_NERD, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_CIANWOOD_CITY_EUSINE
object_event 10, 14, SPRITE_SUICUNE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ObjectEvent, EVENT_SAW_SUICUNE_AT_CIANWOOD_CITY