//Yap always changes so it moves from one message to the next.
//MsgBox.FontSize changes font size. 1 is normal size. .5 is half. 2 is twice the size.
//MsgBox.Voice (not implemented yet, but won't ruin anything) chooses the voice you want to come from the text box.
//MsgBox.Msg is the message in the text box.
//To END a conversation, use "!" as the message
//Since global.Name is your character's name, it'll be replaced with eight Ws for text-spacing purposes. ...and yes,
//It NEEDS to be "+ global.Name +"

if global.SabLove/2 = round(global.SabLove/2) {
if Yap = 0 {
MsgBox.FontSize = 1
Talk=1
MsgBox.Msg = "#Well, "+global.Name+"... You came!      #So, tell me, what are your adventures like?"
}

if Yap = 1 {
MsgBox.FontSize = 1
MsgBox.Msg = "...oh, so you've slayed a Dragon before?       #That is amazing. They seem rather ferocious...       #They did cause quite a bit of trouble years ago, if I'm #not mistaken..."
}

if Yap = 2 {
MsgBox.FontSize = 1
MsgBox.Msg = "Hmm... you know, that Verne guy seems interesting...        #I don't know why, but I think I've heard of him before.      #...um... I don't know how or why.  "
}

if Yap = 3 {
MsgBox.Msg = "Those little journeys must be exciting.         #If I could leave this town, I'd be going on my own #adventures.       #I'd even try my hand at Dragon-slaying if I could."
}

if Yap = 4 {
MsgBox.Msg = "#Whenever I see the stars, I always pretend that they're #little Fairies, flying about in the night sky..."
}

if Yap = 5 {
MsgBox.FontSize = 1
MsgBox.Msg = "For some reason, I wish I was like the Fairies...        #I wish I were free to bless everyone I could.        #Father says that when I become queen, that will be #my duty..."
}

if Yap = 6 {
MsgBox.FontSize = 1
MsgBox.Msg = "#Hmm..."
}
}else{
if Yap = 0 {
MsgBox.FontSize = 1
MsgBox.Msg = "#Hello again, "+global.Name+"!      #It's always a pleasure to see you!"
Talk=1
}

if Yap = 1 {
MsgBox.FontSize = 1
MsgBox.Msg = "You know, if I'm not around, you can always talk with #one of my handmaidens.       #You know, if I'm out of town or something..."
}

if Yap = 2 {
MsgBox.FontSize = 1
MsgBox.Msg = "I think I remember where I saw you before...        #Once in a dream.      #In this dream, there was this woman who said she #was my mother, and she took me flying over Sierr."
}

if Yap = 3 {
MsgBox.Msg = "She showed me a boy who looked like you.        #He slayed Dragons, and he fought a winged monster.     #That monster has always been in my nightmares.       #...and you chased it away with your blade."
}

if Yap = 4 {
MsgBox.Msg = "I feel that you're here to save me from this monster.       #I know, it sounds so cheesy, but you were my hero in #this dream..."
}

if Yap = 5 {
MsgBox.FontSize = 1
MsgBox.Msg = "...but I still have questions about this dream...      #Who was the woman who took me flying?      #What was the monster?        #...and why were you in it?"
}

if Yap = 6 {
MsgBox.FontSize = 1
MsgBox.Msg = "#Hopefully, a dream is just a dream...       #right?"
}
}

if Yap = 7 {
MsgBox.FontSize = 1
MsgBox.Msg = "#Anyway... "+global.Name+"...      #Is there anything else I can help you with?"
MsgBox.Question = 2
MsgBox.QTxt= QTxt
if global.SQItemA > 1 MsgBox.QTxt= "I got you a special flower#...nothing"
MsgBox.QChoose=0
}

if Yap = 8 {
MsgBox.Question = 0
if MsgBox.QChoose=0{
if global.SQItemA < 2{
if global.Flowas = 0 {MsgBox.Msg= "#...but you don't have any flowers.     #You're so silly, you know that?"}
else {MsgBox.Msg = "#Why, thank you, "+global.Name+"!       #You certainly know how to greet a lady..."
if global.Flowas > 100 MsgBox.Msg = "Well, "+global.Name+"...     #That's a lot of flowers...      #My handmaidens will have a field day with these!"
if global.Flowas > 500 MsgBox.Msg = global.Name+"!!      #Isn't this a bit much?       #You're really bored, aren't you?"
if global.Flowas > 999 MsgBox.Msg = global.Name+"?      #Are you trying to propose to me?       #Well... I wouldn't know what to say...      #Let me think about it, okay?"
}
global.SabLove += global.Flowas
global.Flowas = 0
} else {
MsgBox.Msg = "Wow... isn't that pretty?         #You must have bought this in Vapora...           #It's not my favorite, but thanks, anyway..."
global.SabLove += 10
if global.SQItemA = 2 Yap = 11
}

}
else {MsgBox.Msg= "#Well, don't forget, I'm a princess.      #I can pull a few strings, if you want."}
}

if Yap = 9 {
MsgBox.FontSize = 1
global.SabLove +=1
if MsgBox.QChoose=0 MsgBox.Msg = "#You're so cute, "+global.Name+".       #Maybe next time, you can bring me a HUGE bouquet!"
if MsgBox.QChoose=1 MsgBox.Msg = "#You know, "+global.Name+", you should visit more often.       #Your adventures sound fun."
MsgBox.QChoose=0
}

if Yap = 10 {MsgBox.Msg = "!"
Talk=0}

if Yap = 11 MsgBox.Msg = "#Wow! That's a pretty Red Tulip!          #...smells so good."

if Yap = 12 MsgBox.Msg = "Did you know that Red Tulips are rather common in #Arlon? A lot of Arlings practically think of them as #fragrant weeds!"

if Yap = 13 MsgBox.Msg = "You know, these are my favorite flowers in the whole #wide world.         #...well, I haven't really seen much of the world, but #still..."

if Yap = 14 {if ds_list_find_index(global.KHDB,"SFLOWR") = -1 MsgBox.Msg = "#You know what? I think I should give you something #you could actually use." else MsgBox.Msg = "...are you trying to win my affection?        #I think you may feel guilty about doing #that later...      #...maybe it's just me."
global.SabLove += 50}

if Yap = 15 {if ds_list_find_index(global.KHDB,"SFLOWR") = -1 MsgBox.Msg = "As Princess of Sierr, I reward you with this Heart #Piece!         #It's from my personal collection!" else {
MsgBox.Msg = "!"
global.SQItemA=0}
}

if Yap = 16 {
with MsgBox {instance_destroy()}
Talk = 0
sound_play(ItemGet)
instance_create(Rick.x,Rick.y,ItemBought)
ItemBought.Sig = 9
Yap = 0
Targeted = 0
Rick.visible = 1
Active = 2
alarm[2] = 2
global.SabHeart+=1
global.SQItemA = 0
ds_list_add(global.KHDB,"SFLOWR")
}