2018-01-31 08:38:45 -08:00
|
|
|
const_def 2 ; object constants
|
2015-11-26 21:22:14 -08:00
|
|
|
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
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
SaffronCity_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_SAFFRON
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
LassScript_0x19932a:
|
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_RETURNED_MACHINE_PART
|
2018-02-01 20:30:17 -08:00
|
|
|
iftrue .ReturnedPart
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x19938d
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-01 20:30:17 -08:00
|
|
|
.ReturnedPart:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x19940d
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
PokefanMScript_0x19933e:
|
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_RETURNED_MACHINE_PART
|
2018-02-01 20:30:17 -08:00
|
|
|
iftrue .ReturnedPart
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x199460
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-01 20:30:17 -08:00
|
|
|
.ReturnedPart:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1994ae
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
SaffronCityCooltrainerMScript:
|
|
|
|
jumptextfaceplayer SaffronCityCooltrainerMText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
SaffronCityCooltrainerFScript:
|
|
|
|
jumptextfaceplayer SaffronCityCooltrainerFText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
FisherScript_0x199358:
|
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_RETURNED_MACHINE_PART
|
2018-02-01 20:30:17 -08:00
|
|
|
iftrue .ReturnedPart
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1995fc
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2018-02-01 20:30:17 -08:00
|
|
|
.ReturnedPart:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x19964b
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
SaffronCityYoungster1Script:
|
|
|
|
jumptextfaceplayer SaffronCityYoungster1Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
SaffronCityYoungster2Script:
|
|
|
|
jumptextfaceplayer SaffronCityYoungster2Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
SaffronCityLassScript:
|
|
|
|
jumptextfaceplayer SaffronCityLassText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
SaffronCitySign:
|
|
|
|
jumptext SaffronCitySignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
SaffronGymSign:
|
|
|
|
jumptext SaffronGymSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
FightingDojoSign:
|
|
|
|
jumptext FightingDojoSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
SilphCoSign:
|
|
|
|
jumptext SilphCoSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MrPsychicsHouseSign:
|
|
|
|
jumptext MrPsychicsHouseSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
SaffronCityMagnetTrainStationSign:
|
|
|
|
jumptext SaffronCityMagnetTrainStationSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 19:34:42 -08:00
|
|
|
SaffronCityPokecenterSign:
|
2015-06-23 14:02:58 -07:00
|
|
|
jumpstd pokecentersign
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
SaffronCityMartSign:
|
2015-06-23 14:02:58 -07:00
|
|
|
jumpstd martsign
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x19938d:
|
2014-03-05 21:29:44 -08:00
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x19940d:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The COPYCAT girl"
|
|
|
|
line "looked unhappy."
|
|
|
|
|
|
|
|
para "She said she lost"
|
|
|
|
line "her favorite #"
|
|
|
|
cont "DOLL--CLEFAIRY."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x199460:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You came out from"
|
|
|
|
line "JOHTO?"
|
|
|
|
|
|
|
|
para "You can zip back"
|
|
|
|
line "home if the MAGNET"
|
|
|
|
cont "TRAIN's running."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x1994ae:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "You came out from"
|
|
|
|
line "JOHTO?"
|
|
|
|
|
|
|
|
para "You can zip back"
|
|
|
|
line "home by hopping on"
|
|
|
|
cont "the MAGNET TRAIN."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
SaffronCityCooltrainerMText:
|
2014-03-05 21:29:44 -08:00
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
SaffronCityCooltrainerFText:
|
2014-03-05 21:29:44 -08:00
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x1995fc:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Chew… Chew…"
|
|
|
|
|
|
|
|
para "I hear there's big"
|
|
|
|
line "trouble brewing at"
|
|
|
|
cont "the POWER PLANT."
|
|
|
|
|
|
|
|
para "Chew… Chew…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x19964b:
|
2014-03-05 21:29:44 -08:00
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
SaffronCityYoungster1Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Going into an"
|
|
|
|
line "alley for the"
|
|
|
|
|
|
|
|
para "first time makes"
|
|
|
|
line "me sorta anxious."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
SaffronCityYoungster2Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "There's a place"
|
|
|
|
line "called TRAINER"
|
|
|
|
|
|
|
|
para "HOUSE in VIRIDIAN"
|
|
|
|
line "where trainers"
|
|
|
|
|
|
|
|
para "gather from all"
|
|
|
|
line "over the place."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
SaffronCityLassText:
|
2014-03-05 21:29:44 -08:00
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
SaffronCitySignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "SAFFRON CITY"
|
|
|
|
|
|
|
|
para "Shining, Golden"
|
|
|
|
line "Land of Commerce"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
SaffronGymSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "SAFFRON CITY"
|
|
|
|
line "#MON GYM"
|
|
|
|
cont "LEADER: SABRINA"
|
|
|
|
|
|
|
|
para "The Master of"
|
|
|
|
line "Psychic #MON!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
FightingDojoSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Everyone Welcome!"
|
|
|
|
line "FIGHTING DOJO"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
SilphCoSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "SILPH CO."
|
|
|
|
line "OFFICE BUILDING"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
MrPsychicsHouseSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "MR.PSYCHIC'S"
|
|
|
|
line "HOUSE"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
SaffronCityMagnetTrainStationSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "SAFFRON CITY"
|
|
|
|
line "MAGNET TRAIN"
|
|
|
|
cont "STATION"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
SaffronCity_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 15 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 26, 3, FIGHTING_DOJO, 1
|
|
|
|
warp_event 34, 3, SAFFRON_GYM, 1
|
2018-02-01 18:54:00 -08:00
|
|
|
warp_event 25, 11, SAFFRON_MART, 2
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 9, 29, SAFFRON_POKECENTER_1F, 1
|
2018-02-01 18:54:00 -08:00
|
|
|
warp_event 27, 29, MR_PSYCHICS_HOUSE, 1
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 8, 3, SAFFRON_MAGNET_TRAIN_STATION, 2
|
2018-02-01 18:54:00 -08:00
|
|
|
warp_event 18, 21, SILPH_CO_1F, 1
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 9, 11, COPYCATS_HOUSE_1F, 1
|
|
|
|
warp_event 18, 3, ROUTE_5_SAFFRON_GATE, 3
|
|
|
|
warp_event 0, 24, ROUTE_7_SAFFRON_GATE, 3
|
|
|
|
warp_event 0, 25, ROUTE_7_SAFFRON_GATE, 4
|
2018-02-01 18:54:00 -08:00
|
|
|
warp_event 16, 33, ROUTE_6_SAFFRON_GATE, 1
|
|
|
|
warp_event 17, 33, ROUTE_6_SAFFRON_GATE, 2
|
|
|
|
warp_event 39, 22, ROUTE_8_SAFFRON_GATE, 1
|
|
|
|
warp_event 39, 23, ROUTE_8_SAFFRON_GATE, 2
|
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 8 ; bg events
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 21, 5, BGEVENT_READ, SaffronCitySign
|
|
|
|
bg_event 33, 5, BGEVENT_READ, SaffronGymSign
|
|
|
|
bg_event 25, 5, BGEVENT_READ, FightingDojoSign
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 15, 21, BGEVENT_READ, SilphCoSign
|
|
|
|
bg_event 25, 29, BGEVENT_READ, MrPsychicsHouseSign
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 11, 5, BGEVENT_READ, SaffronCityMagnetTrainStationSign
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 10, 29, BGEVENT_READ, SaffronCityPokecenterSign
|
|
|
|
bg_event 26, 11, BGEVENT_READ, SaffronCityMartSign
|
2017-12-24 10:46:34 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 8 ; object events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 7, 14, SPRITE_LASS, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, LassScript_0x19932a, -1
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 19, 30, SPRITE_POKEFAN_M, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, PokefanMScript_0x19933e, -1
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 32, 7, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, SaffronCityCooltrainerMScript, -1
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 20, 24, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, SaffronCityCooltrainerFScript, -1
|
|
|
|
object_event 27, 12, SPRITE_FISHER, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, FisherScript_0x199358, -1
|
|
|
|
object_event 15, 19, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WALK_UP_DOWN, 0, 1, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, SaffronCityYoungster1Script, -1
|
|
|
|
object_event 35, 22, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, SaffronCityYoungster2Script, -1
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 19, 8, SPRITE_LASS, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, SaffronCityLassScript, -1
|