pokecrystal-board/maps/CeruleanCity.asm

314 lines
6.5 KiB
NASM
Raw Normal View History

2015-11-26 21:22:14 -08:00
const_value set 2
const CERULEANCITY_COOLTRAINER_M
const CERULEANCITY_SUPER_NERD
const CERULEANCITY_SLOWPOKE
const CERULEANCITY_COOLTRAINER_F
const CERULEANCITY_FISHER
const CERULEANCITY_YOUNGSTER
2015-06-25 21:01:08 -07:00
CeruleanCity_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 1
2016-01-06 04:44:50 -08:00
dbw MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
2015-06-25 22:30:16 -07:00
setflag ENGINE_FLYPOINT_CERULEAN
return
2017-12-17 17:45:04 -08:00
CeruleanCityCooltrainerMScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_RETURNED_MACHINE_PART
2017-12-17 17:45:04 -08:00
iftrue .ReturnedMachinePart
writetext CeruleanCityCooltrainerMText1
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2017-12-17 17:45:04 -08:00
.ReturnedMachinePart:
writetext CeruleanCityCooltrainerMText2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2017-12-17 16:48:04 -08:00
CeruleanCitySuperNerdScript:
jumptextfaceplayer CeruleanCitySuperNerdText
2015-06-25 21:01:08 -07:00
CeruleanCitySlowbro:
2015-12-09 15:25:44 -08:00
opentext
2015-06-25 21:01:08 -07:00
writetext CeruleanCitySlowbroText
cry SLOWBRO
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2017-12-17 17:45:04 -08:00
CeruleanCityCooltrainerFScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2017-12-17 17:45:04 -08:00
writetext CeruleanCityCooltrainerFText1
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-11-26 21:22:14 -08:00
spriteface CERULEANCITY_COOLTRAINER_F, LEFT
2015-12-09 15:25:44 -08:00
opentext
2017-12-17 17:45:04 -08:00
writetext CeruleanCityCooltrainerFText2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-12-09 15:25:44 -08:00
opentext
2015-06-25 21:01:08 -07:00
writetext CeruleanCitySlowbroText
cry SLOWBRO
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-12-09 15:25:44 -08:00
opentext
2017-12-17 17:45:04 -08:00
writetext CeruleanCityCooltrainerFText3
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2017-12-17 17:45:04 -08:00
CeruleanCityFisherScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_RETURNED_MACHINE_PART
2017-12-17 17:45:04 -08:00
iftrue .ReturnedMachinePart
2013-09-24 00:48:58 -07:00
checkevent EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM
2017-12-17 17:45:04 -08:00
iftrue .MetCeruleanRocket
.ReturnedMachinePart:
writetext CeruleanCityFisherText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2017-12-17 17:45:04 -08:00
.MetCeruleanRocket:
writetext CeruleanCityFisherRocketTipText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2017-12-17 17:45:04 -08:00
CeruleanCityYoungsterScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2017-12-17 17:45:04 -08:00
writetext CeruleanCityYoungsterText1
2015-11-25 07:16:29 -08:00
waitbutton
closetext
2015-07-10 05:08:03 -07:00
checkevent EVENT_FOUND_BERSERK_GENE_IN_CERULEAN_CITY
2017-12-17 17:45:04 -08:00
iffalse .BerserkGenePingsItemfinder
end
2017-12-17 17:45:04 -08:00
.BerserkGenePingsItemfinder:
2015-11-25 07:16:29 -08:00
waitsfx
playsound SFX_SECOND_PART_OF_ITEMFINDER
2015-11-25 07:16:29 -08:00
waitsfx
playsound SFX_TRANSACTION
2015-11-25 07:16:29 -08:00
waitsfx
playsound SFX_SECOND_PART_OF_ITEMFINDER
2015-11-25 07:16:29 -08:00
waitsfx
playsound SFX_TRANSACTION
2015-11-25 07:16:29 -08:00
waitsfx
playsound SFX_SECOND_PART_OF_ITEMFINDER
2015-11-25 07:16:29 -08:00
waitsfx
playsound SFX_TRANSACTION
2015-11-25 07:16:29 -08:00
waitsfx
playsound SFX_SECOND_PART_OF_ITEMFINDER
2015-11-25 07:16:29 -08:00
waitsfx
playsound SFX_TRANSACTION
2015-11-25 07:16:29 -08:00
waitsfx
2015-11-26 21:22:14 -08:00
showemote EMOTE_SHOCK, CERULEANCITY_YOUNGSTER, 15
spriteface CERULEANCITY_YOUNGSTER, LEFT
2015-12-09 15:25:44 -08:00
opentext
2017-12-17 17:45:04 -08:00
writetext CeruleanCityYoungsterText2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-06-25 21:01:08 -07:00
CeruleanCitySign:
jumptext CeruleanCitySignText
2015-06-25 21:01:08 -07:00
CeruleanGymSign:
jumptext CeruleanGymSignText
2015-06-25 21:01:08 -07:00
CeruleanBikeShopSign:
jumptext CeruleanBikeShopSignText
2015-06-25 21:01:08 -07:00
CeruleanPoliceSign:
jumptext CeruleanPoliceSignText
2015-06-25 21:01:08 -07:00
CeruleanCapeSign:
jumptext CeruleanCapeSignText
2015-06-25 21:01:08 -07:00
CeruleanLockedDoor:
jumptext CeruleanLockedDoorText
CeruleanCityPokecenterSign:
2015-06-23 14:02:58 -07:00
jumpstd pokecentersign
2015-06-25 21:01:08 -07:00
CeruleanCityMartSign:
2015-06-23 14:02:58 -07:00
jumpstd martsign
CeruleanCityHiddenBerserkGene:
dwb EVENT_FOUND_BERSERK_GENE_IN_CERULEAN_CITY, BERSERK_GENE
2017-12-17 17:45:04 -08:00
CeruleanCityCooltrainerMText1:
text "KANTO's POWER"
line "PLANT?"
para "It's near the end"
line "of ROUTE 9, the"
para "road that heads"
line "east from here."
para "I think there was"
line "an accident of"
cont "some sort there."
done
2017-12-17 17:45:04 -08:00
CeruleanCityCooltrainerMText2:
text "You're collecting"
line "every single kind"
cont "of #MON?"
para "That must be quite"
line "a challenge, but"
cont "it sounds fun too."
done
2017-12-17 16:48:04 -08:00
CeruleanCitySuperNerdText:
text "The CAPE in the"
line "north is a good"
para "place for dates."
line "Girls like it!"
done
2015-06-25 21:01:08 -07:00
CeruleanCitySlowbroText:
text "SLOWBRO: Yarah?"
done
2017-12-17 17:45:04 -08:00
CeruleanCityCooltrainerFText1:
text "My SLOWBRO and I"
line "make an awesome"
cont "combination!"
done
2017-12-17 17:45:04 -08:00
CeruleanCityCooltrainerFText2:
text "SLOWBRO, show me"
line "your CONFUSION!"
done
2017-12-17 17:45:04 -08:00
CeruleanCityCooltrainerFText3:
text "…"
done
2017-12-17 17:45:04 -08:00
CeruleanCityFisherText:
text "I'm a huge fan of"
line "CERULEAN GYM's"
cont "MISTY."
done
2017-12-17 17:45:04 -08:00
CeruleanCityFisherRocketTipText:
text "I saw this shady"
line "guy go off toward"
cont "CERULEAN's CAPE."
done
2017-12-17 17:45:04 -08:00
CeruleanCityYoungsterText1:
text "There used to be a"
line "cave here that had"
para "horribly powerful"
line "#MON in it."
done
2017-12-17 17:45:04 -08:00
CeruleanCityYoungsterText2:
text "Ayuh?"
para "My ITEMFINDER is"
line "responding…"
done
2015-06-25 21:01:08 -07:00
CeruleanCitySignText:
text "CERULEAN CITY"
para "A Mysterious Blue"
line "Aura Surrounds It"
done
2015-06-25 21:01:08 -07:00
CeruleanGymSignText:
text "CERULEAN CITY"
line "#MON GYM"
cont "LEADER: MISTY"
para "The Tomboyish"
line "Mermaid"
done
2015-06-25 21:01:08 -07:00
CeruleanBikeShopSignText:
text "There's a notice"
line "here…"
para "The BIKE SHOP has"
line "moved to GOLDENROD"
cont "CITY in JOHTO…"
done
2015-06-25 21:01:08 -07:00
CeruleanPoliceSignText:
text "There's a notice"
line "here…"
para "Stamp out thievery"
line "and make the city"
para "a friendlier, more"
line "cheerful place!"
para "CERULEAN POLICE"
done
2015-06-25 21:01:08 -07:00
CeruleanCapeSignText:
text "CERULEAN CAPE"
line "AHEAD"
done
2015-06-25 21:01:08 -07:00
CeruleanLockedDoorText:
text "It's locked…"
done
2015-06-25 21:01:08 -07:00
CeruleanCity_MapEventHeader:
; filler
db 0, 0
.Warps:
db 6
warp_def $f, $7, 1, CERULEAN_GYM_BADGE_SPEECH_HOUSE
warp_def $11, $1c, 1, CERULEAN_POLICE_STATION
warp_def $13, $d, 1, CERULEAN_TRADE_SPEECH_HOUSE
warp_def $15, $13, 1, CERULEAN_POKECENTER_1F
warp_def $17, $1e, 1, CERULEAN_GYM
warp_def $1d, $19, 2, CERULEAN_MART
.CoordEvents:
db 0
.BGEvents:
db 9
bg_event 23, 23, BGEVENT_READ, CeruleanCitySign
bg_event 25, 27, BGEVENT_READ, CeruleanGymSign
bg_event 29, 11, BGEVENT_READ, CeruleanBikeShopSign
bg_event 17, 25, BGEVENT_READ, CeruleanPoliceSign
bg_event 7, 23, BGEVENT_READ, CeruleanCapeSign
bg_event 29, 14, BGEVENT_READ, CeruleanLockedDoor
bg_event 21, 20, BGEVENT_READ, CeruleanCityPokecenterSign
bg_event 29, 26, BGEVENT_READ, CeruleanCityMartSign
bg_event 12, 2, BGEVENT_ITEM, CeruleanCityHiddenBerserkGene
.ObjectEvents:
db 6
object_event SPRITE_COOLTRAINER_M, 23, 15, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeruleanCityCooltrainerMScript, -1
object_event SPRITE_SUPER_NERD, 15, 23, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeruleanCitySuperNerdScript, -1
object_event SPRITE_SLOWPOKE, 24, 20, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeruleanCitySlowbro, -1
object_event SPRITE_COOLTRAINER_F, 24, 21, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeruleanCityCooltrainerFScript, -1
object_event SPRITE_FISHER, 26, 30, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeruleanCityFisherScript, -1
object_event SPRITE_YOUNGSTER, 12, 6, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeruleanCityYoungsterScript, -1