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

BEGIN ~VALYGARJ~

IF ~~ THEN BEGIN 0 // from: URCHIN2:2.0
  SAY #14249 /* ~It would be better that you remain safely with your family and do not seek out such a life on purpose, child.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 1 // from:
  SAY #15014 /* ~Errr...  ahem!  I am, uh... sorry my Lady.  Gardening is... not my specialty.~ */
  IF ~~ THEN EXTERN ~NOBLEW1~ 3
END

IF ~~ THEN BEGIN 2 // from:
  SAY #15434 /* ~(sigh)  Sometimes, I think it almost would have been better if I'd stayed in the wilderness.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 3 // from: TOLGER2:2.0
  SAY #18424 /* ~Never!!  You shall never have me and you shall never have your precious sphere!~ */
  IF ~~ THEN EXTERN ~TOLGER2~ 3
END

IF ~~ THEN BEGIN 4 // from:
  SAY #18656 /* ~Lavok!~ [VALYGA72] */
  IF ~~ THEN EXTERN ~LAVOK~ 1
END

IF ~~ THEN BEGIN 5 // from:
  SAY #18658 /* ~You will not pass!  I shall fulfill my family's vow and end your hideous life once and for all!~ [VALYGA73] */
  IF ~~ THEN EXTERN ~LAVOK~ 2
END

IF ~~ THEN BEGIN 6 // from:
  SAY #18661 /* ~What is this, some manner of trick?~ [VALYGA74] */
  IF ~~ THEN EXTERN ~LAVOK~ 4
END

IF ~~ THEN BEGIN 7 // from:
  SAY #18665 /* ~I am your descendant, Lavok.  I am Valygar Corthala, and I will not allow you to take my body to extend your life.  Since you yet live, I shall end it now!~ */
  IF ~~ THEN EXTERN ~LAVOK~ 5
END

IF ~~ THEN BEGIN 8 // from:
  SAY #18667 /* ~Eh?  I warn you, necromancer, I shall not be fooled!~ */
  IF ~~ THEN EXTERN ~LAVOK~ 6
END

IF ~~ THEN BEGIN 9 // from:
  SAY #18670 /* ~Are you trying to tell me that you are not evil?  That you are not the sorcerer who preyed upon his own family as a ghoul would, whose legacy has haunted my family always?~ */
  IF ~~ THEN EXTERN ~LAVOK~ 7
END

IF ~~ THEN BEGIN 10 // from:
  SAY #18673 /* ~And this should redeem you for all you have done?  I say it is a fitting punishment!~ */
  IF ~~ THEN EXTERN ~LAVOK~ 9
END

IF ~~ THEN BEGIN 11 // from:
  SAY #18680 /* ~I...~ */
  IF ~~ THEN EXTERN ~LAVOK~ 10
END

IF ~~ THEN BEGIN 12 // from:
  SAY #18682 /* ~I... I don't... what would you ask of me?~ */
  IF ~~ THEN EXTERN ~LAVOK~ 13
END

IF ~~ THEN BEGIN 13 // from:
  SAY #18684 /* ~This... this is not a trick?~ */
  IF ~~ THEN EXTERN ~LAVOK~ 14
END

IF ~~ THEN BEGIN 14 // from:
  SAY #18686 /* ~You are not the man I expected, Lavok.  I... I shall do as you ask.~ */
  IF ~~ THEN EXTERN ~LAVOK~ 36
END

IF ~~ THEN BEGIN 15 // from:
  SAY #18912 /* ~As well as can be expected, Hervo.  Thank you and... um... carry on.~ */
  IF ~~ THEN EXTERN ~HERVO~ 41
END

IF ~~ THEN BEGIN 16 // from:
  SAY #25477 /* ~How do you know about me?  Tell me!~ */
  IF ~~ THEN EXTERN ~CELVAN~ 1
END

IF ~~ THEN BEGIN 17 // from:
  SAY #25656 /* ~I understand your hesitation, my lady.  I can assure you that my family will be gone shortly enough, and you can sleep restfully in your bed.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 18 // from:
  SAY #25719 /* ~Er... certainly not.  Somehow I think I'd rather pull a squid through my nostrils, thank you.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 19 // from:
  SAY #27701 /* ~You know very well, my lord, that I am no sorcerer... and nearly all of my family is well beyond the reach of your petty barbs!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 20 // from:
  SAY #29517 /* ~I am dressed as I am... and somewhat dirty... because of the time I have spent in the woodlands, sir.  I am NOT a street-sweeper.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 21 // from:
  SAY #29542 /* ~Dead.  She turned into a lich and I beheaded her.  Anything else you'd like to know, you nosy harpy?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 22 // from:
  SAY #29689 /* ~I am not here to plead my case before the Council, man.  Just go about your ineptitude and do not worry about me.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 23 // from:
  SAY #30046 /* ~Hmph.  I have been in the army, friend... and it is much more dreary than you think.  The victories, too, are few and far between... and hardly worth the price you are forced to pay.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 24 // from: UHFEM02:10.0
  SAY #32606 /* ~Nay, my lady.  I'd happily settle in your hamlet and be your ranger, but I doubt that it will be my destiny.~ */
  IF ~~ THEN EXIT
END

IF ~Global("ValygarSeesOrb","GLOBAL",1)~ THEN BEGIN 25 // from:
  SAY #37249 /* ~Yes... this is it, this is the planar sphere here in the slums.  We should... climb the stairs and find some manner of entrance.  If I am right, my blood, my presence should open the sphere...~ [VALYGA70] */
  IF ~~ THEN DO ~SetGlobal("ValygarSeesOrb","GLOBAL",2)~ EXIT
END

IF ~~ THEN BEGIN 26 // from:
  SAY #37259 /* ~We have returned to our home plane, have we?  Then I... then I shall complete Lavok's request.  Excuse me, <CHARNAME>... I will go outside with my ancestor...~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 27 // from:
  SAY #38918 /* ~I wonder if you would think that if you were on the other side of the transaction, knight.  Perhaps some perspective is all you need.~ */
  IF ~~ THEN EXTERN ~ANOMENJ~ 158
END

IF ~~ THEN BEGIN 28 // from: WAYLANE:21.0
  SAY #38949 /* ~I take it you're talking to me, hm?~ */
  IF ~~ THEN EXTERN ~WAYLANE~ 22
