pokecrystal/maps/BluesHouse.asm

158 lines
2.6 KiB
NASM
Raw Normal View History

object_const_def ; object_event constants
2015-11-27 05:22:14 +00:00
const BLUESHOUSE_DAISY
BluesHouse_MapScripts:
db 0 ; scene scripts
db 0 ; callbacks
2017-12-18 00:48:04 +00:00
DaisyScript:
faceplayer
2015-12-09 23:25:44 +00:00
opentext
readvar VAR_HOUR
2018-02-03 02:09:17 +00:00
ifequal 15, .ThreePM
2017-12-18 00:48:04 +00:00
writetext DaisyHelloText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2017-12-18 00:48:04 +00:00
.ThreePM:
checkflag ENGINE_DAISYS_GROOMING
2017-12-18 00:48:04 +00:00
iftrue .AlreadyGroomedMon
writetext DaisyOfferGroomingText
yesorno
2017-12-18 00:48:04 +00:00
iffalse .Refused
writetext DaisyWhichMonText
2015-11-25 15:16:29 +00:00
waitbutton
special DaisysGrooming
2018-02-03 02:09:17 +00:00
ifequal $0, .Refused
ifequal $1, .CantGroomEgg
setflag ENGINE_DAISYS_GROOMING
2017-12-18 00:48:04 +00:00
writetext DaisyAlrightText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
special FadeOutPalettes
playmusic MUSIC_HEAL
pause 60
special FadeInPalettes
special RestartMapMusic
2015-12-09 23:25:44 +00:00
opentext
2017-12-18 00:48:04 +00:00
writetext GroomedMonLooksContentText
special PlayCurMonCry
2015-11-30 03:29:45 +00:00
buttonsound
2017-12-18 00:48:04 +00:00
writetext DaisyAllDoneText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2017-12-18 00:48:04 +00:00
.AlreadyGroomedMon:
writetext DaisyAlreadyGroomedText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2017-12-18 00:48:04 +00:00
.Refused:
writetext DaisyRefusedText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2017-12-18 00:48:04 +00:00
.CantGroomEgg:
writetext DaisyCantGroomEggText
2015-11-25 15:16:29 +00:00
waitbutton
closetext
end
2017-12-18 00:48:04 +00: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-18 00:48:04 +00: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-18 00:48:04 +00:00
DaisyWhichMonText:
text "DAISY: Which one"
line "should I groom?"
done
2017-12-18 00:48:04 +00:00
DaisyAlrightText:
text "DAISY: OK, I'll"
line "get it looking"
cont "nice in no time."
done
2017-12-18 00:48:04 +00:00
GroomedMonLooksContentText:
text_ram wStringBuffer3
text " looks"
line "content."
done
2017-12-18 00:48:04 +00: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-18 00:48:04 +00:00
DaisyAlreadyGroomedText:
text "DAISY: I always"
line "have tea around"
para "this time. Come"
line "join me."
done
2017-12-18 00:48:04 +00:00
DaisyRefusedText:
text "DAISY: You don't"
line "want to have one"
para "groomed? OK, we'll"
line "just have tea."
done
2017-12-18 00:48:04 +00: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-02 03:22:07 +00: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-02 03:22:07 +00:00
object_event 2, 3, SPRITE_DAISY, SPRITEMOVEDATA_SPINRANDOM_SLOW, 0, 0, -1, -1, 0, OBJECTTYPE_SCRIPT, 0, DaisyScript, -1