pokecrystal-board/maps/BluesHouse.asm

158 lines
2.6 KiB
NASM
Raw Normal View History

2018-01-31 08:38:45 -08:00
const_def 2 ; object constants
2015-11-26 21:22:14 -08:00
const BLUESHOUSE_DAISY
BluesHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2017-12-17 16:48:04 -08:00
DaisyScript:
faceplayer
2015-12-09 15:25:44 -08:00
opentext
checkcode VAR_HOUR
2018-02-02 18:09:17 -08:00
ifequal 15, .ThreePM
2017-12-17 16:48:04 -08:00
writetext DaisyHelloText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2017-12-17 16:48:04 -08:00
.ThreePM:
checkflag ENGINE_DAISYS_GROOMING
2017-12-17 16:48:04 -08:00
iftrue .AlreadyGroomedMon
writetext DaisyOfferGroomingText
yesorno
2017-12-17 16:48:04 -08:00
iffalse .Refused
writetext DaisyWhichMonText
2015-11-25 07:16:29 -08:00
waitbutton
special DaisysGrooming
2018-02-02 18:09:17 -08:00
ifequal $0, .Refused
ifequal $1, .CantGroomEgg
setflag ENGINE_DAISYS_GROOMING
2017-12-17 16:48:04 -08:00
writetext DaisyAlrightText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
special FadeOutPalettes
playmusic MUSIC_HEAL
pause 60
special FadeInPalettes
special RestartMapMusic
2015-12-09 15:25:44 -08:00
opentext
2017-12-17 16:48:04 -08:00
writetext GroomedMonLooksContentText
special PlayCurMonCry
2015-11-29 19:29:45 -08:00
buttonsound
2017-12-17 16:48:04 -08:00
writetext DaisyAllDoneText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2017-12-17 16:48:04 -08:00
.AlreadyGroomedMon:
writetext DaisyAlreadyGroomedText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2017-12-17 16:48:04 -08:00
.Refused:
writetext DaisyRefusedText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2017-12-17 16:48:04 -08:00
.CantGroomEgg:
writetext DaisyCantGroomEggText
2015-11-25 07:16:29 -08:00
waitbutton
closetext
end
2017-12-17 16:48:04 -08:00
DaisyHelloText:
text "DAISY: Hi! My kid"
line "brother is the GYM"
para "LEADER in VIRIDIAN"
line "CITY."
para "But he goes out"
line "of town so often,"
para "it causes problems"
line "for the trainers."
done
2017-12-17 16:48:04 -08:00
DaisyOfferGroomingText:
text "DAISY: Hi! Good"
line "timing. I'm about"
cont "to have some tea."
para "Would you like to"
line "join me?"
para "Oh, your #MON"
line "are a bit dirty."
para "Would you like me"
line "to groom one?"
done
2017-12-17 16:48:04 -08:00
DaisyWhichMonText:
text "DAISY: Which one"
line "should I groom?"
done
2017-12-17 16:48:04 -08:00
DaisyAlrightText:
text "DAISY: OK, I'll"
line "get it looking"
cont "nice in no time."
done
2017-12-17 16:48:04 -08:00
GroomedMonLooksContentText:
text_ram wStringBuffer3
text " looks"
line "content."
done
2017-12-17 16:48:04 -08:00
DaisyAllDoneText:
text "DAISY: There you"
line "go! All done."
para "See? Doesn't it"
line "look nice?"
para "It's such a cute"
line "#MON."
done
2017-12-17 16:48:04 -08:00
DaisyAlreadyGroomedText:
text "DAISY: I always"
line "have tea around"
para "this time. Come"
line "join me."
done
2017-12-17 16:48:04 -08:00
DaisyRefusedText:
text "DAISY: You don't"
line "want to have one"
para "groomed? OK, we'll"
line "just have tea."
done
2017-12-17 16:48:04 -08:00
DaisyCantGroomEggText:
text "DAISY: Oh, sorry."
line "I honestly can't"
cont "groom an EGG."
done
BluesHouse_MapEvents:
db 0, 0 ; filler
db 2 ; warp events
2018-02-01 19:22:07 -08:00
warp_event 2, 7, PALLET_TOWN, 2
warp_event 3, 7, PALLET_TOWN, 2
db 0 ; coord events
db 0 ; bg events
db 1 ; object events
2018-02-01 19:22:07 -08:00
object_event 2, 3, SPRITE_DAISY, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DaisyScript, -1