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

BEGIN ~RNGSHA01~

IF ~Global("HelpShadow","AR1401",0)
InPartySlot(LastTalkedToBy,0)~ THEN BEGIN 0 // from:
  SAY #33406 /* ~Merciful beings of light!  I offer you a simple exchange.  Information on what you seek in exchange for my freedom.~ */
  IF ~~ THEN REPLY #33410 /* ~That sounds fair. It's a deal.~ */ GOTO 1
  IF ~~ THEN REPLY #33413 /* ~I think not.~ */ GOTO 2
  IF ~~ THEN REPLY #33414 /* ~Why should I trust you?~ */ GOTO 6
END

IF ~~ THEN BEGIN 1 // from: 6.0 0.0
  SAY #33416 /* ~Thank you!  You will not be disappointed. I shall ride within your shadow. Take me across the tiles and I will tell you what I know.~ */
  IF ~~ THEN REPLY #33417 /* ~On second thought, I don't think it wise to release you. You were imprisoned here for a reason.~ */ GOTO 2
  IF ~~ THEN REPLY #41515 /* ~Very well. Let us cross.~ */ DO ~SetGlobal("HelpShadow","AR1401",1)
DestroySelf()~ EXIT
  IF ~~ THEN REPLY #41517 /* ~No. First tell me what you know. If the information is sound, I will then take you across.~ */ GOTO 4
END

IF ~~ THEN BEGIN 2 // from: 6.1 1.0 0.1
  SAY #33421 /* ~Then drink of eternal darkness, fool!~ */
  IF ~~ THEN DO ~Enemy()~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 4.1
  SAY #33425 /* ~Traitorous <RACE>! Drink of eternal darkness.~ */
  IF ~~ THEN DO ~Enemy()~ EXIT
END

IF ~~ THEN BEGIN 4 // from: 1.2
  SAY #33431 /* ~Untrusting <RACE>. There is a chapel next to these cells. I took a key from there and hid it in this cell. You will need it to reach the Master's lair. Now please take me across.~ */
  IF ~~ THEN REPLY #41529 /* ~Let us go.~ */ DO ~SetGlobal("HelpShadow","AR1401",1)
DestroySelf()~ UNSOLVED_JOURNAL #22949 /* ~Investigate the deaths in the Umar Hills.

A shadow who wishes to be taken to the other side of a strange series of tiles told me that he took a key from the chapel next to the cells and hid it in his cell.  It is one of the keys that I will need to reach the Shade Lord.~ */ EXIT
  IF ~~ THEN REPLY #41530 /* ~I would never help a shadow.~ */ UNSOLVED_JOURNAL #22949 /* ~Investigate the deaths in the Umar Hills.

A shadow who wishes to be taken to the other side of a strange series of tiles told me that he took a key from the chapel next to the cells and hid it in his cell.  It is one of the keys that I will need to reach the Shade Lord.~ */ GOTO 3
END

IF ~Global("HelpShadow","AR1401",1)~ THEN BEGIN 5 // from:
  SAY #33432 /* ~Fool.  You think I would let you live?~ */
  IF ~~ THEN DO ~SetGlobal("HelpShadow","AR1401",2)
Enemy()~ EXIT
END

IF ~~ THEN BEGIN 6 // from: 0.2
  SAY #41519 /* ~I was a minion of the Shade Lord. You seek to destroy him, do you not? I can help you do it if you only free me from this place.~ */
  IF ~~ THEN REPLY #41524 /* ~Very well. I shall help you.~ */ GOTO 1
  IF ~~ THEN REPLY #41525 /* ~I think not.~ */ GOTO 2
END

IF ~!InPartySlot(LastTalkedToBy,0)~ THEN BEGIN 7 // from:
  SAY #43278 /* ~Please! I must speak to your leader.~ */
  IF ~~ THEN EXIT
END