END

IF ~~ THEN BEGIN 29 // from: WAYLANE:22.0
  SAY #38951 /* ~I'd say that, technically, I already own the damnable sphere... and if you continue your irritating attempt to con passers-by, you'll find yourself on the end of my blade.  Got it?~ */
  IF ~~ THEN EXTERN ~WAYLANE~ 23
END

IF ~~ THEN BEGIN 30 // from:
  SAY #44900 /* ~~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 31 // from:
  SAY #44902 /* ~~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 32 // from:
  SAY #44904 /* ~~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 33 // from:
  SAY #44906 /* ~~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 34 // from:
  SAY #44908 /* ~~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 35 // from:
  SAY #45227 /* ~~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 36 // from:
  SAY #45229 /* ~~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 37 // from:
  SAY #45231 /* ~~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 38 // from:
  SAY #45235 /* ~~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 39 // from:
  SAY #45236 /* ~~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 40 // from:
  SAY #45244 /* ~~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 41 // from:
  SAY #45246 /* ~~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 42 // from: TRGYP02:13.0
  SAY #47071 /* ~My past is not so long, and I have no love to speak of.  'Tis simple words that could apply to anyone, dear woman.  Ahhh, but I shall think on them nonetheless.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 43 // from: VICONIJ:38.1
  SAY #48519 /* ~Funny.  One would figure you'd be right at home amongst the slime, Viconia.~ */
  IF ~~ THEN EXTERN ~VICONIJ~ 39
END

IF ~~ THEN BEGIN 44 // from:
  SAY #48553 /* ~Perhaps you are right, paladin... but there is always another time to face your foes.  Especially ones as strong as this creature.  We shall do your cause no good if we are dead.~ */
  IF ~!IsValidForPartyDialog("Yoshimo")
!IsValidForPartyDialog("Edwin")
!IsValidForPartyDialog("Minsc")~ THEN EXIT
  IF ~IsValidForPartyDialog("Yoshimo")~ THEN EXTERN ~YOSHJ~ 43
  IF ~!IsValidForPartyDialog("Yoshimo")
IsValidForPartyDialog("Edwin")~ THEN EXTERN ~EDWINJ~ 44
  IF ~!IsValidForPartyDialog("Yoshimo")
!IsValidForPartyDialog("Edwin")
IsValidForPartyDialog("Minsc")~ THEN EXTERN ~MINSCJ~ 98
END

IF ~~ THEN BEGIN 45 // from:
  SAY #48640 /* ~Are you serious, Nalia?  Are you being sarcastic or do you seriously not know what the hell you're talking about?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 46 // from:
  SAY #48667 /* ~The merchant is a fool for having such monsters here in the city to begin with, but I'll not allow them to shed his blood!  Come, <CHARNAME>, we must stop them!~ */
  IF ~~ THEN DO ~Attack("Bdock1")~ EXIT
END

IF ~~ THEN BEGIN 47 // from:
  SAY #48731 /* ~(sigh)  No... not all of us are dead, not yet.  Hold your celebration until after I pass on, if you please.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 48 // from:
  SAY #48740 /* ~Unlikely, brute!  Your ichor will dirty the ground before I allow you to rob anyone else!~ */
  IF ~~ THEN DO ~ActionOverride("bogre1",Enemy())
Attack("bogre1")~ EXIT
END

IF ~~ THEN BEGIN 49 // from:
  SAY #48745 /* ~Enough, wench.  Don't tire yourself... I'm not interested.~ */
  IF ~!IsValidForPartyDialog("Viconia")~ THEN EXIT
  IF ~IsValidForPartyDialog("Viconia")~ THEN EXTERN ~VICONIJ~ 47
END

IF ~~ THEN BEGIN 50 // from: VICONIJ:47.0
  SAY #48746 /* ~I'm not interested in a woman who has lain with every man in Amn and then some.  As for the prostitute, she doesn't do it for me, either.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 51 // from:
  SAY #48834 /* ~I'm surprised you remember.  That was two years ago.  Belle, isn't it?  Captain Belle?  Good to see you again.~ */
  IF ~~ THEN EXTERN ~FFCUST06~ 6
END

IF ~~ THEN BEGIN 52 // from:
  SAY #48836 /* ~An... intriguing offer, Captain.  I'll have to keep that in mind.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 53 // from:
  SAY #48843 /* ~Odd.  I was sure almost every ogre I'd ever met deserved nothing more than a sword in its gut... but this one seems not only civilized but quite intelligent.~ */
  IF ~~ THEN EXTERN ~DRUSH~ 18
END

IF ~~ THEN BEGIN 54 // from:
  SAY #48844 /* ~Ah... yes.  Ha.  I suppose you're right.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 55 // from:
  SAY #48903 /* ~You can't just stand by and watch this, <CHARNAME>!  And neither can I, I won't allow it!~ */
  IF ~~ THEN DO ~Attack("Dennis")~ EXIT
END

IF ~~ THEN BEGIN 56 // from:
  SAY #48929 /* ~Harsh justice indeed. Perhaps death was deserved, but in this manner?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 57 // from:
  SAY #49492 /* ~I am not eager to arouse the attention of the Cowled Wizards, <CHARNAME>, but neither am I displeased to dispatch one of their members.  Do as it pleases you.~ */
  IF ~!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Yoshimo")~ THEN EXIT
  IF ~IsValidForPartyDialog("Aerie")~ THEN EXTERN ~AERIEJ~ 84
  IF ~!IsValidForPartyDialog("Aerie")
IsValidForPartyDialog("Keldorn")~ THEN EXTERN ~KELDORJ~ 144
  IF ~!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Keldorn")
IsValidForPartyDialog("Yoshimo")~ THEN EXTERN ~YOSHJ~ 70
END

IF ~~ THEN BEGIN 58 // from:
  SAY #49512 /* ~Will you not reconsider allowing this filth to join us?  Everything I hold to be evil of magic is doubly true for one such as this Edwin fellow.  He will betray us, mark my words.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 59 // from:
  SAY #49785 /* ~I can't say I'm very comfortable with the idea of dealing with this... woman.  This place reeks of the undead and worse.  Do as you will, though... I will follow, for now.~ */
  IF ~!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Yoshimo")~ THEN EXTERN ~BODHI~ 130
  IF ~IsValidForPartyDialog("Aerie")~ THEN EXTERN ~AERIEJ~ 88
  IF ~!IsValidForPartyDialog("Aerie")
