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

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

IF WEIGHT #2 /* Triggers after states #: 4 5 even though they appear after this state */
~RandomNum(4,1)~ THEN BEGIN 0 // from:
  SAY #22388 /* ~This be the city of thieves, it is.  And even more so in this part o' town.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 4 5 even though they appear after this state */
~RandomNum(4,2)~ THEN BEGIN 1 // from:
  SAY #22389 /* ~I expect we'll be seein' more rain, soon.  The weather has been plain awful, as o' late.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 4 5 even though they appear after this state */
~RandomNum(4,3)~ THEN BEGIN 2 // from:
  SAY #22390 /* ~You hear what Mae'Var's just done?  The thief master tortured one o' his own most cruelly and put him out front o' his shop for all t' see.  Bloody awful murderer, he is.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 4 5 even though they appear after this state */
~RandomNum(4,4)~ THEN BEGIN 3 // from:
  SAY #22391 /* ~You want t' see the head o' the Docks, you speaks to the Bloodscalp.  He rules the Shadow Thieves, he does... and the Docks.  Ye'll see none o' the guards, here.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~See("Anomen")
InParty("Anomen")
!StateCheck("Anomen",STATE_SLEEPING)
RandomNum(2,1)
Global("dmtown2anomen","AR0500",0)
~ THEN BEGIN 4 // from:
  SAY #22392 /* ~The weather has been so terrible... I expect the gods have been frownin' on us, they have.~ */
  IF ~~ THEN DO ~SetGlobal("dmtown2anomen","AR0500",1)~ EXTERN ~ANOMENJ~ 119
END

IF WEIGHT #1 ~See("HaerDalis")
InParty("HaerDalis")
!StateCheck("HaerDalis",STATE_SLEEPING)
RandomNum(2,1)
Global("dmtown2haerdalis","AR0500",0)
~ THEN BEGIN 5 // from:
  SAY #22394 /* ~Ay, now... you looks like a minstrel, you does.  Will you be playin' a tune for us, mayhap?~ */
  IF ~~ THEN DO ~SetGlobal("dmtown2haerdalis","AR0500",1)~ EXTERN ~HAERDAJ~ 34
END
