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

BEGIN ~KPSOLD01~ 2 // non-zero flags may indicate non-pausing dialogue
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #1 /* Triggers after states #: 8 even though they appear after this state */
~NumTimesTalkedTo(0)~ THEN BEGIN 0 // from:
  SAY #39885 /* ~Hold!  How did you get in here?!  Who are you?!~ */
  IF ~~ THEN REPLY #39886 /* ~I think I could ask you the same question.~ */ GOTO 1
  IF ~~ THEN REPLY #39887 /* ~I am <CHARNAME>... I have been hired by Nalia to clear out this keep of its invaders.~ */ GOTO 3
  IF ~~ THEN REPLY #39888 /* ~None of your business, fool.~ */ GOTO 6
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #39889 /* ~I... I have remained to guard the Lady Delcia.  We... we have been barricaded here for days!~ */
  IF ~~ THEN GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #39890 /* ~But I will listen to no more until I know... are you friend or foe?!~ */
  IF ~~ THEN REPLY #39891 /* ~I am a friend... I have been brought here by Nalia to save this keep.~ */ GOTO 3
  IF ~~ THEN REPLY #39892 /* ~I'm not going to answer that.~ */ GOTO 6
  IF ~~ THEN REPLY #39893 /* ~I'm not about to trust anyone I see in this castle... foe it is!~ */ GOTO 6
END

IF ~~ THEN BEGIN 3 // from: 2.0 0.1
  SAY #39894 /* ~Oh!  Thank the gods!  You... you cannot believe how relieved I am to see you, then.  Not only have I been barricaded in here, fighting against trolls...~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.0
  SAY #39895 /* ~(... but you cannot BELIEVE the audacity of this woman!  The Lady Delcia is the Lord's sister... and she is a... a trial, to say the least!  I have been tempted to strangle her myself more than a dozen times!...)~ */
  IF ~~ THEN GOTO 5
END

IF ~~ THEN BEGIN 5 // from: 4.0
  SAY #39896 /* ~... er... I suggest you speak to the Lady Delcia, further.  She will decide what to do, I suppose.  (... and it will be the first break I've had from her in days...)~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 6 // from: 2.2 2.1 0.2
  SAY #39897 /* ~Then I must protect the Lady yet again.  Have at you, then!~ */
  IF ~~ THEN DO ~Enemy()~ EXIT
END

IF WEIGHT #2 /* Triggers after states #: 8 even though they appear after this state */
~True()~ THEN BEGIN 7 // from:
  SAY #39898 /* ~I will stay with the Lady Delcia, where she decides to go.  This is my duty, and I can help you no more beyond this.  (... despite what a pain in the behind the hag has turned out to be...)~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~NumTimesTalkedTo(0)
InParty("Nalia")
See("Nalia")
!StateCheck("Nalia",STATE_SLEEPING)
!Dead("Nalia")~ THEN BEGIN 8 // from:
  SAY #39899 /* ~Hold!  How did you -- Mistress Nalia!  Is it... is it really you?!~ */
  IF ~~ THEN EXTERN ~NALIAJ~ 153
END

IF ~~ THEN BEGIN 9 // from: NALIAJ:153.0
  SAY #39900 /* ~I barricaded us in here to protect your Aunt, my lady.  I have fought few trolls... I think they are not interested in either of us.  What they are doing, I cannot say.~ */
  IF ~~ THEN EXTERN ~NALIAJ~ 154
END

IF ~~ THEN BEGIN 10 // from: NALIAJ:154.0
  SAY #39901 /* ~I will go where your Aunt goes.  I have sworn to protect her, and I have maintained my oath thus far.  It is... it is just...~ */
  IF ~~ THEN EXTERN ~NALIAJ~ 155
END

IF ~~ THEN BEGIN 11 // from: NALIAJ:155.0
  SAY #39902 /* ~... well... yes...~ */
  IF ~~ THEN EXTERN ~NALIAJ~ 156
END
