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

BEGIN ~JAHEI25A~

IF ~Global("JaheiraSummoned","GLOBAL",1)~ THEN BEGIN 0 // from:
  SAY #65308 /* ~It is... good to see you again.  After we parted ways last, I had the strange feeling that you had... but no.  You are alive and well, I see.  Obviously I was mistaken.~ [JAHE2501] */
  IF ~~ THEN REPLY #65309 /* ~Not entirely... but it's a long story.~ */ DO ~SetGlobal("JaheiraSummoned","GLOBAL",2)~ GOTO 1
  IF ~Global("JaheiraRomanceActive","GLOBAL",2)~ THEN REPLY #65310 /* ~It's good to see you, too, Jaheira.  I missed you.~ */ DO ~SetGlobal("JaheiraSummoned","GLOBAL",2)~ GOTO 2
  IF ~~ THEN REPLY #65311 /* ~Let's skip the pleasantries.  I wouldn't have summoned you without need.~ */ DO ~SetGlobal("JaheiraSummoned","GLOBAL",2)
SetGlobal("JaheiraRomanceActive","GLOBAL",3)~ GOTO 3
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #65312 /* ~Things with you are always complicated.  I have heard much, as of late, of the cries against the Children... I expect things have only gotten worse with you, haven't they?~ */
  IF ~~ THEN REPLY #65313 /* ~I don't know about worse, but I do need you in the party.~ */ GOTO 4
  IF ~Global("JaheiraRomanceActive","GLOBAL",2)~ THEN REPLY #65319 /* ~It's been worse without you at my side.  I missed you.~ */ GOTO 2
  IF ~~ THEN REPLY #65315 /* ~Perhaps.  Wait here for awhile... I will deal with you soon.~ */ GOTO 5
END

IF ~~ THEN BEGIN 2 // from: 1.1 0.1
  SAY #65316 /* ~And I, you.  We have been apart for far too long... it does my heart good to see that you are still well, <CHARNAME>.  Will I be traveling with you, then?~ */
  IF ~~ THEN REPLY #65317 /* ~Of course.  Let's go.~ */ DO ~JoinParty()~ EXIT
  IF ~~ THEN REPLY #65318 /* ~Not just yet... wait here awhile.~ */ GOTO 5
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #65320 /* ~I see little about you has changed.  I am willing to aid you, <CHARNAME>, if for no other reason than the pledge I made to Gorion.  I hope he was correct about you.~ */
  IF ~~ THEN REPLY #65321 /* ~Join the party, then, and let's go.~ */ DO ~JoinParty()~ EXIT
  IF ~~ THEN REPLY #65322 /* ~Wait here for awhile... I will deal with you soon.~ */ GOTO 5
END

IF ~~ THEN BEGIN 4 // from: 6.1 1.0
  SAY #65323 /* ~I am willing to fight at your side, <CHARNAME>.  You will need loyal companions if you are to face the time that is surely ahead... I hope it is not as dire as I fear.~ */
  IF ~~ THEN DO ~JoinParty()~ EXIT
END

IF ~~ THEN BEGIN 5 // from: 3.1 2.1 1.2
  SAY #65324 /* ~This is an odd place to wait... but with you I suppose there is little that should surprise me.  Very well, I shall do as you ask.~ */
  IF ~~ THEN DO ~MoveToPointNoInterrupt([1844.1211])
Face(0)~ EXIT
END

IF ~Global("JaheiraSummoned","GLOBAL",2)~ THEN BEGIN 6 // from:
  SAY #65325 /* ~Do you need my assistance?  Traveling again would be preferable to standing about idly.~ [JAHE2518] */
  IF ~OR(2)
Global("JaheiraRomanceActive","GLOBAL",2)
ReputationGT(Player1,12)~ THEN REPLY #65326 /* ~Yes, join with me and let's go.~ */ GOTO 7
  IF ~!Global("JaheiraRomanceActive","GLOBAL",2)
ReputationLT(Player1,13)~ THEN REPLY #65327 /* ~Yes, join with me and let's go.~ */ GOTO 4
  IF ~~ THEN REPLY #65328 /* ~Not just yet.  Wait here awhile longer.~ */ GOTO 8
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #65329 /* ~It shall be a relief to travel with you again, <CHARNAME>.  There is much to be done and I hope that we will be equal to the task.~ */
  IF ~~ THEN DO ~JoinParty()~ EXIT
END

IF ~~ THEN BEGIN 8 // from: 6.2
  SAY #65330 /* ~As you direct.  I suppose I have little choice in the matter.~ */
  IF ~~ THEN EXIT
END
