pokecrystal-board/maps/LakeOfRageHiddenPowerHouse.asm
Remy Oukaour c05b7f41dd Renaming: (fix #412)
- MapTriggers / maptrigger → SceneScripts / scene_script
- XYTriggers / xy_trigger → CoordEvents / coord_event
- Signposts / signpost → BGEvents / bg_event
- PersonEvents / person_event → ObjectEvents / object_event
2017-12-24 14:33:17 -05:00

90 lines
1.6 KiB
NASM

const_value set 2
const LAKEOFRAGEHIDDENPOWERHOUSE_FISHER
LakeOfRageHiddenPowerHouse_MapScriptHeader:
.SceneScripts:
db 0
.MapCallbacks:
db 0
HiddenPowerGuy:
faceplayer
opentext
checkevent EVENT_GOT_TM10_HIDDEN_POWER
iftrue .AlreadyGotItem
writetext HiddenPowerGuyText1
buttonsound
verbosegiveitem TM_HIDDEN_POWER
iffalse .Done
setevent EVENT_GOT_TM10_HIDDEN_POWER
writetext HiddenPowerGuyText2
waitbutton
closetext
end
.AlreadyGotItem:
writetext HiddenPowerGuyText3
waitbutton
.Done:
closetext
end
HiddenPowerHouseBookshelf:
jumpstd difficultbookshelf
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
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
HiddenPowerGuyText3:
text "I am meditating…"
done
LakeOfRageHiddenPowerHouse_MapEventHeader:
; filler
db 0, 0
.Warps:
db 2
warp_def $7, $2, 1, LAKE_OF_RAGE
warp_def $7, $3, 1, LAKE_OF_RAGE
.CoordEvents:
db 0
.BGEvents:
db 2
bg_event 1, 0, BGEVENT_READ, HiddenPowerHouseBookshelf
bg_event 1, 1, BGEVENT_READ, HiddenPowerHouseBookshelf
.ObjectEvents:
db 1
object_event SPRITE_FISHER, 3, 2, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, HiddenPowerGuy, -1