pokecrystal/maps/SaffronCity.asm

314 lines
6.7 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const SAFFRONCITY_LASS1
const SAFFRONCITY_POKEFAN_M
const SAFFRONCITY_COOLTRAINER_M
const SAFFRONCITY_COOLTRAINER_F
const SAFFRONCITY_FISHER
const SAFFRONCITY_YOUNGSTER1
const SAFFRONCITY_YOUNGSTER2
const SAFFRONCITY_LASS2
2015-06-26 04:01:08 +00:00
SaffronCity_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 1
2016-01-06 12:44:50 +00:00
dbw MAPCALLBACK_NEWMAP, .FlyPoint
.FlyPoint:
2015-06-26 05:30:16 +00:00
setflag ENGINE_FLYPOINT_SAFFRON
return
2015-06-26 04:01:08 +00:00
LassScript_0x19932a:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x199338
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x19938d
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 04:01:08 +00:00
UnknownScript_0x199338:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x19940d
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 04:01:08 +00:00
PokefanMScript_0x19933e:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x19934c
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x199460
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 04:01:08 +00:00
UnknownScript_0x19934c:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1994ae
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2017-12-18 00:48:04 +00:00
SaffronCityCooltrainerMScript:
jumptextfaceplayer SaffronCityCooltrainerMText
2017-12-18 00:48:04 +00:00
SaffronCityCooltrainerFScript:
jumptextfaceplayer SaffronCityCooltrainerFText
2015-06-26 04:01:08 +00:00
FisherScript_0x199358:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x199366
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x1995fc
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 04:01:08 +00:00
UnknownScript_0x199366:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x19964b
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2017-12-18 00:48:04 +00:00
SaffronCityYoungster1Script:
jumptextfaceplayer SaffronCityYoungster1Text
2017-12-18 00:48:04 +00:00
SaffronCityYoungster2Script:
jumptextfaceplayer SaffronCityYoungster2Text
2017-12-18 00:48:04 +00:00
SaffronCityLassScript:
jumptextfaceplayer SaffronCityLassText
2015-06-26 04:01:08 +00:00
SaffronCitySign:
jumptext SaffronCitySignText
2015-06-26 04:01:08 +00:00
SaffronGymSign:
jumptext SaffronGymSignText
2015-06-26 04:01:08 +00:00
FightingDojoSign:
jumptext FightingDojoSignText
2015-06-26 04:01:08 +00:00
SilphCoSign:
jumptext SilphCoSignText
2015-06-26 04:01:08 +00:00
MrPsychicsHouseSign:
jumptext MrPsychicsHouseSignText
2015-06-26 04:01:08 +00:00
SaffronCityMagnetTrainStationSign:
jumptext SaffronCityMagnetTrainStationSignText
SaffronCityPokecenterSign:
2015-06-23 21:02:58 +00:00
jumpstd pokecentersign
2015-06-26 04:01:08 +00:00
SaffronCityMartSign:
2015-06-23 21:02:58 +00:00
jumpstd martsign
2015-06-26 04:01:08 +00:00
UnknownText_0x19938d:
text "A little girl who"
line "is an expert at"
para "mimicking people"
line "lives here."
para "She even mimics"
line "the people she's"
para "conversing with."
line "It's confusing."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x19940d:
text "The COPYCAT girl"
line "looked unhappy."
para "She said she lost"
line "her favorite #"
cont "DOLL--CLEFAIRY."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x199460:
text "You came out from"
line "JOHTO?"
para "You can zip back"
line "home if the MAGNET"
cont "TRAIN's running."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1994ae:
text "You came out from"
line "JOHTO?"
para "You can zip back"
line "home by hopping on"
cont "the MAGNET TRAIN."
done
2017-12-18 00:48:04 +00:00
SaffronCityCooltrainerMText:
text "I went to the GYM,"
line "raring for battles"
cont "against trainers…"
para "It turns out, I"
line "stumbled into the"
para "unused GYM next"
line "door."
para "Boy, I was pretty"
line "embarrassed."
done
2017-12-18 00:48:04 +00:00
SaffronCityCooltrainerFText:
text "This is SILPH CO.,"
line "famous for #MON"
cont "merchandise."
para "In the past, TEAM"
line "ROCKET wanted the"
para "company because of"
line "that."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x1995fc:
text "Chew… Chew…"
para "I hear there's big"
line "trouble brewing at"
cont "the POWER PLANT."
para "Chew… Chew…"
done
2015-06-26 04:01:08 +00:00
UnknownText_0x19964b:
text "Chew… Chew…"
para "I hear there was"
line "big trouble at the"
cont "POWER PLANT."
para "Chew… Chew…"
line "Haaah, I'm full!"
done
2017-12-18 00:48:04 +00:00
SaffronCityYoungster1Text:
text "Going into an"
line "alley for the"
para "first time makes"
line "me sorta anxious."
done
2017-12-18 00:48:04 +00:00
SaffronCityYoungster2Text:
text "There's a place"
line "called TRAINER"
para "HOUSE in VIRIDIAN"
line "where trainers"
para "gather from all"
line "over the place."
done
2017-12-18 00:48:04 +00:00
SaffronCityLassText:
text "Our city was"
line "featured on a"
cont "radio program."
para "It's nice to hear"
line "praise for your"
para "city, but it's a"
line "bit embarrassing"
cont "too."
done
2015-06-26 04:01:08 +00:00
SaffronCitySignText:
text "SAFFRON CITY"
para "Shining, Golden"
line "Land of Commerce"
done
2015-06-26 04:01:08 +00:00
SaffronGymSignText:
text "SAFFRON CITY"
line "#MON GYM"
cont "LEADER: SABRINA"
para "The Master of"
line "Psychic #MON!"
done
2015-06-26 04:01:08 +00:00
FightingDojoSignText:
text "Everyone Welcome!"
line "FIGHTING DOJO"
done
2015-06-26 04:01:08 +00:00
SilphCoSignText:
text "SILPH CO."
line "OFFICE BUILDING"
done
2015-06-26 04:01:08 +00:00
MrPsychicsHouseSignText:
text "MR.PSYCHIC'S"
line "HOUSE"
done
2015-06-26 04:01:08 +00:00
SaffronCityMagnetTrainStationSignText:
text "SAFFRON CITY"
line "MAGNET TRAIN"
cont "STATION"
done
2015-06-26 04:01:08 +00:00
SaffronCity_MapEventHeader:
; filler
db 0, 0
.Warps:
db 15
warp_def $3, $1a, 1, FIGHTING_DOJO
warp_def $3, $22, 1, SAFFRON_GYM
warp_def $b, $19, 2, SAFFRON_MART
warp_def $1d, $9, 1, SAFFRON_POKECENTER_1F
warp_def $1d, $1b, 1, MR_PSYCHICS_HOUSE
warp_def $3, $8, 2, SAFFRON_TRAIN_STATION
warp_def $15, $12, 1, SILPH_CO_1F
warp_def $b, $9, 1, COPYCATS_HOUSE_1F
warp_def $3, $12, 3, ROUTE_5_SAFFRON_CITY_GATE
warp_def $18, $0, 3, ROUTE_7_SAFFRON_GATE
warp_def $19, $0, 4, ROUTE_7_SAFFRON_GATE
warp_def $21, $10, 1, ROUTE_6_SAFFRON_GATE
warp_def $21, $11, 2, ROUTE_6_SAFFRON_GATE
warp_def $16, $27, 1, ROUTE_8_SAFFRON_GATE
warp_def $17, $27, 2, ROUTE_8_SAFFRON_GATE
.CoordEvents:
db 0
.BGEvents:
db 8
bg_event 5, 21, BGEVENT_READ, SaffronCitySign
bg_event 5, 33, BGEVENT_READ, SaffronGymSign
bg_event 5, 25, BGEVENT_READ, FightingDojoSign
bg_event 21, 15, BGEVENT_READ, SilphCoSign
bg_event 29, 25, BGEVENT_READ, MrPsychicsHouseSign
bg_event 5, 11, BGEVENT_READ, SaffronCityMagnetTrainStationSign
bg_event 29, 10, BGEVENT_READ, SaffronCityPokecenterSign
bg_event 11, 26, BGEVENT_READ, SaffronCityMartSign
.ObjectEvents:
db 8
object_event SPRITE_LASS, 14, 7, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 2, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, LassScript_0x19932a, -1
object_event SPRITE_POKEFAN_M, 30, 19, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 2, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, PokefanMScript_0x19933e, -1
object_event SPRITE_COOLTRAINER_M, 7, 32, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, SaffronCityCooltrainerMScript, -1
object_event SPRITE_COOLTRAINER_F, 24, 20, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 2, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, SaffronCityCooltrainerFScript, -1
object_event SPRITE_FISHER, 12, 27, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, FisherScript_0x199358, -1
object_event SPRITE_YOUNGSTER, 19, 15, SPRITEMOVEDATA_WALK_UP_DOWN, 1, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SaffronCityYoungster1Script, -1
object_event SPRITE_YOUNGSTER, 22, 35, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, SaffronCityYoungster2Script, -1
object_event SPRITE_LASS, 8, 19, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, SaffronCityLassScript, -1