IsValidForPartyDialog("Anomen")~ THEN EXTERN ~ANOMENJ~ 222
  IF ~!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Anomen")
IsValidForPartyDialog("Korgan")~ THEN EXTERN ~KORGANJ~ 98
  IF ~!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Korgan")
IsValidForPartyDialog("Yoshimo")~ THEN EXTERN ~YOSHJ~ 76
END

IF ~~ THEN BEGIN 60 // from:
  SAY #49822 /* ~I doubt I'd want to see what Bodhi's idea of a questionable assignment would be, <CHARNAME>.  Of course, I doubt her 'heroic' assignment will be much more palatable.~ */
  IF ~!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Korgan")~ THEN EXTERN ~BODHI~ 131
  IF ~IsValidForPartyDialog("Aerie")~ THEN EXTERN ~AERIEJ~ 91
  IF ~!IsValidForPartyDialog("Aerie")
IsValidForPartyDialog("Viconia")~ THEN EXTERN ~VICONIJ~ 60
  IF ~!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Viconia")
IsValidForPartyDialog("Korgan")~ THEN EXTERN ~KORGANJ~ 100
END

IF ~~ THEN BEGIN 61 // from:
  SAY #49834 /* ~I will not stoop to this kind of murder, <CHARNAME>, no matter what you've done for me.  If this woman can't give us something else to do, I will be leaving.~ */
  IF ~!IsValidForPartyDialog("Aerie")~ THEN EXTERN ~BODHI~ 132
  IF ~IsValidForPartyDialog("Aerie")~ THEN EXTERN ~AERIEJ~ 92
END

IF ~~ THEN BEGIN 62 // from:
  SAY #49846 /* ~I am surprised.  I had thought you a <PRO_MANWOMAN> of better character than this.  It seems I was mistaken.  Farewell, <CHARNAME>.~ */
  IF ~~ THEN DO ~LeaveParty()
EscapeArea()~ EXIT
END

IF ~~ THEN BEGIN 63 // from: TIRDIR:12.3
  SAY #49897 /* ~I, for one, think we should do something to hunt these men down.  Such a vile act must not go unpunished, <CHARNAME>.  We saved this Tirdir and we have assumed the responsibility.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 64 // from: WELTHER:4.2
  SAY #49912 /* ~A despicable act, <CHARNAME>.  If it's money you are so interested in, the lady might have offered a reward for her freedom.~ */
  IF ~!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Viconia")~ THEN EXIT
  IF ~IsValidForPartyDialog("Jaheira")~ THEN EXTERN ~JAHEIRAJ~ 411
  IF ~!IsValidForPartyDialog("Jaheira")
IsValidForPartyDialog("Viconia")~ THEN EXTERN ~VICONIJ~ 61
END

IF ~~ THEN BEGIN 65 // from:
  SAY #50171 /* ~You speak of my mother, cur... who has been dead for twice that many years.  An undead creature of her own making, killed at my hand.  Or do you have a tax for that, too?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 66 // from:
  SAY #50436 /* ~My family has no claim to a noble title anymore, my lady.  As such, I am sure you would have no interest in someone such as I, especially with my family's reputation.~ */
  IF ~~ THEN EXTERN ~ORIONA~ 8
END

IF ~~ THEN BEGIN 67 // from:
  SAY #50441 /* ~Really?  Than it is almost a pity that I am too busy at the moment.  Perhaps... another time.~ */
  IF ~!IsValidForPartyDialog("Viconia")~ THEN EXIT
  IF ~IsValidForPartyDialog("Viconia")~ THEN EXTERN ~VICONIJ~ 84
END

IF ~~ THEN BEGIN 68 // from: VICONIJ:84.0
  SAY #50444 /* ~Shut up, Viconia, or I swear I'll -- !!~ */
  IF ~~ THEN EXTERN ~VICONIJ~ 85
END

IF ~~ THEN BEGIN 69 // from: VICONIJ:85.0
  SAY #50445 /* ~As you wish, drow bitch!!~ */
  IF ~~ THEN DO ~ChangeAIScript("",DEFAULT)
SetLeavePartyDialogFile()
SetGlobal("KickedOut","LOCALS",1)
LeaveParty()
ActionOverride("Viconia",LeaveParty()
Attack("Viconia")
ActionOverride("Viconia",Attack("Valygar"))~ EXIT
END

IF ~~ THEN BEGIN 70 // from:
  SAY #52275 /* ~Suna?  Suna Seni?  What... what are you doing here?~ [VALYGA84] */
  IF ~~ THEN EXTERN ~RESUNA~ 7
END

IF ~~ THEN BEGIN 71 // from:
  SAY #52277 /* ~What?!  You... work for the man that is hunting <CHARNAME>?  Suna, that wizard is a man of terrible evil!  Why are you doing this?~ */
  IF ~~ THEN EXTERN ~RESUNA~ 8
END

IF ~~ THEN BEGIN 72 // from:
  SAY #52279 /* ~You have no choice?  Suna, if the wizard is controlling you, somehow, we can help you.  You don't have to do this.~ */
  IF ~~ THEN EXTERN ~RESUNA~ 9
END

IF ~~ THEN BEGIN 73 // from:
  SAY #52281 /* ~Suna, no!~ */
  IF ~~ THEN EXTERN ~RESUNA~ 10
END

IF ~~ THEN BEGIN 74 // from:
  SAY #52296 /* ~Haaa... I will not tolerate any kind of deal with this beast, <CHARNAME>.  I will endeavour to rescue the child myself, if I must.~ */
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Aerie")~ THEN EXTERN ~FIRKRA02~ 36
  IF ~IsValidForPartyDialog("Keldorn")~ THEN EXTERN ~KELDORJ~ 186
  IF ~!IsValidForPartyDialog("Keldorn")
IsValidForPartyDialog("Mazzy")~ THEN EXTERN ~MAZZYJ~ 163
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
IsValidForPartyDialog("Aerie")~ THEN EXTERN ~AERIEJ~ 128
END

IF ~~ THEN BEGIN 75 // from:
  SAY #52308 /* ~So be it.  I warned you, <CHARNAME>, that I wouldn't take part in such a deed and I won't.  Now I must stop you.~ */
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")~ THEN DO ~LeaveParty()
Enemy()
Attack(Player1)~ EXTERN ~FIRKRA02~ 37
  IF ~IsValidForPartyDialog("Keldorn")~ THEN DO ~LeaveParty()
Enemy()
Attack(Player1)~ EXTERN ~KELDORJ~ 187
  IF ~!IsValidForPartyDialog("Keldorn")
IsValidForPartyDialog("Mazzy")~ THEN DO ~LeaveParty()
Enemy()
Attack(Player1)~ EXTERN ~MAZZYJ~ 164
END

IF ~~ THEN BEGIN 76 // from:
  SAY #55189 /* ~There.  It is done.  Once again magic has turned into a dangerous obsession and destroyed more than just the life of its user.  (sigh)  Must it always be like this?~ */
  IF ~~ THEN EXTERN ~PLAYER1~ 17
END

IF ~~ THEN BEGIN 77 // from:
  SAY #55211 /* ~What... wha-what is this place?!  I died, I'm sure of it, and I felt... I felt a dragging, a pulling, to this place.  It was you, wasn't it?  You brought me here in your... in your wake.~ [VALYGA83] */
  IF ~!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Yoshimo")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Cernd")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("HaerDalis")
