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

BEGIN ~GORPEL~
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #1 /* Triggers after states #: 3 even though they appear after this state */
~NumTimesTalkedTo()
~ THEN BEGIN 0 // from:
  SAY #19535 /* ~ Me axe be bloody ready!~ [KORGAN23] */
  IF ~~ THEN REPLY #19539 /* ~Worry not, <LADYLORD>, for Kalah has already found thee.~ */ GOTO 1
  IF ~~ THEN REPLY #19543 /* ~Welcome and beware! Is there aught else that you require of me, <LADYLORD>?~ */ GOTO 2
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #19545 /* ~ Hmph.  I've killed fer less...~ [KORGAN28] */
  IF ~~ THEN DO ~CreateCreature("GRETEK",[743.1041])
CreateCreature("PARGUS",[681.1029])
CreateCreature("WILF",[775.1135])
CreateCreature("NADER",[845.992])
CreateCreature("ARLIN",[812.1057])
CreateCreature("CATURA",[376.1045])
~ EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #19554 /* ~Mask of King Strohm III~ */
  IF ~~ THEN DO ~CreateCreature("GRETEK",[743.1041])
CreateCreature("PARGUS",[681.1029])
CreateCreature("WILF",[775.1135])
CreateCreature("NADER",[845.992])
CreateCreature("ARLIN",[812.1057])
CreateCreature("CATURA",[376.1045])
ActionOverride("FARLUCK",EscapeArea())
ActionOverride("TURPIN",EscapeArea())
ActionOverride("NELIK",EscapeArea())
EscapeArea()
~ EXIT
END

IF WEIGHT #0 ~Dead("GRETEK")
Dead("PARGUS")
Dead("WILF")
Dead("NADER")
Dead("ARLIN")
Dead("CATURAK")
~ THEN BEGIN 3 // from:
  SAY #19610 /* ~Yer a hard, cold fiend, ye are!~ */
  IF ~~ THEN DO ~ActionOverride("FARLUCK",EscapeArea())
ActionOverride("TURPIN",EscapeArea())
ActionOverride("NELIK",EscapeArea())
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 4 // from:
  SAY #19611 /* ~Ye'll hand o'er yer coin, and all o' it, or suffer the ends of me blade!~ */
  IF ~~ THEN EXIT
END
