if Yap = 0 {
Rick.Talk = 1
MsgBox.Msg = "#Verne?"
}

if instance_number(Boots) = 0 {
if Yap = 1 {
Rick.Talk = 0
Talk = 1
MsgBox.Msg = "#Oh, hello there, "+global.Name+"!     #I figured you'd be in town!"
}

if Yap =2 MsgBox.Msg = "Did you by chance find a good pair of running boots?     #If you did, you wouldn't have to hike at such a slow #pace..."

if Yap =3 MsgBox.Msg = "I hear there's something like that in the west.          #Not in the Dragon Caves, mind you, but somewhere #next to it...       #Maybe in the shrine there."

if Yap =4 MsgBox.Msg = "#Who knows? Maybe you should check it out.          #Maybe I already mentioned it earlier..."

if Yap =5 {MsgBox.Msg = "!"
Talk = 0}
} else {
if Yap = 1 {
Rick.Talk = 0
Talk = 1
MsgBox.Msg = "Oh, hello again, "+global.Name+"!          #You got the boots, didn't you?      #Now you can get around the land faster!"
}

if Yap =2 MsgBox.Msg = "#So, did you stupidly run into the Dragon cave, too?       #King Ghidra doesn't like visitors, you know."

if Yap =3 MsgBox.Msg = "I don't know about you, but I'd stay out of that #cave if I were you.      #King Ghidra, the one blacker than the darkest night, #is nobody to mess with."

if Yap =4 MsgBox.Msg = "#Well... trust me, he's not worth it.          #I can't reason with him at all."

if Yap =5 MsgBox.Msg = "Anyway, you've been to Stratos, right?          #That's where I'm from, you know.        #Pretty place. Lots of tall buildings.        #I had a nice Fairy there, too..."

if Yap =6 MsgBox.Msg = "My mom died years ago there...         #A Dragon got to her, too.           #Certainly tells you how well Stratos security #works, don't it?"

if Yap =7 MsgBox.Msg = "Of course, thanks to me, no Dragon's going to #attack the city without my say-so.         #...or, at least I think they won't."

if Yap =8 MsgBox.Msg = "Still, the shrine there's nice, too.         #The townspeople, I don't know, but the shrine...               #that's pretty."

if Yap =9 MsgBox.Msg = "#...anyway, you've got your quest, and I've got mine.         #See you around!"

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