pokecrystal/maps/EcruteakItemfinderHouse.asm

178 lines
3.2 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-27 05:22:14 +00:00
const ECRUTEAKITEMFINDERHOUSE_COOLTRAINER_M
const ECRUTEAKITEMFINDERHOUSE_POKEDEX
EcruteakItemfinderHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
EcruteakItemfinderGuy:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_ITEMFINDER
iftrue .itemfinder
writetext EcruteakItemfinderAdventureText
yesorno
iffalse .no
writetext EcruteakItemfinderTrueSpiritText
2019-11-03 17:48:54 +00:00
promptbutton
2015-11-05 01:20:14 +00:00
verbosegiveitem ITEMFINDER
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_ITEMFINDER
.itemfinder:
writetext ItemfinderExplanationText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.no:
writetext EcruteakItemfinderToEachHisOwnText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
EcruteakHistoryBook:
2015-12-09 23:25:44 +00:00
opentext
writetext EcruteakHistoryBookText
yesorno
iftrue .ReadBook
2015-11-25 15:16:29 +00:00
closetext
end
.ReadBook:
writetext EcruteakTwoTowersText
yesorno
iftrue .KeepReading
2015-11-25 15:16:29 +00:00
closetext
end
.KeepReading:
writetext EcruteakThreeMonText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 04:01:08 +00:00
ItemFinderHouseRadio:
jumpstd Radio2Script
EcruteakItemfinderAdventureText:
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
EcruteakItemfinderTrueSpiritText:
text "Good! You under-"
line "stand the true"
para "spirit of adven-"
line "ture."
para "I like that! Take"
line "this with you."
done
ItemfinderExplanationText:
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
EcruteakItemfinderToEachHisOwnText:
text "Oh… To each his"
line "own, I suppose…"
done
EcruteakHistoryBookText:
text "HISTORY OF"
line "ECRUTEAK"
para "Want to read it?"
done
EcruteakTwoTowersText:
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
EcruteakThreeMonText:
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
EcruteakItemfinderHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-02 03:22:07 +00:00
warp_event 3, 7, ECRUTEAK_CITY, 11
warp_event 4, 7, ECRUTEAK_CITY, 11
db 0 ; coord events
db 1 ; bg events
2018-02-02 03:22:07 +00:00
bg_event 2, 1, BGEVENT_READ, ItemFinderHouseRadio
db 2 ; object events
2018-02-02 03:22:07 +00: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