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

BEGIN ~FFCUST02~ 2 // non-zero flags may indicate non-pausing dialogue
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #3 /* Triggers after states #: 3 4 5 even though they appear after this state */
~RandomNum(3,1)
~ THEN BEGIN 0 // from:
  SAY #25585 /* ~This is a delightful place to go, isn't it?  I just adore a tavern with entertainment!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 3 4 5 even though they appear after this state */
~RandomNum(3,2)
~ THEN BEGIN 1 // from:
  SAY #25586 /* ~This district used to be quite safe and affluent.  Things have just gone downhill, I suppose.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 3 4 5 even though they appear after this state */
~RandomNum(3,3)
~ THEN BEGIN 2 // from:
  SAY #25587 /* ~You won't tell my wife I'm here, will you?  I truly doubt she would approve of this place..~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~Global("InteractMinsc","LOCALS",0)
InParty("Minsc")
!StateCheck("Minsc",STATE_SLEEPING)
RandomNum(2,1)
~ THEN BEGIN 3 // from:
  SAY #25588 /* ~Er... excuse me, sir... that painting on your head... are you one of the actors?~ */
  IF ~~ THEN DO ~SetGlobal("InteractMinsc","LOCALS",1)
~ EXTERN ~MINSCJ~ 49
END

IF WEIGHT #1 ~Global("InteractKorgan","LOCALS",0)
InParty("Korgan")
!StateCheck("Korgan",STATE_SLEEPING)
RandomNum(2,1)
~ THEN BEGIN 4 // from:
  SAY #25590 /* ~I cannot stand this!  This flagon has a speck of dirt on it... how am I expected to drink this?~ */
  IF ~~ THEN DO ~SetGlobal("InteractKorgan","LOCALS",1)
~ EXTERN ~KORGANJ~ 20
END

IF WEIGHT #2 ~Global("InteractNalia","LOCALS",0)
IsValidForPartyDialog("Nalia")
RandomNum(2,1)~ THEN BEGIN 5 // from:
  SAY #48817 /* ~Nalia?  Is that you?  Nalia de'Arnise?  And you're... hanging about with this rabble, are you?~ */
  IF ~~ THEN DO ~SetGlobal("InteractNalia","LOCALS",1)~ EXTERN ~NALIAJ~ 241
END
