pokecrystal/maps/ViridianCity.asm

241 lines
4.9 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 VIRIDIANCITY_GRAMPS1
const VIRIDIANCITY_GRAMPS2
const VIRIDIANCITY_FISHER
const VIRIDIANCITY_YOUNGSTER
ViridianCity_MapScripts:
db 0 ; scene scripts
db 1 ; callbacks
callback MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
2015-06-26 05:30:16 +00:00
setflag ENGINE_FLYPOINT_VIRIDIAN
return
ViridianCityCoffeeGramps:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2018-08-19 17:56:41 +00:00
writetext ViridianCityCoffeeGrampsQuestionText
yesorno
iffalse .no
2018-08-19 17:56:41 +00:00
writetext ViridianCityCoffeeGrampsBelievedText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.no:
2018-08-19 17:56:41 +00:00
writetext ViridianCityCoffeeGrampsDoubtedText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
ViridianCityGrampsNearGym:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
checkevent EVENT_BLUE_IN_CINNABAR
iftrue .BlueReturned
2018-08-19 17:56:41 +00:00
writetext ViridianCityGrampsNearGymText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.BlueReturned:
2018-08-19 17:56:41 +00:00
writetext ViridianCityGrampsNearGymBlueReturnedText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
ViridianCityDreamEaterFisher:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_TM42_DREAM_EATER
2017-10-26 04:29:44 +00:00
iftrue .GotDreamEater
2018-08-19 17:56:41 +00:00
writetext ViridianCityDreamEaterFisherText
2015-11-30 03:29:45 +00:00
buttonsound
2015-11-05 01:20:14 +00:00
verbosegiveitem TM_DREAM_EATER
2017-10-26 04:29:44 +00:00
iffalse .NoRoomForDreamEater
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_TM42_DREAM_EATER
2017-10-26 04:29:44 +00:00
.GotDreamEater:
2018-08-19 17:56:41 +00:00
writetext ViridianCityDreamEaterFisherGotDreamEaterText
2015-11-25 15:16:29 +00:00
waitbutton
2017-10-26 04:29:44 +00:00
.NoRoomForDreamEater:
2015-11-25 15:16:29 +00:00
closetext
end
2017-12-18 00:48:04 +00:00
ViridianCityYoungsterScript:
jumptextfaceplayer ViridianCityYoungsterText
2015-06-26 04:01:08 +00:00
ViridianCitySign:
jumptext ViridianCitySignText
2015-06-26 04:01:08 +00:00
ViridianGymSign:
jumptext ViridianGymSignText
2015-06-26 04:01:08 +00:00
ViridianCityWelcomeSign:
jumptext ViridianCityWelcomeSignText
2015-06-26 04:01:08 +00:00
TrainerHouseSign:
jumptext TrainerHouseSignText
ViridianCityPokecenterSign:
2015-06-23 21:02:58 +00:00
jumpstd pokecentersign
2015-06-26 04:01:08 +00:00
ViridianCityMartSign:
2015-06-23 21:02:58 +00:00
jumpstd martsign
2018-08-19 17:56:41 +00:00
ViridianCityCoffeeGrampsQuestionText:
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
2018-08-19 17:56:41 +00:00
ViridianCityCoffeeGrampsBelievedText:
text "Good, good. Yes, I"
line "was something out"
para "of the ordinary,"
line "let me tell you!"
done
2018-08-19 17:56:41 +00:00
ViridianCityCoffeeGrampsDoubtedText:
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
2018-08-19 17:56:41 +00:00
ViridianCityGrampsNearGymText:
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
2018-08-19 17:56:41 +00:00
ViridianCityGrampsNearGymBlueReturnedText:
text "Are you going to"
line "battle the LEADER?"
para "Good luck to you."
line "You'll need it."
done
2018-08-19 17:56:41 +00:00
ViridianCityDreamEaterFisherText:
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
2018-08-19 17:56:41 +00:00
ViridianCityDreamEaterFisherGotDreamEaterText:
text "TM42 contains"
line "DREAM EATER…"
para "…Zzzzz…"
done
2017-12-18 00:48:04 +00:00
ViridianCityYoungsterText:
text "I heard that there"
line "are many items on"
para "the ground in"
line "VIRIDIAN FOREST."
done
2015-06-26 04:01:08 +00:00
ViridianCitySignText:
text "VIRIDIAN CITY"
para "The Eternally"
line "Green Paradise"
done
2015-06-26 04:01:08 +00:00
ViridianGymSignText:
text "VIRIDIAN CITY"
line "#MON GYM"
cont "LEADER: …"
para "The rest of the"
line "text is illegible…"
done
2015-06-26 04:01:08 +00:00
ViridianCityWelcomeSignText:
text "WELCOME TO"
line "VIRIDIAN CITY,"
para "THE GATEWAY TO"
line "INDIGO PLATEAU"
done
2015-06-26 04:01:08 +00:00
TrainerHouseSignText:
text "TRAINER HOUSE"
para "The Club for Top"
line "Trainer Battles"
done
ViridianCity_MapEvents:
db 0, 0 ; filler
db 5 ; warp events
2018-02-02 03:22:07 +00:00
warp_event 32, 7, VIRIDIAN_GYM, 1
warp_event 21, 9, VIRIDIAN_NICKNAME_SPEECH_HOUSE, 1
2018-02-02 02:54:00 +00:00
warp_event 23, 15, TRAINER_HOUSE_1F, 1
warp_event 29, 19, VIRIDIAN_MART, 2
warp_event 23, 25, VIRIDIAN_POKECENTER_1F, 1
db 0 ; coord events
db 6 ; bg events
bg_event 17, 17, BGEVENT_READ, ViridianCitySign
2018-02-02 03:22:07 +00:00
bg_event 27, 7, BGEVENT_READ, ViridianGymSign
bg_event 19, 1, BGEVENT_READ, ViridianCityWelcomeSign
bg_event 21, 15, BGEVENT_READ, TrainerHouseSign
bg_event 24, 25, BGEVENT_READ, ViridianCityPokecenterSign
bg_event 30, 19, BGEVENT_READ, ViridianCityMartSign
db 4 ; object events
2018-02-02 03:22:07 +00: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
object_event 17, 21, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WANDER, 3, 3, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, ViridianCityYoungsterScript, -1