pokecrystal-board/maps/SaffronCity.asm

306 lines
6.7 KiB
NASM
Raw Normal View History

2015-06-25 21:01:08 -07:00
SaffronCity_MapScriptHeader:
; trigger count
db 0
; callback count
db 1
; callbacks
2015-06-25 22:30:16 -07:00
dbw 5, .FlyPoint
2015-06-25 22:30:16 -07:00
.FlyPoint
setflag ENGINE_FLYPOINT_SAFFRON
return
2015-06-25 21:01:08 -07:00
LassScript_0x19932a:
faceplayer
loadfont
2013-09-24 00:48:58 -07:00
checkevent EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x199338
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19938d
closetext
loadmovesprites
end
2015-06-25 21:01:08 -07:00
UnknownScript_0x199338:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19940d
closetext
loadmovesprites
end
2015-06-25 21:01:08 -07:00
PokefanMScript_0x19933e:
faceplayer
loadfont
2013-09-24 00:48:58 -07:00
checkevent EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x19934c
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x199460
closetext
loadmovesprites
end
2015-06-25 21:01:08 -07:00
UnknownScript_0x19934c:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1994ae
closetext
loadmovesprites
end
2015-06-25 21:01:08 -07:00
CooltrainerMScript_0x199352:
jumptextfaceplayer UnknownText_0x1994fe
2015-06-25 21:01:08 -07:00
CooltrainerFScript_0x199355:
jumptextfaceplayer UnknownText_0x19958e
2015-06-25 21:01:08 -07:00
FisherScript_0x199358:
faceplayer
loadfont
2013-09-24 00:48:58 -07:00
checkevent EVENT_RETURNED_MACHINE_PART
iftrue UnknownScript_0x199366
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x1995fc
closetext
loadmovesprites
end
2015-06-25 21:01:08 -07:00
UnknownScript_0x199366:
2015-01-20 00:01:23 -08:00
writetext UnknownText_0x19964b
closetext
loadmovesprites
end
2015-06-25 21:01:08 -07:00
YoungsterScript_0x19936c:
jumptextfaceplayer UnknownText_0x1996a5
2015-06-25 21:01:08 -07:00
YoungsterScript_0x19936f:
jumptextfaceplayer UnknownText_0x1996e5
2015-06-25 21:01:08 -07:00
LassScript_0x199372:
jumptextfaceplayer UnknownText_0x199745
2015-06-25 21:01:08 -07:00
SaffronCitySign:
jumptext SaffronCitySignText
2015-06-25 21:01:08 -07:00
SaffronGymSign:
jumptext SaffronGymSignText
2015-06-25 21:01:08 -07:00
FightingDojoSign:
jumptext FightingDojoSignText
2015-06-25 21:01:08 -07:00
SilphCoSign:
jumptext SilphCoSignText
2015-06-25 21:01:08 -07:00
MrPsychicsHouseSign:
jumptext MrPsychicsHouseSignText
2015-06-25 21:01:08 -07:00
SaffronCityMagnetTrainStationSign:
jumptext SaffronCityMagnetTrainStationSignText
2015-06-25 21:01:08 -07:00
SaffronCityPokeCenterSign:
2015-06-23 14:02:58 -07:00
jumpstd pokecentersign
2015-06-25 21:01:08 -07:00
SaffronCityMartSign:
2015-06-23 14:02:58 -07:00
jumpstd martsign
2015-06-25 21:01:08 -07: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-25 21:01:08 -07:00
UnknownText_0x19940d:
text "The COPYCAT girl"
line "looked unhappy."
para "She said she lost"
line "her favorite #"
cont "DOLL--CLEFAIRY."
done
2015-06-25 21:01:08 -07: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-25 21:01:08 -07: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
2015-06-25 21:01:08 -07:00
UnknownText_0x1994fe:
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
2015-06-25 21:01:08 -07:00
UnknownText_0x19958e:
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-25 21:01:08 -07: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-25 21:01:08 -07: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
2015-06-25 21:01:08 -07:00
UnknownText_0x1996a5:
text "Going into an"
line "alley for the"
para "first time makes"
line "me sorta anxious."
done
2015-06-25 21:01:08 -07:00
UnknownText_0x1996e5:
text "There's a place"
line "called TRAINER"
para "HOUSE in VIRIDIAN"
line "where trainers"
para "gather from all"
line "over the place."
done
2015-06-25 21:01:08 -07:00
UnknownText_0x199745:
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-25 21:01:08 -07:00
SaffronCitySignText:
text "SAFFRON CITY"
para "Shining, Golden"
line "Land of Commerce"
done
2015-06-25 21:01:08 -07:00
SaffronGymSignText:
text "SAFFRON CITY"
line "#MON GYM"
cont "LEADER: SABRINA"
para "The Master of"
line "Psychic #MON!"
done
2015-06-25 21:01:08 -07:00
FightingDojoSignText:
text "Everyone Welcome!"
line "FIGHTING DOJO"
done
2015-06-25 21:01:08 -07:00
SilphCoSignText:
text "SILPH CO."
line "OFFICE BUILDING"
done
2015-06-25 21:01:08 -07:00
MrPsychicsHouseSignText:
text "MR.PSYCHIC'S"
line "HOUSE"
done
2015-06-25 21:01:08 -07:00
SaffronCityMagnetTrainStationSignText:
text "SAFFRON CITY"
line "MAGNET TRAIN"
cont "STATION"
done
2015-06-25 21:01:08 -07:00
SaffronCity_MapEventHeader:
; filler
db 0, 0
; warps
db 15
warp_def $3, $1a, 1, GROUP_FIGHTING_DOJO, MAP_FIGHTING_DOJO
warp_def $3, $22, 1, GROUP_SAFFRON_GYM, MAP_SAFFRON_GYM
warp_def $b, $19, 2, GROUP_SAFFRON_MART, MAP_SAFFRON_MART
warp_def $1d, $9, 1, GROUP_SAFFRON_POKECENTER_1F, MAP_SAFFRON_POKECENTER_1F
warp_def $1d, $1b, 1, GROUP_MR_PSYCHICS_HOUSE, MAP_MR_PSYCHICS_HOUSE
warp_def $3, $8, 2, GROUP_SAFFRON_TRAIN_STATION, MAP_SAFFRON_TRAIN_STATION
warp_def $15, $12, 1, GROUP_SILPH_CO_1F, MAP_SILPH_CO_1F
warp_def $b, $9, 1, GROUP_COPYCATS_HOUSE_1F, MAP_COPYCATS_HOUSE_1F
warp_def $3, $12, 3, GROUP_ROUTE_5_SAFFRON_CITY_GATE, MAP_ROUTE_5_SAFFRON_CITY_GATE
warp_def $18, $0, 3, GROUP_ROUTE_7_SAFFRON_GATE, MAP_ROUTE_7_SAFFRON_GATE
warp_def $19, $0, 4, GROUP_ROUTE_7_SAFFRON_GATE, MAP_ROUTE_7_SAFFRON_GATE
warp_def $21, $10, 1, GROUP_ROUTE_6_SAFFRON_GATE, MAP_ROUTE_6_SAFFRON_GATE
warp_def $21, $11, 2, GROUP_ROUTE_6_SAFFRON_GATE, MAP_ROUTE_6_SAFFRON_GATE
warp_def $16, $27, 1, GROUP_ROUTE_8_SAFFRON_GATE, MAP_ROUTE_8_SAFFRON_GATE
warp_def $17, $27, 2, GROUP_ROUTE_8_SAFFRON_GATE, MAP_ROUTE_8_SAFFRON_GATE
; xy triggers
db 0
; signposts
db 8
signpost 5, 21, SIGNPOST_READ, SaffronCitySign
signpost 5, 33, SIGNPOST_READ, SaffronGymSign
signpost 5, 25, SIGNPOST_READ, FightingDojoSign
signpost 21, 15, SIGNPOST_READ, SilphCoSign
signpost 29, 25, SIGNPOST_READ, MrPsychicsHouseSign
signpost 5, 11, SIGNPOST_READ, SaffronCityMagnetTrainStationSign
signpost 29, 10, SIGNPOST_READ, SaffronCityPokeCenterSign
signpost 11, 26, SIGNPOST_READ, SaffronCityMartSign
; people-events
db 8
person_event SPRITE_LASS, 18, 11, UP << 2 | $1, $2, -1, -1, (PAL_OW_RED << 4) | $80, 0, LassScript_0x19932a, -1
person_event SPRITE_POKEFAN_M, 34, 23, UP << 2 | $1, $2, -1, -1, (PAL_OW_BROWN << 4) | $80, 0, PokefanMScript_0x19933e, -1
person_event SPRITE_COOLTRAINER_M, 11, 36, UP << 2 | $1, $1, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, CooltrainerMScript_0x199352, -1
person_event SPRITE_COOLTRAINER_F, 28, 24, UP << 2 | $1, $2, -1, -1, (PAL_OW_RED << 4) | $80, 0, CooltrainerFScript_0x199355, -1
person_event SPRITE_FISHER, 16, 31, UP << 2 | $2, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, FisherScript_0x199358, -1
person_event SPRITE_YOUNGSTER, 23, 19, UP << 2 | $0, $10, -1, -1, (PAL_OW_BLUE << 4) | $80, 0, YoungsterScript_0x19936c, -1
person_event SPRITE_YOUNGSTER, 26, 39, DOWN << 2 | $2, $11, -1, -1, (PAL_OW_RED << 4) | $80, 0, YoungsterScript_0x19936f, -1
person_event SPRITE_LASS, 12, 23, DOWN << 2 | $3, $0, -1, -1, (PAL_OW_GREEN << 4) | $80, 0, LassScript_0x199372, -1