pokecrystal/maps/Route28FamousSpeechHouse.asm

92 lines
1.5 KiB
NASM
Raw Normal View History

2015-06-26 04:01:08 +00:00
Route28FamousSpeechHouse_MapScriptHeader:
; trigger count
db 1
; triggers
2015-06-26 04:01:08 +00:00
dw .Trigger, $0000
; callback count
db 0
2015-06-26 04:01:08 +00:00
.Trigger
end
2015-06-26 04:01:08 +00:00
Celebrity:
faceplayer
loadfont
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
keeptextopen
verbosegiveitem TM_STEEL_WING, 1
2015-06-26 04:01:08 +00:00
iffalse .Done
2013-09-24 07:48:58 +00:00
setevent EVENT_GOT_TM47_STEEL_WING
2015-06-26 04:01:08 +00:00
.Done
loadmovesprites
end
2015-06-26 04:01:08 +00:00
.AlreadyGotItem
writetext CelebrityText2
closetext
loadmovesprites
end
2015-06-26 04:01:08 +00:00
CelebritysFearow:
loadfont
2015-06-26 04:01:08 +00:00
writetext CelebritysFearowText
cry FEAROW
closetext
loadmovesprites
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, GROUP_ROUTE_28, MAP_ROUTE_28
warp_def $7, $3, 1, GROUP_ROUTE_28, MAP_ROUTE_28
; xy triggers
db 0
; signposts
db 2
2015-06-26 04:01:08 +00:00
signpost 1, 0, $0, CelebrityHouseBookshelf
signpost 1, 1, $0, CelebrityHouseBookshelf
; people-events
db 2
2015-06-26 04:01:08 +00:00
person_event SPRITE_COOLTRAINER_F, 7, 6, $6, $0, 255, 255, $a0, 0, Celebrity, $ffff
person_event SPRITE_MOLTRES, 9, 10, $16, $0, 255, 255, $b0, 0, CelebritysFearow, $ffff