pokecrystal/maps/Route28FamousSpeechHouse.asm

94 lines
1.6 KiB
NASM
Raw Normal View History

2015-11-27 05:22:14 +00:00
const_value set 2
2016-04-07 10:13:59 +00:00
const ROUTE28FAMOUSSPEECHHOUSE_CELEBRITY
const ROUTE28FAMOUSSPEECHHOUSE_FEAROW
2015-11-27 05:22:14 +00:00
2015-06-26 04:01:08 +00:00
Route28FamousSpeechHouse_MapScriptHeader:
.SceneScripts:
db 1
scene_script .DummyScene
.MapCallbacks:
db 0
.DummyScene:
end
2015-06-26 04:01:08 +00:00
Celebrity:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
2013-09-24 07:48:58 +00:00
checkevent EVENT_GOT_TM47_STEEL_WING
2015-06-26 04:01:08 +00:00
iftrue .AlreadyGotItem
writetext CelebrityText1
2015-11-30 03:29:45 +00:00
buttonsound
2015-11-05 01:20:14 +00:00
verbosegiveitem TM_STEEL_WING
2015-06-26 04:01:08 +00:00
iffalse .Done
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_TM47_STEEL_WING
.Done:
2015-11-25 15:16:29 +00:00
closetext
end
.AlreadyGotItem:
2015-06-26 04:01:08 +00:00
writetext CelebrityText2
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 04:01:08 +00:00
CelebritysFearow:
2015-12-09 23:25:44 +00:00
opentext
2015-06-26 04:01:08 +00:00
writetext CelebritysFearowText
cry FEAROW
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2015-06-26 04:01:08 +00:00
CelebrityHouseBookshelf:
jumpstd magazinebookshelf
2015-06-26 04:01:08 +00:00
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
2015-06-26 04:01:08 +00:00
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
2015-06-26 04:01:08 +00:00
CelebritysFearowText:
text "FEAROW: Feero!"
done
2015-06-26 04:01:08 +00:00
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