!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Nalia")
!IsValidForPartyDialog("Edwin")~ THEN EXIT
  IF ~IsValidForPartyDialog("Korgan")~ THEN EXTERN ~KORGANJ~ 115
  IF ~!IsValidForPartyDialog("Korgan")
IsValidForPartyDialog("Jan")~ THEN EXTERN ~JANJ~ 147
  IF ~!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Jan")
IsValidForPartyDialog("Viconia")~ THEN EXTERN ~VICONIJ~ 117
  IF ~!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Viconia")
IsValidForPartyDialog("Yoshimo")~ THEN EXTERN ~YOSHJ~ 90
  IF ~!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Yoshimo")
IsValidForPartyDialog("Jaheira")~ THEN EXTERN ~JAHEIRAJ~ 450
  IF ~!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Yoshimo")
!IsValidForPartyDialog("Jaheira")
IsValidForPartyDialog("Cernd")~ THEN EXTERN ~CERNDJ~ 100
  IF ~!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Yoshimo")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Cernd")
IsValidForPartyDialog("Mazzy")~ THEN EXTERN ~MAZZYJ~ 166
  IF ~!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Yoshimo")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Cernd")
!IsValidForPartyDialog("Mazzy")
IsValidForPartyDialog("Anomen")~ THEN EXTERN ~ANOMENJ~ 258
  IF ~!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Yoshimo")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Cernd")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Anomen")
IsValidForPartyDialog("HaerDalis")~ THEN EXTERN ~HAERDAJ~ 100
  IF ~!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Yoshimo")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Cernd")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("HaerDalis")
IsValidForPartyDialog("Keldorn")~ THEN EXTERN ~KELDORJ~ 189
  IF ~!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Yoshimo")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Cernd")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("HaerDalis")
!IsValidForPartyDialog("Keldorn")
IsValidForPartyDialog("Nalia")~ THEN EXTERN ~NALIAJ~ 268
  IF ~!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Yoshimo")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Cernd")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("HaerDalis")
!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Nalia")
IsValidForPartyDialog("Edwin")~ THEN EXTERN ~EDWINJ~ 95
END

IF ~~ THEN BEGIN 78 // from:
  SAY #55682 /* ~She's going, now, is she?  Good.  The less we see of her, the better.  Ever since we involved ourselves with Bodhi I've had nothing but chills.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 79 // from:
  SAY #55683 /* ~I see some of my mage-hatred in his eyes. I hope I never descend to such focused rage.~ */
  IF ~~ THEN EXTERN ~PPIRENI1~ 25
END

IF ~~ THEN BEGIN 80 // from:
  SAY #55697 /* ~This man is killed in plain sight before us, and all you do, man, is gripe at the inconvenience?!  Tell us what you know of this man's death, innkeeper, and be quick about it!~ */
  IF ~~ THEN EXTERN ~PPINN01~ 6
END

IF ~~ THEN BEGIN 81 // from:
  SAY #55786 /* ~I am unfamiliar with the name he spouts. Certainly he was tormented long to provoke such madness.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 82 // from:
  SAY #55815 /* ~What... shark-men?  I've heard of these creatures... Sahuagin, I think they are called.  Evil monsters that raid the coasts.  But I can't understand what they're saying...~ */
  IF ~~ THEN EXTERN ~SAHPR1~ 2
END

IF ~~ THEN BEGIN 83 // from:
  SAY #55860 /* ~And should we do this for you, fish-man... what are your assurances to us?  Will you turn on us, hold us as prisoners once we are done?  Or will we be free to go?~ */
  IF ~~ THEN EXTERN ~SAHPR2~ 20
END

IF ~~ THEN BEGIN 84 // from: UDPHAE01:136.4
  SAY #55893 /* ~So perhaps this is the mage's plan, <CHARNAME>.  To stir up a war between the drow and the elves... but to what end?  And what manner of demon do they speak of, I wonder?~ */
  IF ~~ THEN EXTERN ~UDPHAE01~ 138
END

IF ~~ THEN BEGIN 85 // from: UDDEMON:7.4
  SAY #55909 /* ~You fool!  You would not only anger the dragon, but deal with a creature of the Abyss?!  I will not stand for this!!~ */
  IF ~!IsValidForPartyDialog("Mazzy")
OR(2)
!IsValidForPartyDialog("Anomen")
!Alignment("Anomen",LAWFUL_GOOD)
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")~ THEN DO ~LeaveParty()
Enemy()~ EXTERN ~UDDEMON~ 22
  IF ~IsValidForPartyDialog("Mazzy")~ THEN DO ~LeaveParty()
Enemy()~ EXTERN ~MAZZYJ~ 175
  IF ~!IsValidForPartyDialog("Mazzy")
IsValidForPartyDialog("Anomen")
Alignment("Anomen",LAWFUL_GOOD)~ THEN DO ~LeaveParty()
Enemy()~ EXTERN ~ANOMENJ~ 271
  IF ~!IsValidForPartyDialog("Mazzy")
