2019-04-21 14:42:25 -07:00
|
|
|
object_const_def ; object_event constants
|
2015-11-26 21:22:14 -08:00
|
|
|
const ECRUTEAKITEMFINDERHOUSE_COOLTRAINER_M
|
|
|
|
const ECRUTEAKITEMFINDERHOUSE_POKEDEX
|
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
EcruteakItemfinderHouse_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 0 ; callbacks
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-25 09:55:26 -08:00
|
|
|
EcruteakItemfinderGuy:
|
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_ITEMFINDER
|
2017-12-25 09:55:26 -08:00
|
|
|
iftrue .itemfinder
|
|
|
|
writetext EcruteakItemfinderAdventureText
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2017-12-25 09:55:26 -08:00
|
|
|
iffalse .no
|
|
|
|
writetext EcruteakItemfinderTrueSpiritText
|
2019-11-03 09:48:54 -08:00
|
|
|
promptbutton
|
2015-11-04 17:20:14 -08:00
|
|
|
verbosegiveitem ITEMFINDER
|
2013-09-24 00:48:58 -07:00
|
|
|
setevent EVENT_GOT_ITEMFINDER
|
2017-12-25 09:55:26 -08:00
|
|
|
.itemfinder:
|
|
|
|
writetext ItemfinderExplanationText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-25 09:55:26 -08:00
|
|
|
.no:
|
|
|
|
writetext EcruteakItemfinderToEachHisOwnText
|
2015-11-25 07:16:29 -08:00
|
|
|
waitbutton
|
2013-02-16 22:54:07 -08:00
|
|
|
closetext
|
|
|
|
end
|
|
|
|
|
2017-12-25 09:55:26 -08:00
|
|
|
EcruteakHistoryBook:
|
2015-12-09 15:25:44 -08:00
|
|
|
opentext
|
2017-12-25 09:55:26 -08:00
|
|
|
writetext EcruteakHistoryBookText
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2017-12-25 09:55:26 -08:00
|
|
|
iftrue .ReadBook
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-25 09:55:26 -08:00
|
|
|
.ReadBook:
|
|
|
|
writetext EcruteakTwoTowersText
|
2013-02-16 22:54:07 -08:00
|
|
|
yesorno
|
2017-12-25 09:55:26 -08:00
|
|
|
iftrue .KeepReading
|
2015-11-25 07:16:29 -08:00
|
|
|
closetext
|
2013-02-16 22:54:07 -08:00
|
|
|
end
|
|
|
|
|
2017-12-25 09:55:26 -08:00
|
|
|
.KeepReading:
|
|
|
|
writetext EcruteakThreeMonText
|
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
|
|
|
ItemFinderHouseRadio:
|
2015-06-23 14:02:58 -07:00
|
|
|
jumpstd radio2
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-25 09:55:26 -08:00
|
|
|
EcruteakItemfinderAdventureText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Ah. You're on an"
|
|
|
|
line "adventure with"
|
|
|
|
cont "your #MON?"
|
|
|
|
|
|
|
|
para "Well, what's an"
|
|
|
|
line "adventure without"
|
|
|
|
cont "treasure hunting?"
|
|
|
|
|
|
|
|
para "Am I right, or am"
|
|
|
|
line "I right?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-25 09:55:26 -08:00
|
|
|
EcruteakItemfinderTrueSpiritText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Good! You under-"
|
|
|
|
line "stand the true"
|
|
|
|
|
|
|
|
para "spirit of adven-"
|
|
|
|
line "ture."
|
|
|
|
|
|
|
|
para "I like that! Take"
|
|
|
|
line "this with you."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-25 09:55:26 -08:00
|
|
|
ItemfinderExplanationText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "There are many"
|
|
|
|
line "items lying about"
|
|
|
|
|
|
|
|
para "that aren't ob-"
|
|
|
|
line "vious."
|
|
|
|
|
|
|
|
para "Use ITEMFINDER to"
|
|
|
|
line "check if there is"
|
|
|
|
|
|
|
|
para "an item on the"
|
|
|
|
line "ground near you."
|
|
|
|
|
|
|
|
para "It doesn't show"
|
|
|
|
line "the exact spot,"
|
|
|
|
|
|
|
|
para "so you'll have to"
|
|
|
|
line "look yourself."
|
|
|
|
|
|
|
|
para "Oh yeah--I heard"
|
|
|
|
line "there are items"
|
|
|
|
|
|
|
|
para "in ECRUTEAK's"
|
|
|
|
line "BURNED TOWER."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-25 09:55:26 -08:00
|
|
|
EcruteakItemfinderToEachHisOwnText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "Oh… To each his"
|
|
|
|
line "own, I suppose…"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-25 09:55:26 -08:00
|
|
|
EcruteakHistoryBookText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "HISTORY OF"
|
|
|
|
line "ECRUTEAK"
|
|
|
|
|
|
|
|
para "Want to read it?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-25 09:55:26 -08:00
|
|
|
EcruteakTwoTowersText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "In ECRUTEAK, there"
|
|
|
|
line "were two towers."
|
|
|
|
|
|
|
|
para "Each tower was the"
|
|
|
|
line "roost of powerful"
|
|
|
|
cont "flying #MON."
|
|
|
|
|
|
|
|
para "But one of the"
|
|
|
|
line "towers burned to"
|
|
|
|
cont "the ground."
|
|
|
|
|
|
|
|
para "The two #MON"
|
|
|
|
line "haven't been seen"
|
|
|
|
cont "since…"
|
|
|
|
|
|
|
|
para "Keep reading?"
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2017-12-25 09:55:26 -08:00
|
|
|
EcruteakThreeMonText:
|
2014-03-05 21:29:44 -08:00
|
|
|
text "ECRUTEAK was also"
|
|
|
|
line "home to three"
|
|
|
|
|
|
|
|
para "#MON that raced"
|
|
|
|
line "around the town."
|
|
|
|
|
|
|
|
para "They were said to"
|
|
|
|
line "have been born of"
|
|
|
|
|
|
|
|
para "water, lightning"
|
|
|
|
line "and fire."
|
|
|
|
|
|
|
|
para "But they could not"
|
|
|
|
line "contain their"
|
|
|
|
cont "excessive power."
|
|
|
|
|
|
|
|
para "So they say the"
|
|
|
|
line "three ran like the"
|
|
|
|
|
|
|
|
para "wind off into the"
|
|
|
|
line "grassland."
|
|
|
|
done
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-16 19:57:19 -08:00
|
|
|
EcruteakItemfinderHouse_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 2 ; warp events
|
2018-02-01 19:22:07 -08:00
|
|
|
warp_event 3, 7, ECRUTEAK_CITY, 11
|
|
|
|
warp_event 4, 7, ECRUTEAK_CITY, 11
|
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 1 ; bg events
|
2018-02-01 19:22:07 -08:00
|
|
|
bg_event 2, 1, BGEVENT_READ, ItemFinderHouseRadio
|
2013-02-16 22:54:07 -08:00
|
|
|
|
2018-01-30 11:15:47 -08:00
|
|
|
db 2 ; object events
|
2018-02-01 19:22:07 -08:00
|
|
|
object_event 2, 3, SPRITE_COOLTRAINER_M, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_RED, OBJECTTYPE_SCRIPT, 0, EcruteakItemfinderGuy, -1
|
|
|
|
object_event 3, 3, SPRITE_POKEDEX, SPRITEMOVEDATA_STILL, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, EcruteakHistoryBook, -1
|