// creator  : weidu.exe (version 23100)
// argument : YESLIJ.DLG
// game		 : .
// source	 : ./DATA/DIALOG.BIF
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~YESLIJ~
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #2 /* Triggers after states #: 2 3 even though they appear after this state */
~HappinessLT(Myself,0)
~ THEN BEGIN 0 // from:
  SAY #16695 /* ~Excuse me, I think I must be going.~ */
  IF ~~ THEN DO ~LeaveParty()
EscapeArea()
~ EXIT
END

IF WEIGHT #3 /* Triggers after states #: 2 3 even though they appear after this state */
~True()
~ THEN BEGIN 1 // from:
  SAY #16696 /* ~As you wish, my Lord.  I am sorry to disappoint.~ */
  IF ~~ THEN DO ~LeaveParty()
SetDialog("YesliP")
~ EXIT
END

IF WEIGHT #0 ~GlobalTimerExpired("Yeslick","GLOBAL")
Global("MineFlood","GLOBAL",0)
~ THEN BEGIN 2 // from:
  SAY #17208 /* ~Cowled Enforcer~ */
  IF ~~ THEN DO ~SetGlobalTimer("Yeslick","GLOBAL",FIVE_DAYS)
SetGlobal("MineFlood","GLOBAL",1)
~ EXIT
END

IF WEIGHT #1 ~False()
~ THEN BEGIN 3 // from:
  SAY #17210 /* ~Cowled Enforcer~ */
  IF ~~ THEN DO ~LeaveParty()
EscapeArea()
~ EXIT
END
