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

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

IF WEIGHT #3 /* Triggers after states #: 1 3 5 even though they appear after this state */
~Global("HelpGhorak","GLOBAL",1)
~ THEN BEGIN 0 // from:
  SAY #15216 /* ~ You shall suffer my wrath!~ [ANOMEN13] */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~Global("HelpAgnasia","GLOBAL",0)
~ THEN BEGIN 1 // from:
  SAY #15217 /* ~~ [ANOMEN14] */
  IF ~~ THEN REPLY #17177 /* ~This is a difficult situation! Would you react any different?~ */ GOTO 2
  IF ~~ THEN REPLY #17178 /* ~I have little taste for it, myself.  Very well, I will do what I can to free you.~ */ DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #15221 /* ~High Merchant Logan Coprith~ */
  IF ~~ THEN DO ~SetGlobal("HelpGhorak","GLOBAL",1)~ JOURNAL #15777 /* ~~ */ EXIT
END

IF WEIGHT #1 ~Global("HelpAgnasia","GLOBAL",1)
~ THEN BEGIN 3 // from:
  SAY #15222 /* ~ Pfeh!  A dank pool of base corruption, if ever there was one.  If not for the Order, the gods would surely smite Man for such sins.~ [ANOMEN18] */
  IF ~~ THEN DO ~Polymorph(FIGHTER_MALE_HUMAN)
~ EXIT
END

IF WEIGHT #4 /* Triggers after states #: 5 even though they appear after this state */
~True()
~ THEN BEGIN 4 // from:
  SAY #15223 /* ~High Merchant Logan Coprith~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 ~false()~ THEN BEGIN 5 // from:
  SAY #15224 /* ~ Aye...'tis good to adventure in such a place!  The blood quickens, knowing that evil is so near!~ [ANOMEN19] */
  IF ~~ THEN DO ~EscapeArea()~ EXIT
END