OR(2)
!IsValidForPartyDialog("Anomen")
!Alignment("Anomen",LAWFUL_GOOD)
IsValidForPartyDialog("Jaheira")~ THEN DO ~LeaveParty()
Enemy()~ EXTERN ~JAHEIRAJ~ 470
  IF ~!IsValidForPartyDialog("Mazzy")
OR(2)
!IsValidForPartyDialog("Anomen")
!Alignment("Anomen",LAWFUL_GOOD)
!IsValidForPartyDialog("Jaheira")
IsValidForPartyDialog("Minsc")~ THEN DO ~LeaveParty()
Enemy()~ EXTERN ~MINSCJ~ 170
END

IF ~~ THEN BEGIN 86 // from: UDDUER02:12.2
  SAY #55954 /* ~Fool mages, always sticking their noses in where they don't belong.~ */
  IF ~Class(Player1,MAGE_ALL)~ THEN GOTO 87
  IF ~!Class(Player1,MAGE_ALL)
!IsValidForPartyDialogue("IMOEN2")
!IsValidForPartyDialogue("AERIE")
OR(2)
!Class("NALIA",MAGE_ALL)
!IsValidForPartyDialogue("NALIA")~ THEN EXTERN ~UDDUER02~ 13
  IF ~!Class(Player1,MAGE_ALL)
IsValidForPartyDialogue("IMOEN2")~ THEN EXTERN ~IMOEN2J~ 25
  IF ~!Class(Player1,MAGE_ALL)
!IsValidForPartyDialogue("IMOEN2")
IsValidForPartyDialogue("AERIE")~ THEN EXTERN ~AERIEJ~ 152
  IF ~!Class(Player1,MAGE_ALL)
Class("NALIA",MAGE_ALL)
IsValidForPartyDialogue("NALIA")
!IsValidForPartyDialogue("IMOEN2")
!IsValidForPartyDialogue("AERIE")~ THEN EXTERN ~NALIAJ~ 281
END

IF ~~ THEN BEGIN 87 // from: 86.0
  SAY #55955 /* ~(ahem) Present company excepted of course, <CHARNAME>.~ */
  IF ~!IsValidForPartyDialogue("HAERDALIS")~ THEN EXTERN ~UDDUER02~ 13
  IF ~IsValidForPartyDialogue("HAERDALIS")~ THEN EXTERN ~HAERDAJ~ 115
END

IF ~~ THEN BEGIN 88 // from:
  SAY #55958 /* ~Present company excepted, of course. Let's, ah, let this man finish his tale.~ */
  IF ~~ THEN EXTERN ~UDDUER02~ 13
END

IF ~~ THEN BEGIN 89 // from:
  SAY #56049 /* ~(sigh)  There's never any surprises with these people.  'Oh, it's <CHARNAME> come back to town... maybe <PRO_HESHE> can solve *all* of my problems!'  I would go insane.~ */
  IF ~~ THEN EXTERN ~ARAN~ 86
END

IF ~~ THEN BEGIN 90 // from: VICONIJ:159.4
  SAY #56110 /* ~You represent everything that is evil about magic, wizard.  You are worse than Lavok ever was.  With my last breath, I will fight against you!~ [VALYGA82] */
  IF ~!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Imoen2")~ THEN DO ~ClearAllActions()
StartCutSceneMode()
StartCutScene("cut85c")
~ EXIT
  IF ~IsValidForPartyDialog("Jaheira")~ THEN EXTERN ~JAHEIRAJ~ 482
  IF ~!IsValidForPartyDialog("Jaheira")
IsValidForPartyDialog("Minsc")~ THEN EXTERN ~MINSCJ~ 179
  IF ~!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
IsValidForPartyDialog("Imoen2")~ THEN EXTERN ~IMOEN2J~ 31
END

IF ~~ THEN BEGIN 91 // from: UDSVIR03:27.4
  SAY #56136 /* ~No, <CHARNAME>, I must oppose you on this! They asked for assistance, and you answer with murder? I will not allow it, and I hope I do not stand alone!~ */
  IF ~~ THEN REPLY #56137 /* ~Do as you must! I will fight you all!~ */ DO ~SetGlobal("SvirHostile","GLOBAL",1)
LeaveParty()
Enemy()
ActionOverride("Mazzy",LeaveParty())
ActionOverride("Mazzy",Enemy())
ActionOverride("Aerie",LeaveParty())
ActionOverride("Aerie",Enemy())
~ SOLVED_JOURNAL #57768 /* ~Svirfneblin Village Concerns.

I spoke with Goldander Blackenrock, Lord of the svirfneblin village. His pompous title revealed the shallow nature of his needs. He spoke of a means that I might enter the Drow city, by enlisting the aid of Adalon, a powerful creature that holds court at the base of the great staircase. Goldander wanted me to first perform a service for his village, defeating some creature that they had unearthed, and he offered to grant me access to Adalon as reward, giving me a glow stone or some such, so that I could pass through the darkness that protects her lair. I cut out the middleman and killed the lot of them.~ */ EXIT
  IF ~~ THEN REPLY #56138 /* ~Very well then, if that is the way you feel. I will not attack them.~ */ EXTERN ~UDSVIR03~ 26
END

IF ~~ THEN BEGIN 92 // from: UDSILVER:14.3
  SAY #56164 /* ~<CHARNAME>, I would advise you to remain as quiet as possible. I wish to hear what she has to say.~ */
  IF ~~ THEN EXTERN ~UDSILVER~ 15
END

IF ~~ THEN BEGIN 93 // from: TREVIL01:15.3
  SAY #56416 /* ~I have no idea why we are listening to this halfling.  Did they even bother to speak to the man, reason with him, before they 'knocked him on the head'?  Arrogant bastards.~ */
  IF ~~ THEN EXTERN ~TREVIL01~ 16
END

IF ~~ THEN BEGIN 94 // from: TREVIL01:34.3
  SAY #56419 /* ~There must be some other way of dealing with the town's problem than by destroying an entire grove, <CHARNAME>.  Do not do this, I warn you.~ */
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("HaerDalis")~ THEN EXIT
  IF ~IsValidForPartyDialog("Minsc")~ THEN EXTERN ~MINSCJ~ 186
  IF ~!IsValidForPartyDialog("Minsc")
