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

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

IF WEIGHT #6 /* Triggers after states #: 4 5 6 7 8 9 even though they appear after this state */
~RandomNum(4,1)~ THEN BEGIN 0 // from:
  SAY #25001 /* ~These merchants aren't nothing but cheats!  They're out to get all me money!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #7 /* Triggers after states #: 4 5 6 7 8 9 even though they appear after this state */
~RandomNum(4,2)~ THEN BEGIN 1 // from:
  SAY #25002 /* ~I tells ye!  The shopkeepers are all crooks!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #8 /* Triggers after states #: 4 5 6 7 8 9 even though they appear after this state */
~RandomNum(4,3)~ THEN BEGIN 2 // from:
  SAY #25003 /* ~Shoddy merchandise!  Shoddy merchandise!  It's all shoddy!!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #9 /* Triggers after states #: 4 5 6 7 8 9 even though they appear after this state */
~RandomNum(4,4)~ THEN BEGIN 3 // from:
  SAY #25004 /* ~Ye haven't bought anything here, have ye?  Well, don't!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~See("Yoshimo")
InParty("Yoshimo")
!StateCheck("Yoshimo",STATE_SLEEPING)
RandomNum(2,1)
Global("murtlenyoshimo","AR0700",0)~ THEN BEGIN 4 // from:
  SAY #25005 /* ~You!  Have you ever been cheated, here?  I bet ye have!~ */
  IF ~~ THEN DO ~SetGlobal("murtlenyoshimo","AR0700",1)~ EXTERN ~YOSHJ~ 11
END

IF WEIGHT #1 ~See("Minsc")
InParty("Minsc")
!StateCheck("Minsc",STATE_SLEEPING)
RandomNum(2,2)
Global("murtlenminsc","AR0700",0)~ THEN BEGIN 5 // from:
  SAY #25008 /* ~You!  Have you ever been cheated, here?  I bet ye have!~ */
  IF ~~ THEN DO ~SetGlobal("murtlenminsc","AR0700",1)~ EXTERN ~MINSCJ~ 42
END

IF WEIGHT #2 ~See("Anomen")
InParty("Anomen")
!StateCheck("Anomen",STATE_SLEEPING)
RandomNum(2,1)
Global("murtlenanomen","AR0700",0)~ THEN BEGIN 6 // from:
  SAY #25010 /* ~You!  Have you ever been cheated, here?  I bet ye have!~ */
  IF ~~ THEN DO ~SetGlobal("murtlenanomen","AR0700",1)~ EXTERN ~ANOMENJ~ 121
END

IF WEIGHT #3 ~See("HaerDalis")
InParty("HaerDalis")
!StateCheck("HaerDalis",STATE_SLEEPING)
RandomNum(2,2)
Global("murtlenhaerdalis","AR0700",0)~ THEN BEGIN 7 // from:
  SAY #25013 /* ~You!  Have you ever been cheated, here?  I bet ye have!~ */
  IF ~~ THEN DO ~SetGlobal("murtlenhaerdalis","AR0700",1)~ EXTERN ~HAERDAJ~ 36
END

IF WEIGHT #4 ~IsValidForPartyDialog("Edwin")
RandomNum(2,1)
Global("murtlenedwin","AR0700",0)~ THEN BEGIN 8 // from:
  SAY #38842 /* ~You!  Have you ever been cheated, here?  I bet ye have!~ */
  IF ~~ THEN DO ~SetGlobal("murtlenedwin","AR0700",1)~ EXTERN ~EDWINJ~ 35
END

IF WEIGHT #5 ~IsValidForPartyDialog("Aerie")
RandomNum(2,2)
Global("murtlenedwin","AR0700",0)~ THEN BEGIN 9 // from:
  SAY #38843 /* ~You!  Have you ever been cheated, here?  I bet ye have!~ */
  IF ~~ THEN DO ~SetGlobal("murtlenaerie","AR0700",1)~ EXTERN ~AERIEJ~ 35
END
