2018-01-31 08:38:45 -08:00
|
|
|
const_def 2 ; object constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const PEWTERCITY_COOLTRAINER_F
|
|
|
|
const PEWTERCITY_BUG_CATCHER
|
|
|
|
const PEWTERCITY_GRAMPS
|
|
|
|
const PEWTERCITY_FRUIT_TREE1
|
|
|
|
const PEWTERCITY_FRUIT_TREE2
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
PewterCity_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_PEWTER
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
PewterCityCooltrainerFScript:
|
|
|
|
jumptextfaceplayer PewterCityCooltrainerFText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
PewterCityBugCatcherScript:
|
|
|
|
jumptextfaceplayer PewterCityBugCatcherText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
GrampsScript_0x18c00f:
|
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_GOT_SILVER_WING
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x18c023
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x18c0c6
|
2015-11-29 19:29:45 -08:00
|
|
|
buttonsound
|
2015-11-04 17:20:14 -08:00
|
|
|
verbosegiveitem SILVER_WING
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_GOT_SILVER_WING
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownScript_0x18c023:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x18c1aa
|
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
|
|
|
PewterCitySign:
|
|
|
|
jumptext PewterCitySignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
PewterGymSign:
|
|
|
|
jumptext PewterGymSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
PewterMuseumSign:
|
|
|
|
jumptext PewterMuseumSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
PewterCityMtMoonGiftShopSign:
|
|
|
|
jumptext PewterCityMtMoonGiftShopSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
PewterCityWelcomeSign:
|
|
|
|
jumptext PewterCityWelcomeSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 19:34:42 -08:00
|
|
|
PewterCityPokecenterSign:
|
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
|
|
|
PewterCityMartSign:
|
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
|
|
|
FruitTreeScript_0x18c03e:
|
2015-11-18 07:42:42 -08:00
|
|
|
fruittree FRUITTREE_PEWTER_CITY_1
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
FruitTreeScript_0x18c040:
|
2015-11-18 07:42:42 -08:00
|
|
|
fruittree FRUITTREE_PEWTER_CITY_2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
PewterCityCooltrainerFText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Have you visited"
|
|
|
|
line "PEWTER GYM?"
|
|
|
|
|
|
|
|
para "The LEADER uses"
|
|
|
|
line "rock-type #MON."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
PewterCityBugCatcherText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "At night, CLEFAIRY"
|
|
|
|
line "come out to play"
|
|
|
|
cont "at MT.MOON."
|
|
|
|
|
|
|
|
para "But not every"
|
|
|
|
line "night."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x18c0c6:
|
2014-03-05 21:29:44 -08:00
|
|
|
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
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x18c1aa:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Going to new, un-"
|
|
|
|
line "known places and"
|
|
|
|
cont "seeing new people…"
|
|
|
|
|
|
|
|
para "Those are the joys"
|
|
|
|
line "of travel."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
PewterCitySignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "PEWTER CITY"
|
|
|
|
line "A Stone Gray City"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
PewterGymSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "PEWTER CITY"
|
|
|
|
line "#MON GYM"
|
|
|
|
cont "LEADER: BROCK"
|
|
|
|
|
|
|
|
para "The Rock Solid"
|
|
|
|
line "#MON Trainer"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
PewterMuseumSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "There's a notice"
|
|
|
|
line "here…"
|
|
|
|
|
|
|
|
para "PEWTER MUSEUM OF"
|
|
|
|
line "SCIENCE is closed"
|
|
|
|
cont "for renovations…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
PewterCityMtMoonGiftShopSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "There's a notice"
|
|
|
|
line "here…"
|
|
|
|
|
|
|
|
para "MT.MOON GIFT SHOP"
|
|
|
|
line "NOW OPEN!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
PewterCityWelcomeSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "WELCOME TO"
|
|
|
|
line "PEWTER CITY!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
PewterCity_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 5 ; warp events
|
2018-01-28 10:20:04 -08:00
|
|
|
warp_event 29, 13, 1, PEWTER_NIDORAN_SPEECH_HOUSE
|
|
|
|
warp_event 16, 17, 1, PEWTER_GYM
|
|
|
|
warp_event 23, 17, 2, PEWTER_MART
|
|
|
|
warp_event 13, 25, 1, PEWTER_POKECENTER_1F
|
|
|
|
warp_event 7, 29, 1, PEWTER_SNOOZE_SPEECH_HOUSE
|
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 7 ; bg events
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 25, 23, BGEVENT_READ, PewterCitySign
|
|
|
|
bg_event 11, 17, BGEVENT_READ, PewterGymSign
|
|
|
|
bg_event 15, 9, BGEVENT_READ, PewterMuseumSign
|
|
|
|
bg_event 33, 19, BGEVENT_READ, PewterCityMtMoonGiftShopSign
|
|
|
|
bg_event 19, 29, BGEVENT_READ, PewterCityWelcomeSign
|
|
|
|
bg_event 14, 25, BGEVENT_READ, PewterCityPokecenterSign
|
|
|
|
bg_event 24, 17, BGEVENT_READ, PewterCityMartSign
|
2017-12-24 10:46:34 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 5 ; object events
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 19, 11, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, PewterCityCooltrainerFScript, -1
|
|
|
|
object_event 14, 29, SPRITE_BUG_CATCHER, SPRITEMOVEDATA_WANDER, 2, 2, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, PewterCityBugCatcherScript, -1
|
|
|
|
object_event 29, 17, SPRITE_GRAMPS, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, GrampsScript_0x18c00f, -1
|
2018-01-30 19:12:53 -08:00
|
|
|
object_event 32, 3, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FruitTreeScript_0x18c03e, -1
|
|
|
|
object_event 30, 3, SPRITE_FRUIT_TREE, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, FruitTreeScript_0x18c040, -1
|