IF
InParty(Myself)
Global("DreamTimerStarted","GLOBAL",0)
THEN
RESPONSE #100
RealSetGlobalTimer("DreamTalk","GLOBAL",180)
SetGlobal("DreamTimerStarted","GLOBAL",1)
END

IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
RealGlobalTimerExpired("DreamTalk","GLOBAL")
InParty("IMOEN")
Global("YEIM1","LOCALS",1)
Global("YEIM2","LOCALS",0)
See("IMOEN2")
PartyRested()
THEN
RESPONSE #100
SetGlobal("YEIM2","LOCALS",1)
RealSetGlobalTimer("DreamTalk","GLOBAL",180)
StartDialogueNoSet("IMOEN2")
END

////Yeslick talks to PC in the mines////FW1802
IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("YEPC1","LOCALS",0)
AreaCheck("AR8602")
!ActuallyInCombat()
THEN
RESPONSE #100
SetGlobal("YEPC1","LOCALS",1)
END

IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("YEPC1","LOCALS",1)
AreaCheck("AR8602")
See(Player1)
THEN
RESPONSE #100
SetGlobal("YEPC1","LOCALS",2)
StartDialogNoSet(Player1)
END

//////////Yeslick speaks after guards killed in FW1802////
IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("YEPC2","LOCALS",0)
Dead("IRON11")
See(Player1)
THEN
RESPONSE #100
SetGlobal("YEPC2","LOCALS",1)
END

IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("YEPC2","LOCALS",1)
See (Player1)
THEN
RESPONSE #100
SetGlobal("YEPC2","LOCALS",2)
StartDialogNoSet(Player1)
END

////////Yeslick speaks after flooding mines and outdoors///////
IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("YEPC5","LOCALS",0)
AreaCheck("AR8600")
Global("FLOODED","GLOBAL",1)
See(Player1)
THEN
RESPONSE #100
SetGlobal("YEPC5","LOCALS",1)
END

IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("YEPC5","LOCALS",1)
AreaCheck("AR8600")
See (Player1)
THEN
RESPONSE #100
SetGlobal("YEPC5","LOCALS",2)
StartDialogNoSet(Player1)
END

////Yeslick chats with Coran wyvern map////
IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("YECO2","LOCALS",0)
AreaCheck("AR8500")
InParty("CORAN")
THEN
RESPONSE #100
SetGlobal("YECO2","LOCALS",1)
END

IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
Global("YECO2","LOCALS",1)
AreaCheck("AR8500")
InParty("CORAN")
THEN
RESPONSE #100
SetGlobal("YECO2","LOCALS",2)
StartDialogNoSet("CORAN")
END

IF
InParty(Myself) CombatCounter(0) !See([ENEMY])
RealGlobalTimerExpired("DreamTalk","GLOBAL")
InParty("KAGAIN")
Global("YEKA3","GLOBAL",1)
Global("YEKA4","GLOBAL",0)
PartyRested()
THEN
RESPONSE #100
SetGlobal("YEKA4","GLOBAL",1)
RealSetGlobalTimer("DreamTalk","GLOBAL",180)
StartDialogueNoSet(Player1)
END