IsValidForPartyDialog("Keldorn")~ THEN EXTERN ~KELDORJ~ 220
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Keldorn")
IsValidForPartyDialog("Korgan")~ THEN EXTERN ~KORGANJ~ 162
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Korgan")
IsValidForPartyDialog("HaerDalis")~ THEN EXTERN ~HAERDAJ~ 130
END

IF ~~ THEN BEGIN 95 // from:
  SAY #56445 /* ~I have heard of this halfling, <CHARNAME>... a hero of no small stature, and I do not refer to her height.  Come... we cannot leave her imprisoned here.  I will free her myself.~ */
  IF ~~ THEN DO ~SetGlobal("MazzyFreed","GLOBAL",1)~ EXTERN ~MAZZY~ 13
END

IF ~~ THEN BEGIN 96 // from:
  SAY #56538 /* ~You may be surprised to learn that we are not all lowly born.  I am of a noble family, but I am no better than the others, here, who have come to save you.  Be thankful.~ */
  IF ~~ THEN EXTERN ~DELCIA~ 48
END

IF ~~ THEN BEGIN 97 // from:
  SAY #56907 /* ~More errands? Could this not wait? <CHARNAME> seeks both a friend and an enemy.~ */
  IF ~IsValidForPartyDialogue("JAHEIRA")~ THEN EXTERN ~JAHEIRAJ~ 508
  IF ~!IsValidForPartyDialogue("JAHEIRA")~ THEN EXTERN ~ARAN~ 54
END

IF ~~ THEN BEGIN 98 // from:
  SAY #57391 /* ~I wish I could go with them and try to lead them to the surface... but I suppose there's little point.  And there's still much to do here that is more important.  (sigh)~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 99 // from:
  SAY #57687 /* ~You are not well, <CHARNAME>. We should take time to rest here.~ */
  IF ~~ THEN REPLY #57688 /* ~No, Valygar, there is no time. I will be fine. It was just... a strange feeling.~ */ GOTO 100
  IF ~~ THEN REPLY #57689 /* ~Perhaps. I just felt really... strange. Like I wasn't in control for a moment there.~ */ GOTO 101
  IF ~~ THEN REPLY #57690 /* ~I will rest when I decide it is best to do so! Leave me be!~ */ GOTO 102
END

IF ~~ THEN BEGIN 100 // from: 99.0
  SAY #57692 /* ~It looked to be strange. Really, <CHARNAME>, we should proceed slowly. The unnatural magics you have been subjected to could have unforeseen effects.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 101 // from: 99.1
  SAY #57694 /* ~The ritual is adding to the stress that this place naturally has. Once we are safe you should rest. There is no telling what they did to you.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 102 // from: 99.2
  SAY #57695 /* ~I fear your manner is a side effect of the spell cast upon you, though I still have trouble accepting your words. I will leave you to your suffering.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 103 // from:
  SAY #57713 /* ~<CHARNAME>! You... what you became... I could feel the fear to my very core!~ */
  IF ~~ THEN GOTO 104
END

IF ~~ THEN BEGIN 104 // from: 103.0
  SAY #57714 /* ~<CHARNAME>, you just manifested the Lord of Murder... we... we must get your soul back! If this happens much more you may lose all control!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 105 // from:
  SAY #58165 /* ~I question whether we serve an 'actual' nature in doing this, but I am not above choosing the lesser of two evils.~ */
  IF ~~ THEN EXTERN ~CERNDJ~ 135
END

IF ~~ THEN BEGIN 106 // from:
  SAY #58166 /* ~Perhaps not all magic is evil, <CHARNAME>.  But Irenicus is worse than anything Lavok ever was, I am sure of it.  I intend to help you stop this madman.  Whatever the cost.~ */
  IF ~True()~ THEN EXTERN ~PLAYER1~ 53
  IF ~IsValidForPartyDialog("Anomen")
Global("AnomenRomanceActive","GLOBAL",2)~ THEN EXTERN ~PLAYER1~ 52
  IF ~IsValidForPartyDialogue("Aerie")
Global("AerieRomanceActive","GLOBAL",2)~ THEN EXTERN ~PLAYER1~ 51
  IF ~IsValidForPartyDialog("Viconia")
Global("ViconiaRomanceActive","GLOBAL",2)~ THEN EXTERN ~PLAYER1~ 50
  IF ~IsValidForPartyDialog("Jaheria")
Global("JaheiraRomanceActive","GLOBAL",2)~ THEN EXTERN ~PLAYER1~ 49
  IF ~IsValidForPartyDialog("Anomen")
!Global("AnomenRomanceActive","GLOBAL",2)~ THEN EXTERN ~PLAYER1~ 48
  IF ~IsValidForPartyDialog("Aerie")
!Global("AerieRomanceActive","GLOBAL",2)~ THEN EXTERN ~PLAYER1~ 47
  IF ~IsValidForPartyDialog("Viconia")
!Global("ViconiaRomanceActive","GLOBAL",2)~ THEN EXTERN ~PLAYER1~ 46
  IF ~IsValidForPartyDialog("Jaheira")
!Global("JaheiraRomanceActive","GLOBAL",2)~ THEN EXTERN ~PLAYER1~ 45
  IF ~IsValidForPartyDialog("Cernd")~ THEN EXTERN ~PLAYER1~ 44
  IF ~IsValidForPartyDialog("Nalia")~ THEN EXTERN ~PLAYER1~ 43
  IF ~IsValidForPartyDialog("Korgan")~ THEN EXTERN ~PLAYER1~ 42
  IF ~IsValidForPartyDialog("Keldorn")~ THEN EXTERN ~PLAYER1~ 41
  IF ~IsValidForPartyDialog("HaerDalis")~ THEN EXTERN ~PLAYER1~ 40
  IF ~IsValidForPartyDialog("Edwin")~ THEN EXTERN ~PLAYER1~ 39
  IF ~IsValidForPartyDialog("Jan")~ THEN EXTERN ~PLAYER1~ 38
  IF ~IsValidForPartyDialog("Mazzy")~ THEN EXTERN ~PLAYER1~ 37
END

IF ~Dead("lavok02")
Global("LavokDead","GLOBAL",0)~ THEN BEGIN 107 // from:
  SAY #58280 /* ~He is dead.  Lavok the necromancer is finally dead.  I can scarce believe it.~ [VALYGA75] */
  IF ~~ THEN DO ~SetGlobal("LavokDead","GLOBAL",1)~ GOTO 108
