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

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

IF WEIGHT #2 /* Triggers after states #: 5 6 even though they appear after this state */
~!Dead("KalahIllusion")
~ THEN BEGIN 0 // from:
  SAY #13921 /* ~Ye haven't gone to th' circus, have ye?  I've 'eard some terrible things of it!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 5 6 7 8 even though they appear after this state */
~RandomNum(5,1)~ THEN BEGIN 1 // from:
  SAY #13951 /* ~I saw one of 'em Cowled wizards up and close-like.  It gave me a good bloody scare, it did!  I don't know why they allow those wizards t' be free when they arrest everyone else.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 /* Triggers after states #: 5 6 7 8 even though they appear after this state */
~RandomNum(5,2)~ THEN BEGIN 2 // from:
  SAY #13952 /* ~I was mugged just down th' street last week.  Black and blue, I was, fer several days.  Th' bleedin' garrison should do somethin' about it.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #7 /* Triggers after states #: 5 6 7 8 even though they appear after this state */
~RandomNum(5,3)~ THEN BEGIN 3 // from:
  SAY #13984 /* ~I heard one o' th' Morninglord's priests was speakin' against Lehtinan's slatterns an' disappeared a few days later!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #8 /* Triggers after states #: 5 6 7 8 even though they appear after this state */
~RandomNum(5,4)~ THEN BEGIN 4 // from:
  SAY #13988 /* ~I've done complained an' complained about th' crime in this city gettin' out o' hand, but nobody listens to bloody ol' me, does they?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~See("Cernd")
InParty("Cernd")
!StateCheck("Cernd",STATE_SLEEPING)
RandomNum(2,1)
Global("slumm3cernd","AR0400",0)
~ THEN BEGIN 5 // from:
  SAY #14479 /* ~I don't like livin' in the slums.  'Tis dangerous here for me wife an' me an' anyone else, t' boot.~ */
  IF ~~ THEN DO ~SetGlobal("slumm3cernd","AR0400",1)~ EXTERN ~CERNDJ~ 72
END

IF WEIGHT #1 ~See("HaerDalis")
InParty("HaerDalis")
!StateCheck("HaerDalis",STATE_SLEEPING)
RandomNum(2,2)
Global("slumm3haerdalis","AR0400",0)
~ THEN BEGIN 6 // from:
  SAY #14492 /* ~Ey, now!  Aren't you wi' that band o' fellows that's been performin'!  Yer bleedin' good, ye are!~ */
  IF ~~ THEN DO ~SetGlobal("slumm3haerdalis","AR0400",0)~ EXTERN ~HAERDAJ~ 28
END

IF WEIGHT #3 ~RandomNum(5,5)~ THEN BEGIN 7 // from:
  SAY #16912 /* ~They should be burnin' up that big ball, they should!  It's evil, I just knows it!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 ~Dead("KalahIllusion")
~ THEN BEGIN 8 // from:
  SAY #19655 /* ~You saved 'at circus, didn't ye?  Yer plain gold, you is!~ */
  IF ~~ THEN EXIT
END
