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

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

IF WEIGHT #6 /* Triggers after states #: 3 4 5 6 7 8 even though they appear after this state */
~RandomNum(3,1)
~ THEN BEGIN 0 // from:
  SAY #27665 /* ~Please don't slow me down, aye?  I'm on me way t' church, I am.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #7 /* Triggers after states #: 3 4 5 6 7 8 even though they appear after this state */
~RandomNum(3,2)
~ THEN BEGIN 1 // from:
  SAY #27666 /* ~There's no rest fer the wicked, they says... so I plan on prayin' extra hard today, I does.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #8 /* Triggers after states #: 3 4 5 6 7 8 even though they appear after this state */
~RandomNum(3,3)
~ THEN BEGIN 2 // from:
  SAY #27667 /* ~Pardon me fer a teeny bit o' blasphemy... but have ye seen the Morninglord's lasses as o' late?  Now I know what 'em priests says about rebirth, I does!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~InParty("Edwin")
See("Edwin")
!StateCheck("Edwin",STATE_SLEEPING)
RandomNum(2,1)
Global("Postul4Edwin","GLOBAL",0)
~ THEN BEGIN 3 // from:
  SAY #27669 /* ~Who d'you think yer pushin' about, 'ey?~ */
  IF ~~ THEN DO ~SetGlobal("Postul4Edwin","GLOBAL",1)
~ EXTERN ~EDWINJ~ 28
END

IF WEIGHT #1 ~InParty("Anomen")
See("Anomen")
!StateCheck("Anomen",STATE_SLEEPING)
RandomNum(2,1)
Global("Postul4Anomen","GLOBAL",0)
~ THEN BEGIN 4 // from:
  SAY #27673 /* ~There ain't no sin yet that can't be absolved by goin' to the right god and payin' the right amount, aye?~ */
  IF ~~ THEN DO ~SetGlobal("Postul4Anomen","GLOBAL",1)
~ EXTERN ~ANOMENJ~ 139
END

IF WEIGHT #2 ~Global("BeholderPlot","GLOBAL",1)
RandomNum(2,1)
~ THEN BEGIN 5 // from:
  SAY #27676 /* ~All these preachers about for this no-eyed god are a little creepy... I wonder what sins they absolve?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 ~Global("BeholderPlot","GLOBAL",2)
RandomNum(2,1)
~ THEN BEGIN 6 // from:
  SAY #27677 /* ~Hmph.  All them preachers are gone an' I paid one a whole gold piece, too, for ooglin' Lathander's pretties.  (sigh)~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 ~InParty("Mazzy")
See("Mazzy")
!StateCheck("Mazzy",STATE_SLEEPING)
RandomNum(2,1)
Global("Postul4Mazzy","LOCALS",0)~ THEN BEGIN 7 // from:
  SAY #49986 /* ~I can't believe they lets you little halfling heathens walk around in the open, here in the Temple District, plain as day.  You an' your little midget gods... it just ain't right.~ */
  IF ~~ THEN DO ~SetGlobal("Postul4Mazzy","LOCALS",1)~ EXTERN ~MAZZYJ~ 152
END

IF WEIGHT #5 ~InParty("Korgan")
See("Korgan")
!StateCheck("Korgan",STATE_SLEEPING)
RandomNum(2,2)
Global("Postul4Korgan","LOCALS",0)~ THEN BEGIN 8 // from:
  SAY #49987 /* ~Who let you in here, dwarf?  This is a holy place, it is, and it doesn't need yer stinkin' kind wandering about makin' the place rotten.  Go find yerself a hole, aye?~ */
  IF ~~ THEN DO ~SetGlobal("Postul4Korgan","LOCALS",1)~ EXTERN ~KORGANJ~ 102
END