END

IF ~~ THEN BEGIN 108 // from: 107.0
  SAY #58281 /* ~My family's vow has been fulfilled, and I am now safe, and yet I feel little satisfaction.  I had no idea it would be like this.~ [VALYGA76] */
  IF ~~ THEN GOTO 109
END

IF ~~ THEN BEGIN 109 // from: 108.0
  SAY #58282 /* ~Could he actually have been redeemed?  After all that time?  Did he actually fight that demon to prevent it from escaping the sphere?~ [VALYGA99] */
  IF ~~ THEN GOTO 110
END

IF ~~ THEN BEGIN 110 // from: 109.0
  SAY #58283 /* ~If you had asked me such a question even a day ago, I would have answered that such redemption was impossible.  Now I am not so sure.~ [VALYGA77] */
  IF ~~ THEN GOTO 111
END

IF ~~ THEN BEGIN 111 // from: 110.0
  SAY #58284 /* ~I think, perhaps, that I do not know all that I think I do.  I have not seen as much of the world as I thought I did.  A disturbing realization.~ [VALYGA78] */
  IF ~~ THEN GOTO 112
END

IF ~~ THEN BEGIN 112 // from: 111.0
  SAY #58285 /* ~I would continue to travel with you, if you would allow me.  If there is so much I am not aware of, I must discover it.  Will you have me?~ [VALYGA79] */
  IF ~~ THEN REPLY #58286 /* ~I would be glad to have you in my company, Valygar.~ */ DO ~EraseJournalEntry(6509)
EraseJournalEntry(6534)
EraseJournalEntry(7994)
EraseJournalEntry(7995)
EraseJournalEntry(8126)
EraseJournalEntry(8127)
EraseJournalEntry(8128)
EraseJournalEntry(8129)
EraseJournalEntry(10128)
EraseJournalEntry(16302)
EraseJournalEntry(16343)
EraseJournalEntry(16524)
EraseJournalEntry(16544)
EraseJournalEntry(16569)
EraseJournalEntry(20179)
EraseJournalEntry(20365)
EraseJournalEntry(20453)
EraseJournalEntry(23371)
EraseJournalEntry(23409)
EraseJournalEntry(3422)
EraseJournalEntry(6557)
EraseJournalEntry(7241)
EraseJournalEntry(9705)
EraseJournalEntry(9919)
EraseJournalEntry(10047)
EraseJournalEntry(23551)~ SOLVED_JOURNAL #15735 /* ~Valygar's family quest is over.

Valygar's quest is finally done.  Lavok was not what he expected, and has caused the normally judgmental ranger to think deeply about what he has experienced.  With the necromancer dead and the Cowled Wizards no longer hunting him, Valygar has asked to continue traveling with me.  I have accepted him back into the group.~ */ GOTO 113
  IF ~~ THEN REPLY #58287 /* ~As you wish, although I cannot promise it will be for long.~ */ DO ~EraseJournalEntry(6509)
EraseJournalEntry(6534)
EraseJournalEntry(7994)
EraseJournalEntry(7995)
EraseJournalEntry(8126)
EraseJournalEntry(8127)
EraseJournalEntry(8128)
EraseJournalEntry(8129)
EraseJournalEntry(10128)
EraseJournalEntry(16302)
EraseJournalEntry(16343)
EraseJournalEntry(16524)
EraseJournalEntry(16544)
EraseJournalEntry(16569)
EraseJournalEntry(20179)
EraseJournalEntry(20365)
EraseJournalEntry(20453)
EraseJournalEntry(23371)
EraseJournalEntry(23409)
EraseJournalEntry(3422)
EraseJournalEntry(6557)
EraseJournalEntry(7241)
EraseJournalEntry(9705)
EraseJournalEntry(9919)
EraseJournalEntry(10047)
EraseJournalEntry(23551)~ SOLVED_JOURNAL #15735 /* ~Valygar's family quest is over.

Valygar's quest is finally done.  Lavok was not what he expected, and has caused the normally judgmental ranger to think deeply about what he has experienced.  With the necromancer dead and the Cowled Wizards no longer hunting him, Valygar has asked to continue traveling with me.  I have accepted him back into the group.~ */ GOTO 114
  IF ~~ THEN REPLY #58288 /* ~I do not think it would be wise, Valygar.  I suggest you find your own way.~ */ DO ~EraseJournalEntry(6509)
EraseJournalEntry(6534)
EraseJournalEntry(7994)
EraseJournalEntry(7995)
EraseJournalEntry(8126)
EraseJournalEntry(8127)
EraseJournalEntry(8128)
EraseJournalEntry(8129)
EraseJournalEntry(10128)
EraseJournalEntry(16302)
EraseJournalEntry(16343)
EraseJournalEntry(16524)
EraseJournalEntry(16544)
EraseJournalEntry(16569)
EraseJournalEntry(20179)
EraseJournalEntry(20365)
EraseJournalEntry(20453)
EraseJournalEntry(23371)
EraseJournalEntry(23409)
EraseJournalEntry(3422)
EraseJournalEntry(6557)
EraseJournalEntry(7241)
EraseJournalEntry(9705)
EraseJournalEntry(9919)
EraseJournalEntry(10047)
EraseJournalEntry(23551)~ SOLVED_JOURNAL #15739 /* ~Valygar's family quest is over.

Valygar's quest is finally done.  Lavok was not what he expected, and has caused the normally judgmental ranger to think deeply about what he has experienced.  With the necromancer dead and the Cowled Wizards no longer hunting him, Valygar has asked to continue traveling with me.  I have declined, and the ranger told me that he could be found at his home in the Docks District should I have need of him in the future.~ */ GOTO 115
  IF ~~ THEN REPLY #58289 /* ~I've no desire to travel with a useless lout like yourself.  You haven't seen nearly half the world as I have, and I'll not be the one to teach it to you.~ */ DO ~EraseJournalEntry(6509)
