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

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

IF ~Global("ElvenAvatar","GLOBAL",0)
!See([ENEMY])
//Dead("golcla01")
//NumDeadGT("golsto01",1)
!Dead("suelf2")~ THEN BEGIN 0 // from:
  SAY #54415 /* ~Oh, oh, thank you, my <LADYLORD>!~ */
  IF ~~ THEN EXTERN ~SUELF2~ 0
END

IF ~~ THEN BEGIN 1 // from: SUELF2:0.0
  SAY #54417 /* ~Yes, they... they came into the temple and killed them!  All of Rillifane's children!~ */
  IF ~~ THEN EXTERN ~SUELF2~ 1
END

IF ~~ THEN BEGIN 2 // from: SUELF2:1.1
  SAY #54426 /* ~Demin is... dead?  By the Great Oak, then, we are doomed!  Doomed!~ */
  IF ~~ THEN REPLY #54427 /* ~Never mind that, now.  Elhan is waiting at the gates to evacuate everyone.  Go there and you should be safe.~ */ EXTERN ~SUELF2~ 3
END

IF ~~ THEN BEGIN 3 // from: SUELF2:1.2
  SAY #54428 /* ~I... I last saw her in the southwest of the city.  Perhaps she has retreated into one of the homes, there, I do not know...~ */
  IF ~~ THEN REPLY #54429 /* ~I shall find her if I can.  Meanwhile, Elhan is at the gate, evacuating the city.  Go there and you should be safe.~ */ UNSOLVED_JOURNAL #15748 /* ~Getting Inside the Palace in Suldanessellar

One of the local elves told me that he saw High Priestess Demin battling creatures in the southwestern portion of the city.  Perhaps she has retreated into one of the buildings there.~ */ EXTERN ~SUELF2~ 3
END

IF ~Global("ElvenAvatar","GLOBAL",0)
!See([ENEMY])
//Dead("golcla01")
//NumDeadGT("golsto01",1)
Dead("suelf2")~ THEN BEGIN 4 // from:
  SAY #54431 /* ~I... I thank you for saving my life.  These... these creatures came with... the Exile.  He is killing us all!~ */
  IF ~~ THEN GOTO 5
END

IF ~~ THEN BEGIN 5 // from: 4.0
  SAY #54432 /* ~They broke into the temple and killed all the acolytes!  It... it was horrifying!  I barely escaped, and I... I'm not sure if anyone else...~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #54434 /* ~Oh!  Demin, the high priestess!  She yet lives!  I saw her in the southwest part of the city!  She may yet be there... you must save her!!~ */
  IF ~Global("TalkedToDemin","GLOBAL",1)
!Dead("Sudemin")~ THEN REPLY #54435 /* ~I have already saved Demin.  Elhan is at the gates evacuating everyone... go there and you should be safe.~ */ UNSOLVED_JOURNAL #15748 /* ~Getting Inside the Palace in Suldanessellar

One of the local elves told me that he saw High Priestess Demin battling creatures in the southwestern portion of the city.  Perhaps she has retreated into one of the buildings there.~ */ GOTO 7
  IF ~Dead("Sudemin")~ THEN REPLY #54436 /* ~I am afraid Demin is dead.  Elhan is at the gates evacuating everyone... go there and you should be safe.~ */ UNSOLVED_JOURNAL #15748 /* ~Getting Inside the Palace in Suldanessellar

One of the local elves told me that he saw High Priestess Demin battling creatures in the southwestern portion of the city.  Perhaps she has retreated into one of the buildings there.~ */ GOTO 7
  IF ~!Global("TalkedToDemin","GLOBAL",1)~ THEN REPLY #54437 /* ~Never mind that now.  Elhan is at the gates evacuating people.  Go there and you should be safe.~ */ UNSOLVED_JOURNAL #15748 /* ~Getting Inside the Palace in Suldanessellar

One of the local elves told me that he saw High Priestess Demin battling creatures in the southwestern portion of the city.  Perhaps she has retreated into one of the buildings there.~ */ GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 6.2 6.1 6.0
  SAY #54438 /* ~I... I will go.  Thank you again.~ */
  IF ~~ THEN DO ~EscapeArea()~ EXIT
END

IF ~Global("ElvenAvatar","GLOBAL",1)
~ THEN BEGIN 8 // from:
  SAY #54461 /* ~The spirit guardians have been raised!  Praise be to the Great Oak!  Thank you, stranger, you have saved us!!~ */
  IF ~~ THEN DO ~ActionOverride("Suelf2",EscapeArea())
EscapeArea()~ EXIT
END
