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

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

IF WEIGHT #0 ~See("Mazzy")
InParty("Mazzy")
!StateCheck("Mazzy",STATE_SLEEPING)
RandomNum(2,1)
Global("brat3mazzy","AR0700",0)
~ THEN BEGIN 0 // from:
  SAY #14319 /* ~By Helm, ye have fuzzy hair all o'er yer feet!  Why does ye not wear shoes, then, t' hide it?~ */
  IF ~~ THEN DO ~SetGlobal("brat3mazzy","AR0700",1)~ EXTERN ~MAZZYJ~ 65
END

IF WEIGHT #1 ~See("HaerDalis")
InParty("HaerDalis")
!StateCheck("HaerDalis",STATE_SLEEPING)
RandomNum(2,1)
Global("brat3haerdalis","AR0700",0)
~ THEN BEGIN 1 // from:
  SAY #14322 /* ~Ye look rather strange, by Helm.  Why does ye look so strange?~ */
  IF ~~ THEN DO ~SetGlobal("brat3haerdalis","AR0700",1)~ EXTERN ~HAERDAJ~ 27
END

IF WEIGHT #3 /* Triggers after states #: 6 even though they appear after this state */
~RandomNum(4,1)~ THEN BEGIN 2 // from:
  SAY #14327 /* ~Does ye want t' play a game o' wheelie?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 6 even though they appear after this state */
~RandomNum(4,2)~ THEN BEGIN 3 // from:
  SAY #14328 /* ~Me ma says that ye're only as tall as ye're last deal, she does.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 6 even though they appear after this state */
~RandomNum(4,3)~ THEN BEGIN 4 // from:
  SAY #14329 /* ~Ye look like a kobold.  I bet ye don' spend a red copper unless it's pried from yer fingers.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 /* Triggers after states #: 6 even though they appear after this state */
~RandomNum(4,4)~ THEN BEGIN 5 // from:
  SAY #14330 /* ~Me ma says strangers are all awash in red ink.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~See("Cernd")
InParty("Cernd")
!StateCheck("Cernd",STATE_SLEEPING)
RandomNum(2,1)
Global("brat3cernd","AR0700",0)
~ THEN BEGIN 6 // from:
  SAY #14269 /* ~Who are you, sir?  Are you a priest?~ */
  IF ~~ THEN DO ~SetGlobal("brat3cernd","AR0700",1)~ EXTERN ~CERNDJ~ 71
END
