pokecrystal-board/maps/Route28SteelWingHouse.asm

87 lines
1.7 KiB
NASM
Raw Normal View History

2018-01-31 08:08:47 -08:00
const_value set 2 ; object constants
2018-01-23 09:54:17 -08:00
const ROUTE28STEELWINGHOUSE_CELEBRITY
const ROUTE28STEELWINGHOUSE_FEAROW
2015-11-26 21:22:14 -08:00
2018-01-23 09:54:17 -08:00
Route28SteelWingHouse_MapScripts:
db 1 ; scene scripts
scene_script .DummyScene
db 0 ; callbacks
.DummyScene:
end
2015-06-25 21:01:08 -07:00
Celebrity:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
2013-09-24 00:48:58 -07:00
checkevent EVENT_GOT_TM47_STEEL_WING
2015-06-25 21:01:08 -07:00
iftrue .AlreadyGotItem
writetext CelebrityText1
2015-11-29 19:29:45 -08:00
buttonsound
2015-11-04 17:20:14 -08:00
verbosegiveitem TM_STEEL_WING
2015-06-25 21:01:08 -07:00
iffalse .Done
2013-09-24 00:48:58 -07:00
setevent EVENT_GOT_TM47_STEEL_WING
.Done:
2015-11-25 07:16:29 -08:00
closetext
end
.AlreadyGotItem:
2015-06-25 21:01:08 -07:00
writetext CelebrityText2
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-06-25 21:01:08 -07:00
CelebritysFearow:
2015-12-09 15:25:44 -08:00
opentext
2015-06-25 21:01:08 -07:00
writetext CelebritysFearowText
cry FEAROW
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2015-06-25 21:01:08 -07:00
CelebrityHouseBookshelf:
jumpstd magazinebookshelf
2015-06-25 21:01:08 -07: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-25 21:01:08 -07: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-25 21:01:08 -07:00
CelebritysFearowText:
text "FEAROW: Feero!"
done
2018-01-23 09:54:17 -08:00
Route28SteelWingHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
warp_event 2, 7, 1, ROUTE_28
warp_event 3, 7, 1, ROUTE_28
db 0 ; coord events
db 2 ; bg events
bg_event 0, 1, BGEVENT_READ, CelebrityHouseBookshelf
bg_event 1, 1, BGEVENT_READ, CelebrityHouseBookshelf
db 2 ; object events
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