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

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

IF WEIGHT #1 /* Triggers after states #: 2 even though they appear after this state */
~!Dead("booter02")~ THEN BEGIN 0 // from:
  SAY #39234 /* ~You've been sent by Bodhi, haven't you? Kill that cursed torturer and free me! Booter has the keys! I'll tell you everything I know!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 /* Triggers after states #: 2 even though they appear after this state */
~Dead("booter02")~ THEN BEGIN 1 // from:
  SAY #39238 /* ~You've been sent by Bodhi, haven't you? Please let me out! I can help you penetrate Aran Linvail's defenses!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~OpenState("DOOR03",TRUE)~ THEN BEGIN 2 // from:
  SAY #39239 /* ~Praise Mask! Thank you for freeing me. My former guild isn't as friendly as I had hoped it would be.~ */
  IF ~~ THEN REPLY #39250 /* ~You must be the Tizzak that Bodhi mentioned.~ */ GOTO 3
  IF ~~ THEN REPLY #39258 /* ~Tell me how to find Aran Linvail or I'll slit your throat!~ */ GOTO 4
END

IF ~~ THEN BEGIN 3 // from: 2.0
  SAY #39260 /* ~I am and well met! I used to be a Shadow Thief until Bodhi recruited me. My loyalty only goes as far as the power of my employer goes. Bodhi has sent you to kill Aran Linvail?~ */
  IF ~~ THEN REPLY #39261 /* ~Yes, she has. How can I get to his inner sanctum?~ */ GOTO 5
  IF ~~ THEN REPLY #39263 /* ~No more questions. I have to get my work done.~ */ GOTO 9
END

IF ~~ THEN BEGIN 4 // from: 2.1
  SAY #39267 /* ~Be calm! I want him dead as much as you do.~ */
  IF ~~ THEN GOTO 5
END

IF ~~ THEN BEGIN 5 // from: 9.0 4.0 3.0
  SAY #39269 /* ~Aran's inner sanctum is protected by two magical doors. They can be neither picked nor bashed. You shall have to find a button for the first and a key for the second.~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #39273 /* ~The button can be found somewhere to the north, at the end of a heavily trapped hallway.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #39275 /* ~As to the key, I know not where it is but I do know that Aran's most trusted advisor is a wizard called Haz. He may have a key if he is in the compound.~ */
  IF ~~ THEN GOTO 8
END

IF ~~ THEN BEGIN 8 // from: 7.0
  SAY #39276 /* ~I am somewhat worse for wear so I shall have to take my leave of you. Best of luck and thanks for saving me.~ */
  IF ~~ THEN DO ~EscapeArea()~ UNSOLVED_JOURNAL #7012 /* ~Perform Bodhi's tasks to receive her aid.

I found Bodhi's man, Tizzak, who informed me the only way into Aran's inner sanctum is through two magical doors.  The first is opened by pressing a button... which exists at the end of a trapped hallway to the north.  The second is opened by a key... he did not know where it was, but suggested that a wizard named Haz might possess it.~ */ EXIT
END

IF ~~ THEN BEGIN 9 // from: 3.1
  SAY #39281 /* ~If I may be so bold as to offer a bit of advice, I will tell you how to get to Aran.~ */
  IF ~~ THEN GOTO 5
END
