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

BEGIN ~SAHCHF02~ 2 // non-zero flags may indicate non-pausing dialogue

IF ~PartyHasItem("misc8q")
Global("villynatyjob","GLOBAL",0)
Global("Hostilecity","GLOBAL",0)
!Dead("sahkng01")
!Dead("sahpr1")~ THEN BEGIN 0 // from:
  SAY #46642 /* ~You have the orb, surface creature.  This means only that the most sacred Senityili could have given it to you.~ */
  IF ~~ THEN GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #46643 /* ~She has sent us word of your intentions.  Do you wish to be brought to the most honorable Villynaty, he who has saved us?  I am willing to lead you to him, surface beast.~ */
  IF ~~ THEN REPLY #46644 /* ~Yes... take me to see this Prince of yours.~ */ GOTO 2
  IF ~~ THEN REPLY #46645 /* ~Take me to see him... but I shall remain on guard against any treachery, so do not try anything!~ */ GOTO 3
  IF ~~ THEN REPLY #46646 /* ~No.  I've no interest in speaking with your Prince.~ */ GOTO 4
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #46648 /* ~Excellent.  Follow me, then... it is not far from here.~ */
  IF ~~ THEN DO ~StartCutSceneMode()
StartCutScene("cut41x")
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 1.1
  SAY #46649 /* ~It is not our intention to commit violence against you, surface being.  But we certainly put no trust in you... as you have no trust in us.  No matter.  Follow me and I shall take you to the Prince.~ */
  IF ~~ THEN DO ~StartCutSceneMode()
StartCutScene("cut41x")
~ EXIT
END

IF ~~ THEN BEGIN 4 // from: 1.2
  SAY #46650 /* ~Then we shall assume you are here to kill us.  Very well.  We shall prepare for your arrival, surface creature!~ */
  IF ~~ THEN DO ~SetGlobal("RebelsHostile","AR2300",1)
EscapeArea()
~ EXIT
END

IF ~Global("villynatyjob","GLOBAL",1)~ THEN BEGIN 5 // from:
  SAY #46737 /* ~We have long yearned to return to the City-of-Caverns since our exile by Ixilthetocal.  If you can bring about that return, it does not matter that you are a surfacer... we shall thank you regardless.~ */
  IF ~~ THEN EXIT
END

IF ~OR(4)
Dead("sahkng01")
Dead("sahpr1")
Global("Hostilecity","GLOBAL",1)
!PartyHasItem("misc8q")
Global("villynatyjob","GLOBAL",0)~ THEN BEGIN 6 // from:
  SAY #46738 /* ~You shall die, now, surfacer!  We shall never bend our knee to the will of Ixilthetocal!~ */
  IF ~~ THEN DO ~SetGlobal("RebelsHostile","AR2300",1)
Enemy()~ EXIT
END

IF ~Global("villynatyjob","GLOBAL",2)~ THEN BEGIN 7 // from:
  SAY #46739 /* ~I am most grateful, surfacer.  My people shall thrive, now that we exiles have been restored.  We shall not have to flee from the drow to the black depths of the ocean.~ */
  IF ~~ THEN EXIT
END
