2018-01-31 16:38:45 +00:00
|
|
|
const_def 2 ; object constants
|
2015-11-27 05:22:14 +00:00
|
|
|
const CERULEANCITY_COOLTRAINER_M
|
|
|
|
const CERULEANCITY_SUPER_NERD
|
|
|
|
const CERULEANCITY_SLOWPOKE
|
|
|
|
const CERULEANCITY_COOLTRAINER_F
|
|
|
|
const CERULEANCITY_FISHER
|
|
|
|
const CERULEANCITY_YOUNGSTER
|
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
CeruleanCity_MapScripts:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; scene scripts
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 1 ; callbacks
|
2018-01-13 05:47:38 +00:00
|
|
|
callback MAPCALLBACK_NEWMAP, .FlyPoint
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2016-04-10 18:42:14 +00:00
|
|
|
.FlyPoint:
|
2015-06-26 05:30:16 +00:00
|
|
|
setflag ENGINE_FLYPOINT_CERULEAN
|
2013-02-17 06:54:07 +00:00
|
|
|
return
|
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
CeruleanCityCooltrainerMScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_RETURNED_MACHINE_PART
|
2017-12-18 01:45:04 +00:00
|
|
|
iftrue .ReturnedMachinePart
|
|
|
|
writetext CeruleanCityCooltrainerMText1
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.ReturnedMachinePart:
|
|
|
|
writetext CeruleanCityCooltrainerMText2
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
CeruleanCitySuperNerdScript:
|
|
|
|
jumptextfaceplayer CeruleanCitySuperNerdText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
CeruleanCitySlowbro:
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-06-26 04:01:08 +00:00
|
|
|
writetext CeruleanCitySlowbroText
|
2013-02-17 06:54:07 +00:00
|
|
|
cry SLOWBRO
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
CeruleanCityCooltrainerFScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-18 01:45:04 +00:00
|
|
|
writetext CeruleanCityCooltrainerFText1
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2018-02-03 02:50:43 +00:00
|
|
|
objectface CERULEANCITY_COOLTRAINER_F, LEFT
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-18 01:45:04 +00:00
|
|
|
writetext CeruleanCityCooltrainerFText2
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2015-06-26 04:01:08 +00:00
|
|
|
writetext CeruleanCitySlowbroText
|
2013-02-17 06:54:07 +00:00
|
|
|
cry SLOWBRO
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-18 01:45:04 +00:00
|
|
|
writetext CeruleanCityCooltrainerFText3
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
CeruleanCityFisherScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_RETURNED_MACHINE_PART
|
2017-12-18 01:45:04 +00:00
|
|
|
iftrue .ReturnedMachinePart
|
2013-09-24 07:48:58 +00:00
|
|
|
checkevent EVENT_MET_ROCKET_GRUNT_AT_CERULEAN_GYM
|
2017-12-18 01:45:04 +00:00
|
|
|
iftrue .MetCeruleanRocket
|
|
|
|
.ReturnedMachinePart:
|
|
|
|
writetext CeruleanCityFisherText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.MetCeruleanRocket:
|
|
|
|
writetext CeruleanCityFisherRocketTipText
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
CeruleanCityYoungsterScript:
|
2013-02-17 06:54:07 +00:00
|
|
|
faceplayer
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-18 01:45:04 +00:00
|
|
|
writetext CeruleanCityYoungsterText1
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
2015-07-10 12:08:03 +00:00
|
|
|
checkevent EVENT_FOUND_BERSERK_GENE_IN_CERULEAN_CITY
|
2017-12-18 01:45:04 +00:00
|
|
|
iffalse .BerserkGenePingsItemfinder
|
2013-02-17 06:54:07 +00:00
|
|
|
end
|
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
.BerserkGenePingsItemfinder:
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_SECOND_PART_OF_ITEMFINDER
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_TRANSACTION
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_SECOND_PART_OF_ITEMFINDER
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_TRANSACTION
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_SECOND_PART_OF_ITEMFINDER
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_TRANSACTION
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_SECOND_PART_OF_ITEMFINDER
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2014-04-30 10:04:35 +00:00
|
|
|
playsound SFX_TRANSACTION
|
2015-11-25 15:16:29 +00:00
|
|
|
waitsfx
|
2015-11-27 05:22:14 +00:00
|
|
|
showemote EMOTE_SHOCK, CERULEANCITY_YOUNGSTER, 15
|
2018-02-03 02:50:43 +00:00
|
|
|
objectface CERULEANCITY_YOUNGSTER, LEFT
|
2015-12-09 23:25:44 +00:00
|
|
|
opentext
|
2017-12-18 01:45:04 +00:00
|
|
|
writetext CeruleanCityYoungsterText2
|
2015-11-25 15:16:29 +00:00
|
|
|
waitbutton
|
2013-02-17 06:54:07 +00:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
CeruleanCitySign:
|
|
|
|
jumptext CeruleanCitySignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
CeruleanGymSign:
|
|
|
|
jumptext CeruleanGymSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
CeruleanBikeShopSign:
|
|
|
|
jumptext CeruleanBikeShopSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
CeruleanPoliceSign:
|
|
|
|
jumptext CeruleanPoliceSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
CeruleanCapeSign:
|
|
|
|
jumptext CeruleanCapeSignText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
CeruleanLockedDoor:
|
|
|
|
jumptext CeruleanLockedDoorText
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-11 03:34:42 +00:00
|
|
|
CeruleanCityPokecenterSign:
|
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
|
|
|
CeruleanCityMartSign:
|
2015-06-23 21:02:58 +00:00
|
|
|
jumpstd martsign
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-12-15 16:21:58 +00:00
|
|
|
CeruleanCityHiddenBerserkGene:
|
2018-01-23 17:59:21 +00:00
|
|
|
hiddenitem BERSERK_GENE, EVENT_FOUND_BERSERK_GENE_IN_CERULEAN_CITY
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
CeruleanCityCooltrainerMText1:
|
2014-03-06 05:29:44 +00:00
|
|
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
CeruleanCityCooltrainerMText2:
|
2014-03-06 05:29:44 +00:00
|
|
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 00:48:04 +00:00
|
|
|
CeruleanCitySuperNerdText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "The CAPE in the"
|
|
|
|
line "north is a good"
|
|
|
|
|
|
|
|
para "place for dates."
|
|
|
|
line "Girls like it!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
CeruleanCitySlowbroText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "SLOWBRO: Yarah?"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
CeruleanCityCooltrainerFText1:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "My SLOWBRO and I"
|
|
|
|
line "make an awesome"
|
|
|
|
cont "combination!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
CeruleanCityCooltrainerFText2:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "SLOWBRO, show me"
|
|
|
|
line "your CONFUSION!"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
CeruleanCityCooltrainerFText3:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
CeruleanCityFisherText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I'm a huge fan of"
|
|
|
|
line "CERULEAN GYM's"
|
|
|
|
cont "MISTY."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
CeruleanCityFisherRocketTipText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "I saw this shady"
|
|
|
|
line "guy go off toward"
|
|
|
|
cont "CERULEAN's CAPE."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
CeruleanCityYoungsterText1:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "There used to be a"
|
|
|
|
line "cave here that had"
|
|
|
|
|
|
|
|
para "horribly powerful"
|
|
|
|
line "#MON in it."
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2017-12-18 01:45:04 +00:00
|
|
|
CeruleanCityYoungsterText2:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "Ayuh?"
|
|
|
|
|
|
|
|
para "My ITEMFINDER is"
|
|
|
|
line "responding…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
CeruleanCitySignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "CERULEAN CITY"
|
|
|
|
|
|
|
|
para "A Mysterious Blue"
|
|
|
|
line "Aura Surrounds It"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
CeruleanGymSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "CERULEAN CITY"
|
|
|
|
line "#MON GYM"
|
|
|
|
cont "LEADER: MISTY"
|
|
|
|
|
|
|
|
para "The Tomboyish"
|
|
|
|
line "Mermaid"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
CeruleanBikeShopSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "There's a notice"
|
|
|
|
line "here…"
|
|
|
|
|
|
|
|
para "The BIKE SHOP has"
|
|
|
|
line "moved to GOLDENROD"
|
|
|
|
cont "CITY in JOHTO…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
CeruleanPoliceSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
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
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
CeruleanCapeSignText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "CERULEAN CAPE"
|
|
|
|
line "AHEAD"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2015-06-26 04:01:08 +00:00
|
|
|
CeruleanLockedDoorText:
|
2014-03-06 05:29:44 +00:00
|
|
|
text "It's locked…"
|
|
|
|
done
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-17 03:57:19 +00:00
|
|
|
CeruleanCity_MapEvents:
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0, 0 ; filler
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 6 ; warp events
|
2018-02-02 03:22:07 +00:00
|
|
|
warp_event 7, 15, CERULEAN_GYM_BADGE_SPEECH_HOUSE, 1
|
2018-02-02 02:54:00 +00:00
|
|
|
warp_event 28, 17, CERULEAN_POLICE_STATION, 1
|
|
|
|
warp_event 13, 19, CERULEAN_TRADE_SPEECH_HOUSE, 1
|
|
|
|
warp_event 19, 21, CERULEAN_POKECENTER_1F, 1
|
|
|
|
warp_event 30, 23, CERULEAN_GYM, 1
|
|
|
|
warp_event 25, 29, CERULEAN_MART, 2
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 0 ; coord events
|
2013-02-17 06:54:07 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 9 ; bg events
|
2017-12-24 18:46:34 +00:00
|
|
|
bg_event 23, 23, BGEVENT_READ, CeruleanCitySign
|
2017-12-28 19:31:25 +00:00
|
|
|
bg_event 27, 25, BGEVENT_READ, CeruleanGymSign
|
|
|
|
bg_event 11, 29, BGEVENT_READ, CeruleanBikeShopSign
|
|
|
|
bg_event 25, 17, BGEVENT_READ, CeruleanPoliceSign
|
2018-02-02 03:22:07 +00:00
|
|
|
bg_event 23, 7, BGEVENT_READ, CeruleanCapeSign
|
2017-12-28 19:31:25 +00:00
|
|
|
bg_event 14, 29, BGEVENT_READ, CeruleanLockedDoor
|
|
|
|
bg_event 20, 21, BGEVENT_READ, CeruleanCityPokecenterSign
|
|
|
|
bg_event 26, 29, BGEVENT_READ, CeruleanCityMartSign
|
2018-02-02 03:22:07 +00:00
|
|
|
bg_event 2, 12, BGEVENT_ITEM, CeruleanCityHiddenBerserkGene
|
2017-12-24 18:46:34 +00:00
|
|
|
|
2018-01-30 19:15:47 +00:00
|
|
|
db 6 ; object events
|
2017-12-28 19:31:25 +00:00
|
|
|
object_event 15, 23, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeruleanCityCooltrainerMScript, -1
|
|
|
|
object_event 23, 15, SPRITE_SUPER_NERD, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, CeruleanCitySuperNerdScript, -1
|
2018-01-31 03:12:53 +00:00
|
|
|
object_event 20, 24, SPRITE_SLOWPOKE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, CeruleanCitySlowbro, -1
|
2017-12-28 19:31:25 +00:00
|
|
|
object_event 21, 24, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_LEFT, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, CeruleanCityCooltrainerFScript, -1
|
|
|
|
object_event 30, 26, SPRITE_FISHER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeruleanCityFisherScript, -1
|
2018-02-02 03:22:07 +00:00
|
|
|
object_event 6, 12, SPRITE_YOUNGSTER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 1, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, CeruleanCityYoungsterScript, -1
|