EraseJournalEntry(6534)
EraseJournalEntry(7994)
EraseJournalEntry(7995)
EraseJournalEntry(8126)
EraseJournalEntry(8127)
EraseJournalEntry(8128)
EraseJournalEntry(8129)
EraseJournalEntry(10128)
EraseJournalEntry(16302)
EraseJournalEntry(16343)
EraseJournalEntry(16524)
EraseJournalEntry(16544)
EraseJournalEntry(16569)
EraseJournalEntry(20179)
EraseJournalEntry(20365)
EraseJournalEntry(20453)
EraseJournalEntry(23371)
EraseJournalEntry(23409)
EraseJournalEntry(3422)
EraseJournalEntry(6557)
EraseJournalEntry(7241)
EraseJournalEntry(9705)
EraseJournalEntry(9919)
EraseJournalEntry(10047)
EraseJournalEntry(23551)~ UNSOLVED_JOURNAL #23561 /* ~Valygar's family quest is over.

Valygar's quest is finally done.  Lavok was not what he expected, and has caused the normally judgmental ranger to think deeply about what he has experienced.  With the necromancer dead and the Cowled Wizards no longer hunting him, the ranger has gone on his own way.  I doubt I shall see him again.~ */ GOTO 116
END

IF ~~ THEN BEGIN 113 // from: 112.0
  SAY #58290 /* ~My thanks, <CHARNAME>.  I will not fail you.~ */
  IF ~~ THEN DO ~DestroyItem("misc7l")~ EXIT
END

IF ~~ THEN BEGIN 114 // from: 112.1
  SAY #58291 /* ~I will travel with you for as long as I can, <CHARNAME>.  Without you, I would still be hiding in the forest.  You have my thanks and my company for as long as you wish it.~ */
  IF ~~ THEN DO ~DestroyItem("misc7l")~ EXIT
END

IF ~~ THEN BEGIN 115 // from: 112.2
  SAY #58292 /* ~I shall return to my home here in the city, then.  If you change your mind, I shall be there a short while before I leave for good.  I wish you well on your journey, my friend.~ */
  IF ~~ THEN DO ~ChangeAIScript("",DEFAULT)
SetLeavePartyDialogFile()
SetGlobal("KickedOut","LOCALS",1)
LeaveParty()
EscapeAreaMove("AR1101",405,327,0)~ EXIT
END

IF ~~ THEN BEGIN 116 // from: 112.3
  SAY #58293 /* ~Hm.  A side to you I hadn't noticed.  Very well... I'll find my own way and likely be the better for it.  I wish you well, <CHARNAME>.~ */
  IF ~~ THEN DO ~ActionOverride("hervo",DestroySelf())
LeaveParty()
EscapeArea()~ EXIT
END

IF ~~ THEN BEGIN 117 // from: TOLGER:80.10
  SAY #58515 /* ~You... you've brought me to the wizards, <CHARNAME>?  Why?  You aren't going to sell me out to them, I hope!  I've done nothing to deserve such a fate!~ */
  IF ~IsValidForPartyDialog("Keldorn")~ THEN EXTERN ~KELDORJ~ 249
  IF ~!IsValidForPartyDialog("Keldorn")
IsValidForPartyDialog("Mazzy")~ THEN EXTERN ~MAZZYJ~ 200
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
IsValidForPartyDialog("Jaheira")~ THEN EXTERN ~JAHEIRAJ~ 523
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
IsValidForPartyDialog("Minsc")~ THEN EXTERN ~MINSCJ~ 210
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
IsValidForPartyDialog("Aerie")~ THEN EXTERN ~AERIEJ~ 190
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Aerie")
IsValidForPartyDialog("Anomen")
!Alignment("Anomen",CHAOTIC_NEUTRAL)~ THEN EXTERN ~ANOMENJ~ 304
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Aerie")
OR(2)
!IsValidForPartyDialog("Anomen")
Alignment("Anomen",CHAOTIC_NEUTRAL)
IsValidForPartyDialog("Nalia")~ THEN EXTERN ~NALIAJ~ 316
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Aerie")
OR(2)
!IsValidForPartyDialog("Anomen")
Alignment("Anomen",CHAOTIC_NEUTRAL)
!IsValidForPartyDialog("Nalia")
IsValidForPartyDialog("Korgan")~ THEN EXTERN ~KORGANJ~ 189
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Aerie")
OR(2)
!IsValidForPartyDialog("Anomen")
Alignment("Anomen",CHAOTIC_NEUTRAL)
!IsValidForPartyDialog("Nalia")
!IsValidForPartyDialog("Korgan")~ THEN EXTERN ~TOLGER~ 82
END

IF ~~ THEN BEGIN 118 // from: TOLGER:84.3
  SAY #58534 /* ~No!  No, someone, please!  SOMEONE HELP ME!!~ */
  IF ~~ THEN DO ~StartCutSceneMode()
StartCutScene("Cut61a")~ EXIT
END

IF ~~ THEN BEGIN 119 // from: YOSHJ:113.11 VICONIJ:182.9
  SAY #58753 /* ~Trust in others and you eventually get hurt.  It is the way I have lived my life, and the way that I will continue to do so.~ */
  IF ~!IsValidForPartyDialogue("HAERDALIS")
!IsValidForPartyDialogue("CERND")
!IsValidForPartyDialogue("MINSC")~ THEN EXTERN ~YOSHJ~ 114
  IF ~IsValidForPartyDialogue("HAERDALIS")~ THEN EXTERN ~HAERDAJ~ 150
  IF ~IsValidForPartyDialogue("CERND")
!IsValidForPartyDialogue("HAERDALIS")~ THEN EXTERN ~CERNDJ~ 137
  IF ~IsValidForPartyDialogue("MINSC")
!IsValidForPartyDialogue("CERND")
!IsValidForPartyDialogue("HAERDALIS")~ THEN EXTERN ~MINSCJ~ 211
END

IF ~~ THEN BEGIN 120 // from:
  SAY #60933 /* ~Well, Cowled Wizards who want your blood can be funny that way, all demanding and such.  Good thing you were able to tell him all about the one left, eh?~ */
  IF ~~ THEN EXTERN ~LLARSH~ 19
END

IF ~~ THEN BEGIN 121 // from: VALRAN01:5.0
  SAY #61008 /* ~No, Derrick, it is quite fine.  I thank you for your vigilance, however.  You and the other rangers have been quite helpful over the last few weeks.~ */
  IF ~~ THEN EXTERN ~VALRAN01~ 6
END
