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

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

IF WEIGHT #5 /* Triggers after states #: 1 2 3 4 5 even though they appear after this state */
~RandomNum(3,1)
~ THEN BEGIN 0 // from:
  SAY #25668 /* ~Try anything with me and you might live to regret it.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~RandomNum(3,2)
~ THEN BEGIN 1 // from:
  SAY #25669 /* ~I have honed my battle skills aboard the ships that ply the Sword Coast... many a pirate has fallen before my blade.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~RandomNum(3,3)
~ THEN BEGIN 2 // from:
  SAY #25670 /* ~I'm not interested in conversation... I am only here to wet my throat before I must go back to my ship.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~Global("InteractMazzy","LOCALS",0)
InParty("Mazzy")
!StateCheck("Mazzy",STATE_SLEEPING)
RandomNum(2,1)
~ THEN BEGIN 3 // from:
  SAY #25671 /* ~You, there... I've heard you can fight like a caged tiger.  I tip my sword to you, you're a credit to women and to halflings both.~ */
  IF ~~ THEN DO ~SetGlobal("InteractMazzy","LOCALS",1)
~ EXTERN ~MAZZYJ~ 80
END

IF WEIGHT #3 ~Global("InteractViconia","LOCALS",0)
IsValidForPartyDialog("Viconia")
RandomNum(2,1)~ THEN BEGIN 4 // from:
  SAY #25673 /* ~Hmph.  For a drow to be walking about here, you've got no small amount of courage.  My salutations to you.~ */
  IF ~~ THEN DO ~SetGlobal("InteractViconia","LOCALS",1)~ EXTERN ~VICONIJ~ 16
END

IF WEIGHT #4 ~Global("InteractValygar","LOCALS",0)
IsValidForPartyDialog("Valygar")
RandomNum(2,1)~ THEN BEGIN 5 // from:
  SAY #48831 /* ~I remember you.  Valygar, right?  You were one of the scouts I shipped back from the Moonshaes, once.~ */
  IF ~~ THEN DO ~SetGlobal("InteractValygar","LOCALS",1)~ EXTERN ~VALYGARJ~ 51
END

IF ~~ THEN BEGIN 6 // from:
  SAY #48835 /* ~Aye.  I remember all who come aboard my ship... especially handsome swarthy rangers.  My ship's ever in need of a strong hand, Valygar, should you someday tire of the land-locked life.~ */
  IF ~~ THEN EXTERN ~VALYGARJ~ 52
END
