// creator  : weidu.exe (version 23600)
// argument : YESLIP.DLG
// game     : .
// source   : ./DATA/DIALOG.BIF
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

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

IF WEIGHT #3 /* Triggers after states #: 2 3 4 even though they appear after this state */
~  !HappinessLT(Myself,UNHAPPY_ANGRY_BOUNDARY)
Global("KickedOut","LOCALS",1)
~ THEN BEGIN 0 // from:
  SAY #15458 /* ~So you've come back, have you? Perhaps we should join forces once again. There is much work left to be done.~ */
  IF ~~ THEN REPLY #15459 /* ~That is an excellent idea. Your sage advice and company have been missed.~ */ GOTO 1
  IF ~~ THEN REPLY #15460 /* ~I have other plans for the moment. Perhaps another time.~ */ GOTO 2
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #15461 /* ~A wise move. Together we can't possibly fail.~ */
  IF ~~ THEN DO ~SetGlobal("KickedOut","LOCALS",1)
SetGlobal("KickedOut","LOCALS",0)
JoinParty()
~ EXIT
END

IF WEIGHT #0 ~  !HappinessLT(Myself,UNHAPPY_ANGRY_BOUNDARY)
Global("KickedOut","LOCALS",0)
~ THEN BEGIN 2 // from: 0.1
  SAY #15427 /* ~You've been good to me, friends. Bust some heads, will you?~ */
  IF ~~ THEN DO ~SetGlobal("KickedOut","LOCALS",1)
ChangeAIScript("",DEFAULT)
~ EXIT
END

IF WEIGHT #1 ~  HappinessLT(Myself,UNHAPPY_ANGRY_BOUNDARY)
~ THEN BEGIN 3 // from:
  SAY #15428 /* ~Fine, I'll be leaving the likes of you, then. This party's been just another prison for me.~ */
  IF ~~ THEN DO ~SetGlobal("KickedOut","LOCALS",1)
ChangeAIScript("",DEFAULT)
EscapeArea()
~ EXIT
END

IF WEIGHT #2 ~  StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 4 // from:
  SAY #16694 /* ~I've been in prison for a considerable time. I really don't know what's been happening on the surface. All I can tell you is this: whatever those Iron Throne crooks are up to, it's not good, not good at all.~ */
  IF ~~ THEN EXIT
END
