if Yap = 0 {
Talk = 1
MsgBox.Msg="#Gee, "+global.Name+", we just keep crossing paths, #don't we?" 
GameCam.x = Rick.x-72
GameCam.y = Rick.y-16
GameCam.z = Rick.z+12
GameCam.direction =point_direction(GameCam.x,GameCam.y,x,y)
sound_loop(VerneBGM)
}

if Yap = 1 {
Focus = 0
GameCam.direction =point_direction(GameCam.x,GameCam.y,Rick.x,Rick.y)
Rick.visible = 1
Rick.Talk = 1
Talk = 0
MsgBox.Msg = "#I guess so, Verne..."
}

if Yap =2{
Focus = 1
GameCam.direction =point_direction(GameCam.x,GameCam.y,x,y)
Rick.visible = 0
Rick.Talk = 0
Talk = 1
MsgBox.Msg = "#I heard you met the princess in person. So, what's she #like? ...you know, besides being a brunette?"
}

if Yap =3{
MsgBox.Msg = "Was there a certain air about her that makes #everything around her sparkle? Was she unusually #enchanting?"
}

if Yap =4{
MsgBox.Msg = "#...is she cuuuuuute?"
GameCam.x = Rick.x
GameCam.y = Rick.y-8
GameCam.direction =point_direction(GameCam.x,GameCam.y,x,y)
}

if Yap =5{
Focus = 0
GameCam.direction =Rick.direction+180
Rick.visible = 1
Rick.Talk = 1
Talk = 0
MsgBox.Msg = "#Uh..."
GameCam.y = y+6
GameCam.direction =point_direction(GameCam.x,GameCam.y,Rick.x,Rick.y)
}

if Yap =6{
Focus = 1
GameCam.direction =direction+180
Rick.visible = 0
Rick.Talk = 0
Talk = 1
GameCam.x = Rick.x-48
GameCam.y = Rick.y-16
GameCam.direction =point_direction(GameCam.x,GameCam.y,Rick.x,Rick.y)
MsgBox.Msg = "#Ah, I'm just teasing...           #Maybe I should go pay her a visit sometime..."
}

if Yap =7{
MsgBox.Msg = "Anyway, I've got what I wanted. There's another #useful gadget for people like you in here.      #Go get it, partner!"
}

if Yap =8{
Talk = 0
ds_list_add(global.KHDB,global.CurrentRoom+string(3))
MsgBox.Msg = "!"
direction =270
speed = 4
sound_loop(DungeonBGMD)
}