// creator  : weidu.exe (version 23100)
// argument : VALRAN01.DLG
// game		 : .
// source	 : ./override/VALRAN01.DLG
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

BEGIN ~VALRAN01~ 1 // non-zero flags may indicate non-pausing dialogue

IF ~!InParty("Valygar")
~ THEN BEGIN 0 // from:
  SAY #19257 /* ~You!  You're one of those wizard-folk looking for Valygar, aren't you?!~ */
  IF ~Global("HiredByCowled","GLOBAL",1)~ THEN REPLY #19258 /* ~No, I'm nothing of the sort!~ */ GOTO 1
  IF ~Global("HiredByCowled","GLOBAL",0)~ THEN REPLY #19261 /* ~No, I'm nothing of the sort!~ */ GOTO 2
  IF ~Global("HiredByCowled","GLOBAL",1)~ THEN REPLY #19259 /* ~Valygar who?~ */ GOTO 1
  IF ~Global("HiredByCowled","GLOBAL",1)~ THEN REPLY #19260 /* ~I'm looking for Valygar, yes, but I'm not interested in a fight.~ */ GOTO 2
  IF ~~ THEN REPLY #19262 /* ~Stand aside and you'll not be hurt.~ */ GOTO 4
END

IF ~~ THEN BEGIN 1 // from: 0.2 0.0
  SAY #19263 /* ~Liar!  We'll not allow our employer to be hounded in this manner!!~ */
  IF ~~ THEN DO ~Enemy()
CreateCreatureObject("valran02",Myself,0,0,0)
CreateCreatureObject("valran03",Myself,0,0,0)~ EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.3 0.1
  SAY #19264 /* ~Well, move on, then!  Get out of here!~ */
  IF ~~ THEN DO ~EscapeArea()~ EXIT
END

IF ~~ THEN BEGIN 3 // from:
  SAY #19265 /* ~Well, you have one!  We'll not allow our friend to be hounded in this manner!!~ */
  IF ~~ THEN DO ~Enemy()
CreateCreatureObject("valran02",Myself,0,0,0)
CreateCreatureObject("valran03",Myself,0,0,0)~ EXIT
END

IF ~~ THEN BEGIN 4 // from: 0.4
  SAY #19266 /* ~Attack!  Attack, quickly!!~ */
  IF ~~ THEN DO ~Enemy()
CreateCreatureObject("valran02",Myself,0,0,0)
CreateCreatureObject("valran03",Myself,0,0,0)~ EXIT
END

IF ~InParty("Valygar")~ THEN BEGIN 5 // from:
  SAY #61007 /* ~Ho, Valygar!  Are these friends of yours, comrade?  You do not... need our help, perhaps?~ */
  IF ~~ THEN EXTERN ~VALYGARJ~ 121
END

IF ~~ THEN BEGIN 6 // from: VALYGARJ:121.0
  SAY #61009 /* ~As you say then, friend.  Should you have further need of our help, we'll not be far away.~ */
  IF ~~ THEN DO ~EscapeArea()~ EXIT
END
