pokecrystal-board/maps/BluesHouse.asm

158 lines
2.6 KiB
NASM
Raw Normal View History

2018-01-31 08:08:47 -08:00
const_value set 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
2017-12-17 16:48:04 -08:00
if_equal 15, .ThreePM
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-01-11 22:40:20 -08:00
if_equal $0, .Refused
if_equal $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:
2015-02-10 15:37:24 -08:00
text_from_ram StringBuffer3
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
warp_event 2, 7, 2, PALLET_TOWN
warp_event 3, 7, 2, PALLET_TOWN
db 0 ; coord events
db 0 ; bg events
db 1 ; object events
object_event 2, 3, SPRITE_DAISY, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DaisyScript, -1