pokecrystal/maps/LakeOfRageHiddenPowerHouse.asm

83 lines
1.6 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-27 05:22:14 +00:00
const LAKEOFRAGEHIDDENPOWERHOUSE_FISHER
LakeOfRageHiddenPowerHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2015-06-26 04:01:08 +00:00
HiddenPowerGuy:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_TM10_HIDDEN_POWER
2015-06-26 04:01:08 +00:00
iftrue .AlreadyGotItem
writetext HiddenPowerGuyText1
2019-11-03 17:48:54 +00:00
promptbutton
2015-11-05 01:20:14 +00:00
verbosegiveitem TM_HIDDEN_POWER
2015-06-26 04:01:08 +00:00
iffalse .Done
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_TM10_HIDDEN_POWER
2015-06-26 04:01:08 +00:00
writetext HiddenPowerGuyText2
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
.AlreadyGotItem:
2015-06-26 04:01:08 +00:00
writetext HiddenPowerGuyText3
2015-11-25 15:16:29 +00:00
waitbutton
.Done:
2015-11-25 15:16:29 +00:00
closetext
end
2015-06-26 04:01:08 +00:00
HiddenPowerHouseBookshelf:
jumpstd difficultbookshelf
2015-06-26 04:01:08 +00:00
HiddenPowerGuyText1:
text "…You have strayed"
line "far…"
para "Here I have medi-"
line "tated. Inside me,"
para "a new power has"
line "been awakened."
para "Let me share my"
line "power with your"
para "#MON."
line "Take this, child."
done
2015-06-26 04:01:08 +00:00
HiddenPowerGuyText2:
text "Do you see it? It"
line "is HIDDEN POWER!"
para "It draws out the"
line "power of #MON"
cont "for attacking."
para "Remember this: its"
line "type and power de-"
cont "pend on the #-"
cont "MON using it."
done
2015-06-26 04:01:08 +00:00
HiddenPowerGuyText3:
text "I am meditating…"
done
LakeOfRageHiddenPowerHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-02 03:22:07 +00:00
warp_event 2, 7, LAKE_OF_RAGE, 1
warp_event 3, 7, LAKE_OF_RAGE, 1
db 0 ; coord events
db 2 ; bg events
2018-02-02 03:22:07 +00:00
bg_event 0, 1, BGEVENT_READ, HiddenPowerHouseBookshelf
bg_event 1, 1, BGEVENT_READ, HiddenPowerHouseBookshelf
db 1 ; object events
2018-02-02 03:22:07 +00:00
object_event 2, 3, SPRITE_FISHER, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, HiddenPowerGuy, -1