2019-04-21 14:42:25 -07:00
|
|
|
object_const_def ; object_event constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const VIRIDIANCITY_GRAMPS1
|
|
|
|
const VIRIDIANCITY_GRAMPS2
|
|
|
|
const VIRIDIANCITY_FISHER
|
|
|
|
const VIRIDIANCITY_YOUNGSTER
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
ViridianCity_MapScripts:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; scene scripts
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 1 ; callbacks
|
2018-01-12 21:47:38 -08:00
|
|
|
callback MAPCALLBACK_NEWMAP, .FlyPoint
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.FlyPoint:
|
2015-06-25 22:30:16 -07:00
|
|
|
setflag ENGINE_FLYPOINT_VIRIDIAN
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2018-01-23 20:40:25 -08:00
|
|
|
ViridianCityCoffeeGramps:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext ViridianCityCoffeeGrampsQuestionText
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2018-01-23 20:40:25 -08:00
|
|
|
iffalse .no
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext ViridianCityCoffeeGrampsBelievedText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-01-23 20:40:25 -08:00
|
|
|
.no:
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext ViridianCityCoffeeGrampsDoubtedText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-01-23 20:40:25 -08:00
|
|
|
ViridianCityGrampsNearGym:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2015-07-10 01:36:57 -07:00
|
|
|
checkevent EVENT_BLUE_IN_CINNABAR
|
|
|
|
iftrue .BlueReturned
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext ViridianCityGrampsNearGymText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2016-04-10 11:42:14 -07:00
|
|
|
.BlueReturned:
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext ViridianCityGrampsNearGymBlueReturnedText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-01-23 20:40:25 -08:00
|
|
|
ViridianCityDreamEaterFisher:
|
2013-02-16 22:54:07 -08:00
|
|
|
faceplayer
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2013-09-24 00:48:58 -07:00
|
|
|
checkevent EVENT_GOT_TM42_DREAM_EATER
|
2017-10-25 21:29:44 -07:00
|
|
|
iftrue .GotDreamEater
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext ViridianCityDreamEaterFisherText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-11-04 17:20:14 -08:00
|
|
|
verbosegiveitem TM_DREAM_EATER
|
2017-10-25 21:29:44 -07:00
|
|
|
iffalse .NoRoomForDreamEater
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_GOT_TM42_DREAM_EATER
|
2017-10-25 21:29:44 -07:00
|
|
|
.GotDreamEater:
|
2018-08-19 10:56:41 -07:00
|
|
|
writetext ViridianCityDreamEaterFisherGotDreamEaterText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2017-10-25 21:29:44 -07:00
|
|
|
.NoRoomForDreamEater:
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
ViridianCityYoungsterScript:
|
|
|
|
jumptextfaceplayer ViridianCityYoungsterText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
ViridianCitySign:
|
|
|
|
jumptext ViridianCitySignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
ViridianGymSign:
|
|
|
|
jumptext ViridianGymSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
ViridianCityWelcomeSign:
|
|
|
|
jumptext ViridianCityWelcomeSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
TrainerHouseSign:
|
|
|
|
jumptext TrainerHouseSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 19:34:42 -08:00
|
|
|
ViridianCityPokecenterSign:
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd PokecenterSignScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
ViridianCityMartSign:
|
2020-06-10 13:44:16 -07:00
|
|
|
jumpstd MartSignScript
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
ViridianCityCoffeeGrampsQuestionText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Hey, kid! I just"
|
|
|
|
line "had a double shot"
|
|
|
|
|
|
|
|
para "of espresso, and"
|
|
|
|
line "I am wired!"
|
|
|
|
|
|
|
|
para "I need to talk to"
|
|
|
|
line "someone, so you'll"
|
|
|
|
cont "have to do!"
|
|
|
|
|
|
|
|
para "I might not look"
|
|
|
|
line "like much now, but"
|
|
|
|
|
|
|
|
para "I was an expert at"
|
|
|
|
line "catching #MON."
|
|
|
|
|
|
|
|
para "Do you believe me?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
ViridianCityCoffeeGrampsBelievedText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Good, good. Yes, I"
|
|
|
|
line "was something out"
|
|
|
|
|
|
|
|
para "of the ordinary,"
|
|
|
|
line "let me tell you!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
ViridianCityCoffeeGrampsDoubtedText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "What? You little"
|
|
|
|
line "whelp!"
|
|
|
|
|
|
|
|
para "If I were just a"
|
|
|
|
line "bit younger, I'd"
|
|
|
|
|
|
|
|
para "show you a thing"
|
|
|
|
line "or two. Humph!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
ViridianCityGrampsNearGymText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "This GYM didn't"
|
|
|
|
line "have a LEADER"
|
|
|
|
cont "until recently."
|
|
|
|
|
|
|
|
para "A young man from"
|
|
|
|
line "PALLET became the"
|
|
|
|
|
|
|
|
para "LEADER, but he's"
|
|
|
|
line "often away."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
ViridianCityGrampsNearGymBlueReturnedText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Are you going to"
|
|
|
|
line "battle the LEADER?"
|
|
|
|
|
|
|
|
para "Good luck to you."
|
|
|
|
line "You'll need it."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
ViridianCityDreamEaterFisherText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Yawn!"
|
|
|
|
|
|
|
|
para "I must have dozed"
|
|
|
|
line "off in the sun."
|
|
|
|
|
|
|
|
para "…I had this dream"
|
|
|
|
line "about a DROWZEE"
|
|
|
|
|
|
|
|
para "eating my dream."
|
|
|
|
line "Weird, huh?"
|
|
|
|
|
|
|
|
para "Huh?"
|
|
|
|
line "What's this?"
|
|
|
|
|
|
|
|
para "Where did this TM"
|
|
|
|
line "come from?"
|
|
|
|
|
|
|
|
para "This is spooky!"
|
|
|
|
line "Here, you can have"
|
|
|
|
cont "this TM."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-08-19 10:56:41 -07:00
|
|
|
ViridianCityDreamEaterFisherGotDreamEaterText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "TM42 contains"
|
|
|
|
line "DREAM EATER…"
|
|
|
|
|
|
|
|
para "…Zzzzz…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
ViridianCityYoungsterText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I heard that there"
|
|
|
|
line "are many items on"
|
|
|
|
|
|
|
|
para "the ground in"
|
|
|
|
line "VIRIDIAN FOREST."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
ViridianCitySignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "VIRIDIAN CITY"
|
|
|
|
|
|
|
|
para "The Eternally"
|
|
|
|
line "Green Paradise"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
ViridianGymSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "VIRIDIAN CITY"
|
|
|
|
line "#MON GYM"
|
|
|
|
cont "LEADER: …"
|
|
|
|
|
|
|
|
para "The rest of the"
|
|
|
|
line "text is illegible…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
ViridianCityWelcomeSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "WELCOME TO"
|
|
|
|
line "VIRIDIAN CITY,"
|
|
|
|
|
|
|
|
para "THE GATEWAY TO"
|
|
|
|
line "INDIGO PLATEAU"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
TrainerHouseSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "TRAINER HOUSE"
|
|
|
|
|
|
|
|
para "The Club for Top"
|
|
|
|
line "Trainer Battles"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
ViridianCity_MapEvents:
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0, 0 ; filler
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 5 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 32, 7, VIRIDIAN_GYM, 1
|
|
|
|
warp_event 21, 9, VIRIDIAN_NICKNAME_SPEECH_HOUSE, 1
|
2018-02-01 18:54:00 -08:00
|
|
|
warp_event 23, 15, TRAINER_HOUSE_1F, 1
|
|
|
|
warp_event 29, 19, VIRIDIAN_MART, 2
|
|
|
|
warp_event 23, 25, VIRIDIAN_POKECENTER_1F, 1
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 0 ; coord events
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 6 ; bg events
|
2017-12-24 10:46:34 -08:00
|
|
|
bg_event 17, 17, BGEVENT_READ, ViridianCitySign
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 27, 7, BGEVENT_READ, ViridianGymSign
|
|
|
|
bg_event 19, 1, BGEVENT_READ, ViridianCityWelcomeSign
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 21, 15, BGEVENT_READ, TrainerHouseSign
|
|
|
|
bg_event 24, 25, BGEVENT_READ, ViridianCityPokecenterSign
|
|
|
|
bg_event 30, 19, BGEVENT_READ, ViridianCityMartSign
|
2017-12-24 10:46:34 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 4 ; object events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 18, 5, SPRITE_GRAMPS, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, ViridianCityCoffeeGramps, -1
|
|
|
|
object_event 30, 8, SPRITE_GRAMPS, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, ViridianCityGrampsNearGym, -1
|
|
|
|
object_event 6, 23, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, ViridianCityDreamEaterFisher, -1
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 17, 21, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WANDER, 3, 3, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, ViridianCityYoungsterScript, -1
|