mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-09-09 09:51:34 -07:00
c05b7f41dd
- MapTriggers / maptrigger → SceneScripts / scene_script - XYTriggers / xy_trigger → CoordEvents / coord_event - Signposts / signpost → BGEvents / bg_event - PersonEvents / person_event → ObjectEvents / object_event
248 lines
4.6 KiB
NASM
248 lines
4.6 KiB
NASM
const_value set 2
|
|
const VIRIDIANCITY_GRAMPS1
|
|
const VIRIDIANCITY_GRAMPS2
|
|
const VIRIDIANCITY_FISHER
|
|
const VIRIDIANCITY_YOUNGSTER
|
|
|
|
ViridianCity_MapScriptHeader:
|
|
.SceneScripts:
|
|
db 0
|
|
|
|
.MapCallbacks:
|
|
db 1
|
|
dbw MAPCALLBACK_NEWMAP, .FlyPoint
|
|
|
|
.FlyPoint:
|
|
setflag ENGINE_FLYPOINT_VIRIDIAN
|
|
return
|
|
|
|
GrampsScript_0x1a9a4c:
|
|
faceplayer
|
|
opentext
|
|
writetext UnknownText_0x1a9aa5
|
|
yesorno
|
|
iffalse UnknownScript_0x1a9a5b
|
|
writetext UnknownText_0x1a9b6f
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
UnknownScript_0x1a9a5b:
|
|
writetext UnknownText_0x1a9bb7
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
GrampsScript_0x1a9a61:
|
|
faceplayer
|
|
opentext
|
|
checkevent EVENT_BLUE_IN_CINNABAR
|
|
iftrue .BlueReturned
|
|
writetext UnknownText_0x1a9c11
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
.BlueReturned:
|
|
writetext UnknownText_0x1a9c7e
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
FisherScript_0x1a9a75:
|
|
faceplayer
|
|
opentext
|
|
checkevent EVENT_GOT_TM42_DREAM_EATER
|
|
iftrue .GotDreamEater
|
|
writetext UnknownText_0x1a9cc4
|
|
buttonsound
|
|
verbosegiveitem TM_DREAM_EATER
|
|
iffalse .NoRoomForDreamEater
|
|
setevent EVENT_GOT_TM42_DREAM_EATER
|
|
.GotDreamEater:
|
|
writetext UnknownText_0x1a9d86
|
|
waitbutton
|
|
.NoRoomForDreamEater:
|
|
closetext
|
|
end
|
|
|
|
ViridianCityYoungsterScript:
|
|
jumptextfaceplayer ViridianCityYoungsterText
|
|
|
|
ViridianCitySign:
|
|
jumptext ViridianCitySignText
|
|
|
|
ViridianGymSign:
|
|
jumptext ViridianGymSignText
|
|
|
|
ViridianCityWelcomeSign:
|
|
jumptext ViridianCityWelcomeSignText
|
|
|
|
TrainerHouseSign:
|
|
jumptext TrainerHouseSignText
|
|
|
|
ViridianCityPokecenterSign:
|
|
jumpstd pokecentersign
|
|
|
|
ViridianCityMartSign:
|
|
jumpstd martsign
|
|
|
|
UnknownText_0x1a9aa5:
|
|
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
|
|
|
|
UnknownText_0x1a9b6f:
|
|
text "Good, good. Yes, I"
|
|
line "was something out"
|
|
|
|
para "of the ordinary,"
|
|
line "let me tell you!"
|
|
done
|
|
|
|
UnknownText_0x1a9bb7:
|
|
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
|
|
|
|
UnknownText_0x1a9c11:
|
|
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
|
|
|
|
UnknownText_0x1a9c7e:
|
|
text "Are you going to"
|
|
line "battle the LEADER?"
|
|
|
|
para "Good luck to you."
|
|
line "You'll need it."
|
|
done
|
|
|
|
UnknownText_0x1a9cc4:
|
|
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
|
|
|
|
UnknownText_0x1a9d86:
|
|
text "TM42 contains"
|
|
line "DREAM EATER…"
|
|
|
|
para "…Zzzzz…"
|
|
done
|
|
|
|
ViridianCityYoungsterText:
|
|
text "I heard that there"
|
|
line "are many items on"
|
|
|
|
para "the ground in"
|
|
line "VIRIDIAN FOREST."
|
|
done
|
|
|
|
ViridianCitySignText:
|
|
text "VIRIDIAN CITY"
|
|
|
|
para "The Eternally"
|
|
line "Green Paradise"
|
|
done
|
|
|
|
ViridianGymSignText:
|
|
text "VIRIDIAN CITY"
|
|
line "#MON GYM"
|
|
cont "LEADER: …"
|
|
|
|
para "The rest of the"
|
|
line "text is illegible…"
|
|
done
|
|
|
|
ViridianCityWelcomeSignText:
|
|
text "WELCOME TO"
|
|
line "VIRIDIAN CITY,"
|
|
|
|
para "THE GATEWAY TO"
|
|
line "INDIGO PLATEAU"
|
|
done
|
|
|
|
TrainerHouseSignText:
|
|
text "TRAINER HOUSE"
|
|
|
|
para "The Club for Top"
|
|
line "Trainer Battles"
|
|
done
|
|
|
|
ViridianCity_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 5
|
|
warp_def $7, $20, 1, VIRIDIAN_GYM
|
|
warp_def $9, $15, 1, VIRIDIAN_NICKNAME_SPEECH_HOUSE
|
|
warp_def $f, $17, 1, TRAINER_HOUSE_1F
|
|
warp_def $13, $1d, 2, VIRIDIAN_MART
|
|
warp_def $19, $17, 1, VIRIDIAN_POKECENTER_1F
|
|
|
|
.CoordEvents:
|
|
db 0
|
|
|
|
.BGEvents:
|
|
db 6
|
|
bg_event 17, 17, BGEVENT_READ, ViridianCitySign
|
|
bg_event 7, 27, BGEVENT_READ, ViridianGymSign
|
|
bg_event 1, 19, BGEVENT_READ, ViridianCityWelcomeSign
|
|
bg_event 15, 21, BGEVENT_READ, TrainerHouseSign
|
|
bg_event 25, 24, BGEVENT_READ, ViridianCityPokecenterSign
|
|
bg_event 19, 30, BGEVENT_READ, ViridianCityMartSign
|
|
|
|
.ObjectEvents:
|
|
db 4
|
|
object_event SPRITE_GRAMPS, 5, 18, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, GrampsScript_0x1a9a4c, -1
|
|
object_event SPRITE_GRAMPS, 8, 30, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GrampsScript_0x1a9a61, -1
|
|
object_event SPRITE_FISHER, 23, 6, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, FisherScript_0x1a9a75, -1
|
|
object_event SPRITE_YOUNGSTER, 21, 17, SPRITEMOVEDATA_WANDER, 3, 3, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, ViridianCityYoungsterScript, -1
|