pokecrystal/maps/PewterCity.asm

182 lines
3.6 KiB
NASM
Raw Normal View History

2015-06-26 04:01:08 +00:00
PewterCity_MapScriptHeader:
.MapTriggers:
db 0
.MapCallbacks:
db 1
; callbacks
2015-06-26 05:30:16 +00:00
dbw 5, .FlyPoint
2015-06-26 05:30:16 +00:00
.FlyPoint
setflag ENGINE_FLYPOINT_PEWTER
return
2015-06-26 04:01:08 +00:00
CooltrainerFScript_0x18c009:
jumptextfaceplayer UnknownText_0x18c042
2015-06-26 04:01:08 +00:00
BugCatcherScript_0x18c00c:
jumptextfaceplayer UnknownText_0x18c080
2015-06-26 04:01:08 +00:00
GrampsScript_0x18c00f:
faceplayer
loadfont
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_SILVER_WING
iftrue UnknownScript_0x18c023
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x18c0c6
keeptextopen
verbosegiveitem SILVER_WING, 1
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_SILVER_WING
loadmovesprites
end
2015-06-26 04:01:08 +00:00
UnknownScript_0x18c023:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x18c1aa
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
PewterCitySign:
jumptext PewterCitySignText
2015-06-26 04:01:08 +00:00
PewterGymSign:
jumptext PewterGymSignText
2015-06-26 04:01:08 +00:00
PewterMuseumSign:
jumptext PewterMuseumSignText
2015-06-26 04:01:08 +00:00
PewterCityMtMoonGiftShopSign:
jumptext PewterCityMtMoonGiftShopSignText
2015-06-26 04:01:08 +00:00
PewterCityWelcomeSign:
jumptext PewterCityWelcomeSignText
2015-06-26 04:01:08 +00:00
PewterCityPokeCenterSign:
2015-06-23 21:02:58 +00:00
jumpstd pokecentersign
2015-06-26 04:01:08 +00:00
PewterCityMartSign:
2015-06-23 21:02:58 +00:00
jumpstd martsign
2015-06-26 04:01:08 +00:00
FruitTreeScript_0x18c03e:
fruittree $1c
2015-06-26 04:01:08 +00:00
FruitTreeScript_0x18c040:
fruittree $1d
2015-06-26 04:01:08 +00:00
UnknownText_0x18c042:
text "Have you visited"
line "PEWTER GYM?"
para "The LEADER uses"
line "rock-type #MON."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x18c080:
text "At night, CLEFAIRY"
line "come out to play"
cont "at MT.MOON."
para "But not every"
line "night."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x18c0c6:
text "Ah, you came all"
line "the way out here"
cont "from JOHTO?"
para "That brings back"
line "memories. When I"
para "was young, I went"
line "to JOHTO to train."
para "You remind me so"
line "much of what I was"
para "like as a young"
line "man."
para "Here. I want you"
line "to have this item"
cont "I found in JOHTO."
done
2015-06-26 04:01:08 +00:00
UnknownText_0x18c1aa:
text "Going to new, un-"
line "known places and"
cont "seeing new people…"
para "Those are the joys"
line "of travel."
done
2015-06-26 04:01:08 +00:00
PewterCitySignText:
text "PEWTER CITY"
line "A Stone Gray City"
done
2015-06-26 04:01:08 +00:00
PewterGymSignText:
text "PEWTER CITY"
line "#MON GYM"
cont "LEADER: BROCK"
para "The Rock Solid"
line "#MON Trainer"
done
2015-06-26 04:01:08 +00:00
PewterMuseumSignText:
text "There's a notice"
line "here…"
para "PEWTER MUSEUM OF"
line "SCIENCE is closed"
cont "for renovations…"
done
2015-06-26 04:01:08 +00:00
PewterCityMtMoonGiftShopSignText:
text "There's a notice"
line "here…"
para "MT.MOON GIFT SHOP"
line "NOW OPEN!"
done
2015-06-26 04:01:08 +00:00
PewterCityWelcomeSignText:
text "WELCOME TO"
line "PEWTER CITY!"
done
2015-06-26 04:01:08 +00:00
PewterCity_MapEventHeader:
; filler
db 0, 0
.Warps:
db 5
warp_def $d, $1d, 1, PEWTER_NIDORAN_SPEECH_HOUSE
warp_def $11, $10, 1, PEWTER_GYM
warp_def $11, $17, 2, PEWTER_MART
warp_def $19, $d, 1, PEWTER_POKECENTER_1F
warp_def $1d, $7, 1, PEWTER_SNOOZE_SPEECH_HOUSE
.XYTriggers:
db 0
.Signposts:
db 7
signpost 23, 25, SIGNPOST_READ, PewterCitySign
signpost 17, 11, SIGNPOST_READ, PewterGymSign
signpost 9, 15, SIGNPOST_READ, PewterMuseumSign
signpost 19, 33, SIGNPOST_READ, PewterCityMtMoonGiftShopSign
signpost 29, 19, SIGNPOST_READ, PewterCityWelcomeSign
signpost 25, 14, SIGNPOST_READ, PewterCityPokeCenterSign
signpost 17, 24, SIGNPOST_READ, PewterCityMartSign
.PersonEvents:
db 5
person_event SPRITE_COOLTRAINER_F, 11 + 4, 19 + 4, $2, 2, 2, -1, -1, (1 << 3) | PAL_OW_GREEN, 0, 0, CooltrainerFScript_0x18c009, -1
person_event SPRITE_BUG_CATCHER, 29 + 4, 14 + 4, $2, 2, 2, -1, -1, (1 << 3) | PAL_OW_RED, 0, 0, BugCatcherScript_0x18c00c, -1
person_event SPRITE_GRAMPS, 17 + 4, 29 + 4, $5, 0, 2, -1, -1, (1 << 3) | PAL_OW_BLUE, 0, 0, GrampsScript_0x18c00f, -1
person_event SPRITE_FRUIT_TREE, 3 + 4, 32 + 4, $1, 0, 0, -1, -1, 0, 0, 0, FruitTreeScript_0x18c03e, -1
person_event SPRITE_FRUIT_TREE, 3 + 4, 30 + 4, $1, 0, 0, -1, -1, 0, 0, 0, FruitTreeScript_0x18c040, -1