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

BEGIN ~MENDA4~

IF ~NumTimesTalkedTo(0)~ THEN BEGIN 0 // from:
  SAY #24017 /* ~You have fought my jailors, the shadows. Those unfortunate souls are the remnants of live victims whom have been perverted by the power of the dark fiend, the Shade Lord.~ */
  IF ~~ THEN REPLY #24018 /* ~What do you imply, halfling?~ */ GOTO 1
  IF ~~ THEN REPLY #24030 /* ~We are here to get rid of the Shade Lord. Why don't you tell us of your attempt.~ */ GOTO 4
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #24019 /* ~Enjoy your cage, little one.~ */
  IF ~~ THEN REPLY #24020 /* ~Why is it here and what does it want?~ */ GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #24021 /* ~A fanciful tale. I believe only what I see with my own eyes.~ */
  IF ~~ THEN REPLY #24022 /* ~Contemptuous oaf! Have you no honor? If this is to be my fate, then don't envenom it further with your presence.~ */ GOTO 4
  IF ~~ THEN REPLY #24023 /* ~The shadows haven't the intelligence for such trickery. Their evil master is more direct. If that does not suffice, then I can only say that I have never broken my word.~ */ GOTO 3
  IF ~~ THEN REPLY #24028 /* ~You cannot trick me into freeing you.~ */ GOTO 5
END

IF ~~ THEN BEGIN 3 // from: 4.1 2.1
  SAY #24029 /* ~It is here to dominate and to conquer. This Shade Lord seems to feed on the corruption of souls. If it is not stopped it will continue to build its army of shadows.~ */
  IF ~~ THEN DO ~ActionOverride("Baresh",ApplySpell(Myself,KAISHAS_CHANGE))
ForceSpell(Myself,LOUPGAR_CHANGE)
Enemy()
~ JOURNAL #23410 /* ~The... Great Feeder?  If you're referring to the one who throws you down all the dead bodies then, yes, I suppose so.~ */ EXIT
END

IF ~~ THEN BEGIN 4 // from: 2.0 0.1
  SAY #24031 /* ~It is your right to be skeptical. You shall not cling to your disbelief for long.~ */
  IF ~~ THEN REPLY #24035 /* ~I realized before long that the altar somehow fueled the Shade Lord's magic. I struggled towards it too late, and was captured.  It seems the Shade Lord had different plans for me.~ */ GOTO 5
  IF ~~ THEN REPLY #24036 /* ~The Shade Lord and his altar must be destroyed. I am uninjured and ready to fight with you if you will have me.~ */ GOTO 3
END

IF ~~ THEN BEGIN 5 // from: 4.0 2.2
  SAY #24037 /* ~Perhaps it is best if we face it alone. We will free you and wish you well, however.~ */
  IF ~~ THEN DO ~ActionOverride("Baresh",ApplySpell(Myself,KAISHAS_CHANGE))
ForceSpell(Myself,LOUPGAR_CHANGE)
Enemy()
~ JOURNAL #23410 /* ~The... Great Feeder?  If you're referring to the one who throws you down all the dead bodies then, yes, I suppose so.~ */ EXIT
END
