mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2024-11-16 11:27:33 -08:00
c05b7f41dd
- MapTriggers / maptrigger → SceneScripts / scene_script - XYTriggers / xy_trigger → CoordEvents / coord_event - Signposts / signpost → BGEvents / bg_event - PersonEvents / person_event → ObjectEvents / object_event
94 lines
1.6 KiB
NASM
94 lines
1.6 KiB
NASM
const_value set 2
|
|
const ROUTE28FAMOUSSPEECHHOUSE_CELEBRITY
|
|
const ROUTE28FAMOUSSPEECHHOUSE_FEAROW
|
|
|
|
Route28FamousSpeechHouse_MapScriptHeader:
|
|
.SceneScripts:
|
|
db 1
|
|
scene_script .DummyScene
|
|
|
|
.MapCallbacks:
|
|
db 0
|
|
|
|
.DummyScene:
|
|
end
|
|
|
|
Celebrity:
|
|
faceplayer
|
|
opentext
|
|
checkevent EVENT_GOT_TM47_STEEL_WING
|
|
iftrue .AlreadyGotItem
|
|
writetext CelebrityText1
|
|
buttonsound
|
|
verbosegiveitem TM_STEEL_WING
|
|
iffalse .Done
|
|
setevent EVENT_GOT_TM47_STEEL_WING
|
|
.Done:
|
|
closetext
|
|
end
|
|
.AlreadyGotItem:
|
|
writetext CelebrityText2
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
CelebritysFearow:
|
|
opentext
|
|
writetext CelebritysFearowText
|
|
cry FEAROW
|
|
waitbutton
|
|
closetext
|
|
end
|
|
|
|
CelebrityHouseBookshelf:
|
|
jumpstd magazinebookshelf
|
|
|
|
CelebrityText1:
|
|
text "Oh, dear."
|
|
line "You've found me."
|
|
|
|
para "Please don't tell"
|
|
line "anyone about me."
|
|
|
|
para "I'll give you this"
|
|
line "for keeping my"
|
|
cont "secret. Please?"
|
|
done
|
|
|
|
CelebrityText2:
|
|
text "It's tough being a"
|
|
line "top celebrity."
|
|
|
|
para "Everywhere I go,"
|
|
line "people chase me."
|
|
|
|
para "I just want to be"
|
|
line "left alone…"
|
|
done
|
|
|
|
CelebritysFearowText:
|
|
text "FEAROW: Feero!"
|
|
done
|
|
|
|
Route28FamousSpeechHouse_MapEventHeader:
|
|
; filler
|
|
db 0, 0
|
|
|
|
.Warps:
|
|
db 2
|
|
warp_def $7, $2, 1, ROUTE_28
|
|
warp_def $7, $3, 1, ROUTE_28
|
|
|
|
.CoordEvents:
|
|
db 0
|
|
|
|
.BGEvents:
|
|
db 2
|
|
bg_event 1, 0, BGEVENT_READ, CelebrityHouseBookshelf
|
|
bg_event 1, 1, BGEVENT_READ, CelebrityHouseBookshelf
|
|
|
|
.ObjectEvents:
|
|
db 2
|
|
object_event SPRITE_COOLTRAINER_F, 3, 2, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, Celebrity, -1
|
|
object_event SPRITE_MOLTRES, 5, 6, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, CelebritysFearow, -1
|