pokecrystal/maps/Route28SteelWingHouse.asm

87 lines
1.7 KiB
NASM
Raw Normal View History

2018-01-31 16:38:45 +00:00
const_def 2 ; object constants
2018-01-23 17:54:17 +00:00
const ROUTE28STEELWINGHOUSE_CELEBRITY
const ROUTE28STEELWINGHOUSE_FEAROW
2015-11-27 05:22:14 +00:00
2018-01-23 17:54:17 +00:00
Route28SteelWingHouse_MapScripts:
db 1 ; scene scripts
scene_script .DummyScene
db 0 ; callbacks
.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
2018-01-23 17:54:17 +00:00
Route28SteelWingHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-02 03:22:07 +00:00
warp_event 2, 7, ROUTE_28, 1
warp_event 3, 7, ROUTE_28, 1
db 0 ; coord events
db 2 ; bg events
2018-02-02 03:22:07 +00:00
bg_event 0, 1, BGEVENT_READ, CelebrityHouseBookshelf
bg_event 1, 1, BGEVENT_READ, CelebrityHouseBookshelf
db 2 ; object events
2018-02-02 03:22:07 +00:00
object_event 2, 3, SPRITE_COOLTRAINER_F, SPRITEMOVEDATA_STANDING_DOWN, 0, 0, -1, -1, PAL_NPC_GREEN, OBJECTTYPE_SCRIPT, 0, Celebrity, -1
object_event 6, 5, SPRITE_MOLTRES, SPRITEMOVEDATA_POKEMON, 0, 0, -1, -1, PAL_NPC_BROWN, OBJECTTYPE_SCRIPT, 0, CelebritysFearow, -1