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

BEGIN ~_KHALID~

IF ~~ THEN BEGIN 0 // from: _JAHEIR:1.0 _JAHEIR:0.0
  SAY #87835 /* ~G-good to know you..~ */
  IF ~~ THEN EXTERN ~_JAHEIR~ 3
END

IF ~NumberOfTimesTalkedTo(0)
!Dead("jaheira")
~ THEN BEGIN 1 // from:
  SAY #87836 /* ~Something about you is f-familiar, child.  Your manner reminds me of a sage I know, b-by the name of Gorion.~ */
  IF ~~ THEN DO ~SetGlobal("SpokeToKhalid","GLOBAL",1)
~ EXTERN ~_JAHEIR~ 2
END

IF ~~ THEN BEGIN 2 // from: _JAHEIR:3.0
  SAY #87837 /* ~If... if he has passed, we share your loss.~ */
  IF ~~ THEN EXTERN ~_JAHEIR~ 4
END

IF ~~ THEN BEGIN 3 // from: _JAHEIR:4.0
  SAY #87838 /* ~We could t-travel with you until you get settled; help you find your l-lot in life.~ */
  IF ~~ THEN EXTERN ~_JAHEIR~ 5
END

IF ~~ THEN BEGIN 4 // from: _JAHEIR:2.0
  SAY #87839 /* ~Jaheira! M-mind your m-m-manners!  This must be the child that Gorion wrote of so often.~ */
  IF ~~ THEN EXTERN ~_JAHEIR~ 3
END

IF ~~ THEN BEGIN 5 // from:
  SAY #87840 /* ~I fear I must d-depart as well.  Jaheira and I are inseparable.~ */
  IF ~~ THEN DO ~LeaveParty()
~ EXIT
END

IF ~Global("SpokeToKhalid","GLOBAL",1)
~ THEN BEGIN 6 // from:
  SAY #87841 /* ~I... wish you luck on your... adventures.~ */
  IF ~~ THEN EXIT
END

IF ~False()
~ THEN BEGIN 7 // from:
  SAY #86942 /* ~V-v-very well.  Though I doubt G-Gorion would approve of me leaving you, I cannot force my company upon you.  These choices are yours to make.~ */
  IF ~~ THEN EXIT
END

IF ~False()
~ THEN BEGIN 8 // from:
  SAY #86943 /* ~V-v-very well.  Though I doubt G-Gorion would approve of me leaving you, I cannot force my company upon you.  These choices are yours to make.  Come Jaheira, we should take our leave for now.~ */
  IF ~~ THEN EXIT
END

IF ~False()
~ THEN BEGIN 9 // from:
  SAY #86940 /* ~I c-cannot say that I have enjoyed our t-time together, but for the sake of Gorion I will not protest your actions further.  If there is anything of him within you, you will ultimately turn out alright... though it does seem doubtful at the moment.~ */
  IF ~~ THEN EXIT
END

IF ~False()
~ THEN BEGIN 10 // from:
  SAY #86941 /* ~I c-cannot say that I have enjoyed our t-time together, but for the sake of Gorion I will not protest your actions further.  If there is anything of him within you, you will ultimately turn out alright... though it does seem doubtful at the moment.  Come Jaheira d-darling.  We must leave this one to their chosen path.~ */
  IF ~~ THEN EXIT
END
