2018-01-31 08:38:45 -08:00
|
|
|
const_def 2 ; object constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const ECRUTEAKCITY_GRAMPS1
|
|
|
|
const ECRUTEAKCITY_GRAMPS2
|
|
|
|
const ECRUTEAKCITY_LASS1
|
|
|
|
const ECRUTEAKCITY_LASS2
|
|
|
|
const ECRUTEAKCITY_FISHER
|
|
|
|
const ECRUTEAKCITY_YOUNGSTER
|
|
|
|
const ECRUTEAKCITY_GRAMPS3
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
EcruteakCity_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_ECRUTEAK
|
2013-02-16 22:54:07 -08:00
|
|
|
return
|
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
EcruteakCityGramps1Script:
|
|
|
|
jumptextfaceplayer EcruteakCityGramps1Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
EcruteakCityGramps2Script:
|
|
|
|
jumptextfaceplayer EcruteakCityGramps2Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
EcruteakCityGramps3Script:
|
|
|
|
jumptextfaceplayer EcruteakCityGramps3Text
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
EcruteakCityLassScript:
|
|
|
|
jumptextfaceplayer EcruteakCityLassText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
LassScript_0x1a4015:
|
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_RELEASED_THE_BEASTS
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1a4023
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a421a
|
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
|
|
|
UnknownScript_0x1a4023:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a4269
|
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
|
|
|
FisherScript_0x1a4029:
|
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_JASMINE_RETURNED_TO_GYM
|
2013-02-16 22:54:07 -08:00
|
|
|
iftrue UnknownScript_0x1a4037
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a42ac
|
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
|
|
|
UnknownScript_0x1a4037:
|
2015-01-20 00:01:23 -08:00
|
|
|
writetext UnknownText_0x1a4325
|
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
|
|
|
EcruteakCityYoungsterScript:
|
|
|
|
jumptextfaceplayer EcruteakCityYoungsterText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
EcruteakCitySign:
|
|
|
|
jumptext EcruteakCitySignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
TinTowerSign:
|
|
|
|
jumptext TinTowerSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
EcruteakGymSign:
|
|
|
|
jumptext EcruteakGymSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
EcruteakDanceTheaterSign:
|
|
|
|
jumptext EcruteakDanceTheaterSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
BurnedTowerSign:
|
|
|
|
jumptext BurnedTowerSignText
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-10 19:34:42 -08:00
|
|
|
EcruteakCityPokecenterSign:
|
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
|
|
|
EcruteakCityMartSign:
|
2015-06-23 14:02:58 -07:00
|
|
|
jumpstd martsign
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-12-15 08:21:58 -08:00
|
|
|
EcruteakCityHiddenHyperPotion:
|
2018-01-23 09:59:21 -08:00
|
|
|
hiddenitem HYPER_POTION, EVENT_ECRUTEAK_CITY_HIDDEN_HYPER_POTION
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnusedMissingDaughterText:
|
2013-02-16 22:54:07 -08:00
|
|
|
; This text is neither used nor referenced in the final game.
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Oh, no. Oh, no…"
|
|
|
|
|
|
|
|
para "My daughter is"
|
|
|
|
line "missing."
|
|
|
|
|
|
|
|
para "No… She couldn't"
|
|
|
|
line "have gone to the"
|
|
|
|
cont "BURNED TOWER."
|
|
|
|
|
|
|
|
para "I told her not to"
|
|
|
|
line "go near it…"
|
|
|
|
|
|
|
|
para "People seem to"
|
|
|
|
line "disappear there…"
|
|
|
|
|
|
|
|
para "Oh, what should I"
|
|
|
|
line "do…?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
EcruteakCityGramps1Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "ECRUTEAK used to"
|
|
|
|
line "have two towers:"
|
|
|
|
|
|
|
|
para "one each in the"
|
|
|
|
line "east and west."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
EcruteakCityGramps2Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Ah, child."
|
|
|
|
line "Have you learned"
|
|
|
|
|
|
|
|
para "to dance like the"
|
|
|
|
line "KIMONO GIRLS?"
|
|
|
|
|
|
|
|
para "If you go to their"
|
|
|
|
line "DANCE THEATER, an"
|
|
|
|
|
|
|
|
para "odd old man will"
|
|
|
|
line "give you something"
|
|
|
|
cont "nice, I hear."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
EcruteakCityLassText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I'm going to prac-"
|
|
|
|
line "tice at the DANCE"
|
|
|
|
|
|
|
|
para "THEATER. Care to"
|
|
|
|
line "join me?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x1a421a:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The tower that"
|
|
|
|
line "used to be here…"
|
|
|
|
|
|
|
|
para "My grandma told me"
|
|
|
|
line "it used to be much"
|
|
|
|
cont "taller."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x1a4269:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Three big #MON"
|
|
|
|
line "ran off in differ-"
|
|
|
|
cont "ent directions."
|
|
|
|
cont "What were they?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x1a42ac:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I heard a rumor"
|
|
|
|
line "about OLIVINE"
|
|
|
|
cont "LIGHTHOUSE."
|
|
|
|
|
|
|
|
para "The #MON that"
|
|
|
|
line "serves as the"
|
|
|
|
|
|
|
|
para "beacon fell ill."
|
|
|
|
line "Sounds like they"
|
|
|
|
cont "are in trouble."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
UnknownText_0x1a4325:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "The #MON at"
|
|
|
|
line "OLIVINE LIGHTHOUSE"
|
|
|
|
cont "has been cured."
|
|
|
|
|
|
|
|
para "Boats can safely"
|
|
|
|
line "sail out to sea at"
|
|
|
|
cont "night again."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
EcruteakCityYoungsterText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "I hear #MON are"
|
|
|
|
line "rampaging at the"
|
|
|
|
|
|
|
|
para "LAKE OF RAGE. I'd"
|
|
|
|
line "like to see that."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-17 16:48:04 -08:00
|
|
|
EcruteakCityGramps3Text:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "In the distant"
|
|
|
|
line "past…"
|
|
|
|
|
|
|
|
para "This tower burned"
|
|
|
|
line "in a fire. Three"
|
|
|
|
|
|
|
|
para "nameless #MON"
|
|
|
|
line "perished in it."
|
|
|
|
|
|
|
|
para "A rainbow-colored"
|
|
|
|
line "#MON descended"
|
|
|
|
|
|
|
|
para "from the sky and"
|
|
|
|
line "resurrected them…"
|
|
|
|
|
|
|
|
para "It's a legend that"
|
|
|
|
line "has been passed"
|
|
|
|
|
|
|
|
para "down by ECRUTEAK"
|
|
|
|
line "GYM LEADERS."
|
|
|
|
|
|
|
|
para "Me?"
|
|
|
|
|
|
|
|
para "I was a trainer"
|
|
|
|
line "way back when."
|
|
|
|
cont "Hohoho!"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
EcruteakCitySignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "ECRUTEAK CITY"
|
|
|
|
line "A Historical City"
|
|
|
|
|
|
|
|
para "Where the Past"
|
|
|
|
line "Meets the Present"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
TinTowerSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "TIN TOWER"
|
|
|
|
|
|
|
|
para "A legendary #-"
|
|
|
|
line "MON is said to"
|
|
|
|
cont "roost here."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
EcruteakGymSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "ECRUTEAK CITY"
|
|
|
|
line "#MON GYM"
|
|
|
|
cont "LEADER: MORTY"
|
|
|
|
|
|
|
|
para "The Mystic Seer of"
|
|
|
|
line "the Future"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
EcruteakDanceTheaterSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "ECRUTEAK DANCE"
|
|
|
|
line "THEATER"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2015-06-25 21:01:08 -07:00
|
|
|
BurnedTowerSignText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "BURNED TOWER"
|
|
|
|
|
|
|
|
para "It was destroyed"
|
|
|
|
line "by a mysterious"
|
|
|
|
cont "fire."
|
|
|
|
|
|
|
|
para "Please stay away,"
|
|
|
|
line "as it is unsafe."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
EcruteakCity_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-01-28 10:20:04 -08:00
|
|
|
warp_event 35, 26, 1, ROUTE_42_ECRUTEAK_GATE
|
|
|
|
warp_event 35, 27, 2, ROUTE_42_ECRUTEAK_GATE
|
|
|
|
warp_event 18, 11, 1, ECRUTEAK_TIN_TOWER_ENTRANCE
|
|
|
|
warp_event 20, 2, 1, WISE_TRIOS_ROOM
|
|
|
|
warp_event 20, 3, 2, WISE_TRIOS_ROOM
|
|
|
|
warp_event 23, 27, 1, ECRUTEAK_POKECENTER_1F
|
|
|
|
warp_event 5, 21, 1, ECRUTEAK_LUGIA_SPEECH_HOUSE
|
|
|
|
warp_event 23, 21, 1, DANCE_THEATRE
|
|
|
|
warp_event 29, 21, 2, ECRUTEAK_MART
|
|
|
|
warp_event 6, 27, 1, ECRUTEAK_GYM
|
|
|
|
warp_event 13, 27, 1, ECRUTEAK_ITEMFINDER_HOUSE
|
|
|
|
warp_event 37, 7, 1, TIN_TOWER_1F
|
|
|
|
warp_event 5, 5, 1, BURNED_TOWER_1F
|
|
|
|
warp_event 0, 18, 3, ROUTE_38_ECRUTEAK_GATE
|
|
|
|
warp_event 0, 19, 4, ROUTE_38_ECRUTEAK_GATE
|
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
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 15, 21, BGEVENT_READ, EcruteakCitySign
|
|
|
|
bg_event 38, 10, BGEVENT_READ, TinTowerSign
|
|
|
|
bg_event 8, 28, BGEVENT_READ, EcruteakGymSign
|
2017-12-24 10:46:34 -08:00
|
|
|
bg_event 21, 21, BGEVENT_READ, EcruteakDanceTheaterSign
|
2017-12-28 11:31:25 -08:00
|
|
|
bg_event 2, 10, BGEVENT_READ, BurnedTowerSign
|
|
|
|
bg_event 24, 27, BGEVENT_READ, EcruteakCityPokecenterSign
|
|
|
|
bg_event 30, 21, BGEVENT_READ, EcruteakCityMartSign
|
|
|
|
bg_event 23, 14, BGEVENT_ITEM, EcruteakCityHiddenHyperPotion
|
2017-12-24 10:46:34 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 7 ; object events
|
2017-12-28 11:31:25 -08:00
|
|
|
object_event 18, 15, SPRITE_GRAMPS, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakCityGramps1Script, -1
|
|
|
|
object_event 20, 21, SPRITE_GRAMPS, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakCityGramps2Script, -1
|
|
|
|
object_event 21, 29, SPRITE_LASS, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 2, 0, -1, -1, PAL_NPC_BLUE, OBJECTTYPE_SCRIPT, 0, EcruteakCityLassScript, -1
|
|
|
|
object_event 3, 9, SPRITE_LASS, SPRITEMOVEDATA_STANDING_UP, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, LassScript_0x1a4015, -1
|
|
|
|
object_event 9, 22, SPRITE_FISHER, SPRITEMOVEDATA_WALK_LEFT_RIGHT, 1, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, FisherScript_0x1a4029, -1
|
|
|
|
object_event 10, 14, SPRITE_YOUNGSTER, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, EcruteakCityYoungsterScript, -1
|
|
|
|
object_event 3, 7, SPRITE_GRAMPS, SPRITEMOVEDATA_WANDER, 1, 1, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, EcruteakCityGramps3Script, EVENT_ECRUTEAK_CITY_GRAMPS
|