pokecrystal/maps/PewterCity.asm

187 lines
3.9 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
const PEWTERCITY_COOLTRAINER_F
const PEWTERCITY_BUG_CATCHER
const PEWTERCITY_GRAMPS
const PEWTERCITY_FRUIT_TREE1
const PEWTERCITY_FRUIT_TREE2
2015-06-26 04:01:08 +00:00
PewterCity_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_PEWTER
return
2017-12-18 00:48:04 +00:00
PewterCityCooltrainerFScript:
jumptextfaceplayer PewterCityCooltrainerFText
2017-12-18 00:48:04 +00:00
PewterCityBugCatcherScript:
jumptextfaceplayer PewterCityBugCatcherText
2015-06-26 04:01:08 +00:00
GrampsScript_0x18c00f:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
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
2015-11-30 03:29:45 +00:00
buttonsound
2015-11-05 01:20:14 +00:00
verbosegiveitem SILVER_WING
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_SILVER_WING
2015-11-25 15:16:29 +00:00
closetext
end
2015-06-26 04:01:08 +00:00
UnknownScript_0x18c023:
2015-01-20 08:01:23 +00:00
writetext UnknownText_0x18c1aa
2015-11-25 15:16:29 +00:00
waitbutton
closetext
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
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:
2015-11-18 15:42:42 +00:00
fruittree FRUITTREE_PEWTER_CITY_1
2015-06-26 04:01:08 +00:00
FruitTreeScript_0x18c040:
2015-11-18 15:42:42 +00:00
fruittree FRUITTREE_PEWTER_CITY_2
2017-12-18 00:48:04 +00:00
PewterCityCooltrainerFText:
text "Have you visited"
line "PEWTER GYM?"
para "The LEADER uses"
line "rock-type #MON."
done
2017-12-18 00:48:04 +00:00
PewterCityBugCatcherText:
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
.CoordEvents:
db 0
.BGEvents:
db 7
bg_event 23, 25, BGEVENT_READ, PewterCitySign
bg_event 17, 11, BGEVENT_READ, PewterGymSign
bg_event 9, 15, BGEVENT_READ, PewterMuseumSign
bg_event 19, 33, BGEVENT_READ, PewterCityMtMoonGiftShopSign
bg_event 29, 19, BGEVENT_READ, PewterCityWelcomeSign
bg_event 25, 14, BGEVENT_READ, PewterCityPokecenterSign
bg_event 17, 24, BGEVENT_READ, PewterCityMartSign
.ObjectEvents:
db 5
object_event SPRITE_COOLTRAINER_F, 11, 19, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, PewterCityCooltrainerFScript, -1
object_event SPRITE_BUG_CATCHER, 29, 14, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, PewterCityBugCatcherScript, -1
object_event SPRITE_GRAMPS, 17, 29, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 0, 2, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GrampsScript_0x18c00f, -1
object_event SPRITE_FRUIT_TREE, 3, 32, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FruitTreeScript_0x18c03e, -1
object_event SPRITE_FRUIT_TREE, 3, 30, SPRITEMOVEDATA_ITEM_TREE, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FruitTreeScript_0x18c040, -1