// creator  : weidu.exe (version 23600)
// argument : DYNAHE.DLG
// game     : .
// source   : ./override/DYNAHE.DLG
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

BEGIN ~DYNAHE~
//////////////////////////////////////////////////
// WARNING: this file contains non-trivial WEIGHTs
//////////////////////////////////////////////////

IF WEIGHT #6 /* Triggers after states #: 7 16 31 32 33 34 even though they appear after this state */
~  NumberOfTimesTalkedTo(0)
InParty("Minsc")
~ THEN BEGIN 0 // from:
  SAY #642 /* ~I thank thee for saving me. 'Twas courageous to follow the likes of Minsc into battle, if a touch foolish. I have naught to offer thee in return, save my services in battle. Mayhaps I could travel with thee awhile, and an opportunity may arise for repayment of my debt. Minsc is, well, Minsc, but he hath a strong sword arm, whilst I am practiced in the arcane arts. Shall we join?~ */
  IF ~~ THEN REPLY #4373 /* ~You are welcome in my company. One cannot have too many friends.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
AddexperienceParty(800)
~ GOTO 6
  IF ~~ THEN REPLY #4374 /* ~You need more practice if these beasts captured you. I have no need of you.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 5
  IF ~~ THEN REPLY #4375 /* ~How did you come to be captured by the likes of these creatures?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 3
  IF ~~ THEN REPLY #4376 /* ~Who are you that you warrant a bodyguard?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 2
  IF ~Global("X#DYNAHE0","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#DYNAHE0","GLOBAL",1)~ EXTERN ~GARRIJ~ 157
  IF ~Global("X#DYNAHE0","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#DYNAHE0","GLOBAL",1)~ GOTO 39
  IF ~Global("X#DYNAHE0","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!HPPercentGT("khalid",90)
~ THEN DO ~SetGlobal("X#DYNAHE0","GLOBAL",1)~ EXTERN ~KHALIJ~ 109
  IF ~Global("X#DYNAHE0","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
HPPercentGT("khalid",90)
~ THEN DO ~SetGlobal("X#DYNAHE0","GLOBAL",1)~ EXTERN ~KHALIJ~ 110
  IF ~Global("X#DYNAHE0","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#DYNAHE0","GLOBAL",1)~ EXTERN ~MINSCJ~ 166
  IF ~Global("X#DYNAHE0","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#DYNAHE0","GLOBAL",1)~ GOTO 43
  IF ~Global("X#DYNAHE0","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#DYNAHE0","GLOBAL",1)~ EXTERN ~MINSCJ~ 168
END

IF WEIGHT #7 /* Triggers after states #: 7 16 31 32 33 34 even though they appear after this state */
~  NumberOfTimesTalkedTo(0)
Dead("Minsc")
~ THEN BEGIN 1 // from:
  SAY #643 /* ~Thine efforts to save me are well appreciated, but I cannot help but be saddened. My guardian Minsc has left this life behind. His valor and mighty berserker wrath will not go unremembered. However, as I have lost my escort and 'tis not safe to wander these lands alone, perhaps I could join with thee. My knowledge of the arcane arts would no doubt be useful, while the strength of a group would benefit me as well.~ */
  IF ~~ THEN REPLY #4377 /* ~You are welcome in my company. One cannot have too many friends.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
AddexperienceParty(800)
~ GOTO 6
  IF ~~ THEN REPLY #4379 /* ~You need more practice if these beasts captured you. I have no need of you.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 4
  IF ~~ THEN REPLY #4380 /* ~How did you come to be captured by the likes of these creatures?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 17
  IF ~~ THEN REPLY #4381 /* ~Who are you that you warrant a bodyguard?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 46.3 45.3 44.3 43.3 42.3 41.3 40.3 39.3 3.1 1.3 0.3
  SAY #644 /* ~I am Dynaheir of Rashemen. 'Tis not a title; 'tis just where I am from. We two are indeed far afield of our home, but 'tis a necessary rite of passage. Minsc must make his dajemma by seeking adventure, while I must prove my worth to my... sisters in much the same manner. 'Tis an interesting time for the realms, with great things foretold for the Sword Coast. 'Tis therefore a likely place to look for what we need. What dost thou seek on this adventurous road? Mayhaps we can all find what we need together?~ */
  IF ~  InParty("Minsc")
~ THEN REPLY #4383 /* ~What I seek is my concern alone. Continue your "passages" if you will, but I wish none of it. I will endeavor alone.~ */ GOTO 5
  IF ~~ THEN REPLY #4384 /* ~How did you come to be captured by the likes of these creatures?~ */ GOTO 3
  IF ~~ THEN REPLY #4387 /* ~You are welcome in my company. One cannot have too many friends.~ */ GOTO 6
END

IF ~~ THEN BEGIN 3 // from: 46.2 45.2 44.2 43.2 42.2 41.2 40.2 39.2 2.1 0.2
  SAY #645 /* ~Alas, we were ambushed in the night. Minsc was overcome by yet another blow to the head, and I was spirited away before he could recover. With but two eyes apiece there is naught more we could have done. Certainly 'twill be safer for all of us if we join together. What sayest thou?~ */
  IF ~  InParty("Minsc")
~ THEN REPLY #4390 /* ~There is trouble enough watching my own back, let alone yours. You are welcome for the rescue, but now find your own way.~ */ GOTO 5
  IF ~~ THEN REPLY #4392 /* ~Who are you that you warrant a bodyguard?~ */ GOTO 2
  IF ~~ THEN REPLY #4393 /* ~You are welcome in my company. One cannot have too many friends.~ */ GOTO 6
  IF ~~ THEN REPLY #10039 /* ~We need no one to help us, witch!~ */ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 26.3 20.0 18.0 17.0 3.3 1.1
  SAY #646 /* ~The choice thou makest doth puzzle me, but 'tis thine to make. So be it.~ */
  IF ~~ THEN DO ~EraseJournalEntry(27171)
EraseJournalEntry(27274)
EraseJournalEntry(27031)
ActionOverride("Minsc",EscapeArea())
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 5 // from: 46.1 45.1 44.1 43.1 42.1 41.1 40.1 39.1 3.0 2.0 0.1
  SAY #647 /* ~As thou dost wish, though the logic of thy decision escapeth me. Come Minsc, we depart forthwith.~ */
  IF ~~ THEN SOLVED_JOURNAL #27029 /* ~Rescuing Dynaheir
I freed Dynaheir from the gnolls and sent her on her way.~ */ EXTERN ~MINSCJ~ 6
END

IF ~~ THEN BEGIN 6 // from: 46.0 45.0 44.0 43.0 42.0 41.0 40.0 39.0 18.2 17.1 3.2 2.2 1.0 0.0
  SAY #648 /* ~I have no doubt thou shalt make an interesting traveling companion.~ */
  IF ~~ THEN DO ~EraseJournalEntry(27171)
EraseJournalEntry(27274)
EraseJournalEntry(27031)
JoinParty()
AddexperienceParty(800)
~ SOLVED_JOURNAL #27030 /* ~Rescuing Dynaheir
After freeing Dynaheir from the gnolls, I invited her to join my group. A mage is always a useful ally.~ */ EXIT
END

IF WEIGHT #5 /* Triggers after states #: 16 31 32 33 34 even though they appear after this state */
~  NumberOfTimesTalkedTo(0)
InParty("EDWIN")
~ THEN BEGIN 7 // from:
  SAY #649 /* ~Thine assistance is most appreciated. 'Twas a dastardly fate thou hast saved me from.~ */
  IF ~~ THEN DO ~SetGlobal("HelpMinsc","GLOBAL",2)
SetGlobal("FindDynaheir","GLOBAL",2)
~ EXTERN ~EDWINJ~ 6
END

IF ~~ THEN BEGIN 8 // from: EDWIN:15.0 EDWINJ:84.0 EDWINJ:6.0
  SAY #650 /* ~I see bravery was not all that motivates thee. I take it I am rescued from one death to die by another then? How can the cause be just? I urge caution; the likes of him are best kept at polearm's length.~ */
  IF ~~ THEN EXTERN ~EDWINJ~ 7
END

IF ~~ THEN BEGIN 9 // from: EDWIN:16.0 EDWINJ:7.0
  SAY #651 /* ~Put aside his paranoid goals; I make a far better friend than enemy.~ */
  IF ~~ THEN REPLY #4412 /* ~A voice of reason at last. Join my group with no fear. I never liked him anyway.~ */ GOTO 11
  IF ~~ THEN REPLY #4413 /* ~A deal is a deal is a deal! It was nothing personal, but now you must die!~ */ GOTO 10
  IF ~~ THEN REPLY #4414 /* ~I trust neither of you! Mayhaps I sleep better after I cast both of you out! Settle your own differences!~ */ EXTERN ~EDWINJ~ 8
  IF ~~ THEN REPLY #49217 /* ~Enough bickering. I can use both your talents. Leave your private battles for another time.~ */ GOTO 37
END

IF ~~ THEN BEGIN 10 // from: 9.1
  SAY #652 /* ~An unfortunate decision! Pardon me while I put up a fight!~ */
  IF ~~ THEN DO ~ActionOverride("Minsc",LeaveParty())
ActionOverride("Minsc",Enemy())
Enemy()
~ EXIT
  IF ~Global("X#DYNAHE10","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#DYNAHE10","GLOBAL",1)~ GOTO 47
  IF ~Global("X#DYNAHE10","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#DYNAHE10","GLOBAL",1)~ EXTERN ~KIVANJ~ 296
  IF ~Global("X#DYNAHE10","GLOBAL",0)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#DYNAHE10","GLOBAL",1)~ GOTO 49
  IF ~Global("X#DYNAHE10","GLOBAL",0)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#DYNAHE10","GLOBAL",1)~ EXTERN ~AJANTJ~ 235
END

IF ~~ THEN BEGIN 11 // from: 9.0
  SAY #653 /* ~I knew intelligence would prevail. Simple common sense, the foil of every Red Wizard.~ */
  IF ~~ THEN DO ~AddexperienceParty(800)
JoinParty()
~ EXTERN ~EDWINJ~ 12
END

IF ~~ THEN BEGIN 12 // from:
  SAY #654 /* ~I shall watch thee as well, though I expect to receive less pleasure from my task than thou from thine.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 13 // from:
  SAY #655 /* ~They know enough to turn thee away. Crawl back to Thay and refine thy manners.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 14 // from: EDWINJ:9.0
  SAY #656 /* ~We are nearly a season's travel from our northern homes, and yet still ye wish to dredge up the old battles? Fanatical fool!~ */
  IF ~~ THEN EXTERN ~EDWINJ~ 10
END

IF ~~ THEN BEGIN 15 // from: EDWINJ:10.0
  SAY #657 /* ~Thou knowest not even why I have traveled, only that thou must stop whate'er it is I've come to do?! Get thee a hobby; thou dost have too much time on thy hands!~ */
  IF ~~ THEN EXTERN ~EDWINJ~ 11
END

IF WEIGHT #0 ~  StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 16 // from:
  SAY #4410 /* ~I am Dynaheir, a witch of Rashemen. I and my comrade Minsc have been sent by the Wychlaran to determine whether the prophecies of Alaundo are true. We search for the spawn of Bhaal.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 17 // from: 18.1 1.2
  SAY #6877 /* ~Alas, we were ambushed in the night. Minsc was overcome by yet another blow to the head, and I was spirited away before he could recover. With but two eyes apiece there is naught more we could have done. Certainly 'twill be safer for all of us if thou dost allow me to join. What say thee?~ */
  IF ~~ THEN REPLY #6880 /* ~It is trouble enough watching my own back, let alone yours. You are welcome for the rescue, but now find your own way.~ */ GOTO 4
  IF ~~ THEN REPLY #6882 /* ~You are welcome in my company. One cannot have too many friends.~ */ GOTO 6
END

IF ~~ THEN BEGIN 18 // from:
  SAY #6879 /* ~I am Dynaheir of Rashemen. 'Tis not a title; 'tis just where I am from. We two are indeed far afield of our home, but 'tis a necessary rite of passage. Minsc must make his dajemma by seeking adventure, while I must prove my worth to my... sisters in much the same manner. 'Tis an interesting time for the realms, with great things foretold for the Sword Coast. 'Tis therefore a likely place to look for what we need. What dost thou seek on this adventurous road? Mayhaps we can all find what we need together?~ */
  IF ~~ THEN REPLY #6885 /* ~What I seek is my concern alone. Continue your "passages" if you will, but I wish none of it. I will endeavor alone.~ */ GOTO 4
  IF ~~ THEN REPLY #6886 /* ~How did you come to be captured by the likes of these creatures?~ */ GOTO 17
  IF ~~ THEN REPLY #6887 /* ~You are welcome in my company. One cannot have too many friends.~ */ GOTO 6
END

IF ~~ THEN BEGIN 19 // from: EDWINJ:8.0
  SAY #8788 /* ~Any protection would be courtesy, not necessity. My power is no less than thine!~ */
  IF ~~ THEN EXTERN ~EDWINJ~ 9
END

IF WEIGHT #8 /* Triggers after states #: 31 32 33 34 even though they appear after this state */
~  Dead("Edwin")
~ THEN BEGIN 20 // from:
  SAY #9331 /* ~The fool dies. Such a loss of wasted life. To have followed all this way, only to die not knowing the reason why. Edwin, thou art surely the greatest fool I have ever known. Such are the follies of the fanatical, though I suppose my own sisters are equally guilty of this on occasion. Enough navel-gazing. <CHARNAME>, wouldst thou consent to my joining thy group? I can but try to promise no more mystery mages will come seeking me.~ */
  IF ~~ THEN REPLY #9332 /* ~I trust you no more now than before. I'll not have you.~ */ GOTO 4
  IF ~~ THEN REPLY #9333 /* ~I wager you will be better behaved? If so, then I gladly welcome you.~ */ GOTO 36
END

IF WEIGHT #9 /* Triggers after states #: 31 32 33 34 even though they appear after this state */
~  NumberOfTimesTalkedTo(0)
!InParty("MINSC")
!InParty("EDWIN")
~ THEN BEGIN 21 // from:
  SAY #13893 /* ~ 'Tis certainly good to see a face possessed of fewer teeth than my captors. I am Dynaheir, and I welcome thine aid.~ */
  IF ~~ THEN REPLY #13894 /* ~How did you come to be trapped in such a place? You do not look as though you are helpless.~ */ DO ~AddexperienceParty(800)
SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 22
  IF ~  ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN REPLY #13895 /* ~My aid is not without its price. What have you to offer for my services?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 24
  IF ~~ THEN REPLY #13896 /* ~I came only to vanquish these creatures. Rescuing you was fortunate, but none of my concern. Scuttle back home while I collect what treasure these animals had.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 23
  IF ~  ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #13922 /* ~My aid is not without its price. What have you to offer for my services?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 23
END

IF ~~ THEN BEGIN 22 // from: 21.0
  SAY #13897 /* ~I fear I was separated from my guardian, Minsc. I know not his fate, for we were ambushed in the night. Doubtless he is alive and looking for me, though the blow to the head he suffered cannot have further helped his wits. He is a good and noble warrior, though less gifted in matters of judgment. Mayhaps I could travel with thee until I find him?~ */
  IF ~~ THEN REPLY #13919 /* ~I neither want, nor require your company. Off with you, if that is all you have to offer.~ */ GOTO 23
  IF ~~ THEN REPLY #13921 /* ~I welcome your company in my group, and I'm sure we'll meet this Minsc of yours sooner or later.~ */ DO ~EraseJournalEntry(27171)
EraseJournalEntry(27274)
EraseJournalEntry(27031)
JoinParty()
~ EXIT
END

IF ~~ THEN BEGIN 23 // from: 24.1 22.0 21.3 21.2
  SAY #13899 /* ~ 'Tis dark times indeed when such as thee would talk to me thus. If thou wouldst decline the company of an established mage, perhaps thine own head bears examining even moreso than my bodyguard's. I take my leave of thee.~ */
  IF ~~ THEN DO ~EraseJournalEntry(27171)
EraseJournalEntry(27274)
EraseJournalEntry(27031)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 24 // from: 21.1
  SAY #13917 /* ~My rescue was timely and appreciated. I suppose some manner of payment might be warranted, though I have little other than mine own skills to give. Wouldst thou accept the company of one practiced in the magical arts as reward? I could do with an escort as well, at least until I locate my bodyguard, Minsc.~ */
  IF ~~ THEN REPLY #13918 /* ~I welcome your company in my group, and I'm sure we'll meet this Minsc of yours sooner or later.~ */ DO ~EraseJournalEntry(27171)
EraseJournalEntry(27274)
EraseJournalEntry(27031)
JoinParty()
~ EXIT
  IF ~~ THEN REPLY #13920 /* ~I neither want, nor require your company. Off with you, if that is all you have to offer.~ */ GOTO 23
END

IF ~~ THEN BEGIN 25 // from:
  SAY #13938 /* ~Stand easy, Minsc. They are to be trusted, for it was their valor that rescued me.~ */
  IF ~~ THEN EXTERN ~MINSC~ 14
END

IF ~~ THEN BEGIN 26 // from:
  SAY #13940 /* ~Now Minsc, that thick head is best left where it is, regardless of how little it is used. Thou shalt continue to accompany me as previously assigned. No doubt our new friends would welcome a warrior of thy... perseverance.~ */
  IF ~~ THEN REPLY #13941 /* ~I am sorry, but I have space for Dynaheir alone.~ */ EXTERN ~MINSC~ 12
  IF ~~ THEN REPLY #13942 /* ~If I have my choice, I should prefer to take Minsc on his own.~ */ EXTERN ~MINSC~ 12
  IF ~~ THEN REPLY #13943 /* ~You are both welcome additions.~ */ EXTERN ~MINSC~ 15
  IF ~~ THEN REPLY #13944 /* ~Sorry, but I should prefer it if both of you went on your way.~ */ GOTO 4
END

IF ~~ THEN BEGIN 27 // from:
  SAY #13946 /* ~Pay him little mind. Minsc must make his dajemma by seeking adventure, while I must prove my worth to my... sisters in much the same manner. 'Tis an interesting time for the realms, with great things foretold for the Sword Coast. Hopefully we shall all find what we seek.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 28 // from:
  SAY #14369 /* ~They obviously no longer wish our companionship, Minsc. Let us be on our way.~ */
  IF ~~ THEN DO ~ActionOverride("Minsc",LeaveParty())
ActionOverride("Minsc",EscapeArea())
LeaveParty()
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 29 // from:
  SAY #14370 /* ~We'll be on our way then. Though I do not understand why thou wouldst place such little value on the abilities of Minsc and me.~ */
  IF ~~ THEN REPLY #14371 /* ~Perhaps we were a bit harsh. If it's not too late, we've changed our minds. Please stay with the party.~ */ GOTO 30
  IF ~~ THEN REPLY #14372 /* ~Sometimes people do things that make no sense.~ */ EXTERN ~MINSC~ 19
END

IF ~~ THEN BEGIN 30 // from: 29.0
  SAY #14373 /* ~Of course we'll stay.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #1 ~  False()
~ THEN BEGIN 31 // from:
  SAY #14375 /* ~If thou dost no longer desire my companionship, then so be it. I shall not force myself where I am not wanted.~ */
  IF ~~ THEN DO ~LeaveParty()
SetDialogue("Dynahp")
~ EXIT
END

IF WEIGHT #2 ~  False()
~ THEN BEGIN 32 // from:
  SAY #16110 /* ~If thou dost no longer desire my companionship, then so be it. I shall not force myself where I am not wanted. Come Minsc, we will continue on ourselves.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 ~  False()
~ THEN BEGIN 33 // from:
  SAY #16111 /* ~Thou hast proven to be quite a leader. I shall look forward to when we can again call each other comrade.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 ~  False()
~ THEN BEGIN 34 // from:
  SAY #16112 /* ~Thou hast proven to be quite a leader. I shall look forward to when we can again call each other comrade. Come along Minsc.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 35 // from:
  SAY #10132 /* ~I thank thee for the rescue. I am deeply in debt to thee. I must leave now, so that I can find my guardian Minsc.~ */
  IF ~~ THEN DO ~SetGlobal("FindDynaheir","GLOBAL",2)
AddexperienceParty(900)
EraseJournalEntry(27171)
EraseJournalEntry(27274)
EraseJournalEntry(27031)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 36 // from: 20.1
  SAY #20703 /* ~I have no doubt thou shalt make an... interesting traveling companion.~ */
  IF ~~ THEN DO ~EraseJournalEntry(27171)
EraseJournalEntry(27274)
EraseJournalEntry(27031)
ActionOverride("Minsc",DialogueInterrupt(TRUE))
ActionOverride("Minsc",JoinParty())
JoinParty()
~ SOLVED_JOURNAL #27030 /* ~Rescuing Dynaheir
After freeing Dynaheir from the gnolls, I invited her to join my group. A mage is always a useful ally.~ */ EXIT
END

IF ~~ THEN BEGIN 37 // from: 9.3
  SAY #49218 /* ~If he wishes to travel with you, perhaps I should travel with you as well.~ */
  IF ~~ THEN EXTERN ~EDWINJ~ 111
END

IF ~~ THEN BEGIN 38 // from: EDWINJ:111.0
  SAY #49220 /* ~I will accompany you, <CHARNAME>. I would not trust your life to a Red Wizard without allies.~ */
  IF ~~ THEN EXTERN ~EDWINJ~ 112
END

IF ~~ THEN BEGIN 39 // from: 0.5
  SAY #49744 /* ~I can not think of a better name for this scum, warrior.~ */
  IF ~~ THEN REPLY #4373 /* ~You are welcome in my company. One cannot have too many friends.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
AddexperienceParty(800)
~ GOTO 6
  IF ~~ THEN REPLY #4374 /* ~You need more practice if these beasts captured you. I have no need of you.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 5
  IF ~~ THEN REPLY #4375 /* ~How did you come to be captured by the likes of these creatures?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 3
  IF ~~ THEN REPLY #4376 /* ~Who are you that you warrant a bodyguard?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 2
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~GARRIJ~ 158
END

IF ~~ THEN BEGIN 40 // from:
  SAY #49744 /* ~I can not think of a better name for this scum, warrior.~ */
  IF ~~ THEN REPLY #4373 /* ~You are welcome in my company. One cannot have too many friends.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
AddexperienceParty(800)
~ GOTO 6
  IF ~~ THEN REPLY #4374 /* ~You need more practice if these beasts captured you. I have no need of you.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 5
  IF ~~ THEN REPLY #4375 /* ~How did you come to be captured by the likes of these creatures?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 3
  IF ~~ THEN REPLY #4376 /* ~Who are you that you warrant a bodyguard?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 2
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~GARRIJ~ 159
END

IF ~~ THEN BEGIN 41 // from:
  SAY #49744 /* ~I can not think of a better name for this scum, warrior.~ */
  IF ~~ THEN REPLY #4373 /* ~You are welcome in my company. One cannot have too many friends.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
AddexperienceParty(800)
~ GOTO 6
  IF ~~ THEN REPLY #4374 /* ~You need more practice if these beasts captured you. I have no need of you.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 5
  IF ~~ THEN REPLY #4375 /* ~How did you come to be captured by the likes of these creatures?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 3
  IF ~~ THEN REPLY #4376 /* ~Who are you that you warrant a bodyguard?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 2
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~GARRIJ~ 160
END

IF ~~ THEN BEGIN 42 // from:
  SAY #49744 /* ~I can not think of a better name for this scum, warrior.~ */
  IF ~~ THEN REPLY #4373 /* ~You are welcome in my company. One cannot have too many friends.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
AddexperienceParty(800)
~ GOTO 6
  IF ~~ THEN REPLY #4374 /* ~You need more practice if these beasts captured you. I have no need of you.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 5
  IF ~~ THEN REPLY #4375 /* ~How did you come to be captured by the likes of these creatures?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 3
  IF ~~ THEN REPLY #4376 /* ~Who are you that you warrant a bodyguard?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 2
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~GARRIJ~ 161
END

IF ~~ THEN BEGIN 43 // from: 0.9
  SAY #49740 /* ~Now I believe that 'tis truly thee. I would'st never have thought that I would'st be glad to see this... rodent.~ */
  IF ~~ THEN REPLY #4373 /* ~You are welcome in my company. One cannot have too many friends.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
AddexperienceParty(800)
~ GOTO 6
  IF ~~ THEN REPLY #4374 /* ~You need more practice if these beasts captured you. I have no need of you.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 5
  IF ~~ THEN REPLY #4375 /* ~How did you come to be captured by the likes of these creatures?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 3
  IF ~~ THEN REPLY #4376 /* ~Who are you that you warrant a bodyguard?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 2
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~GARRIJ~ 162
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN GOTO 44
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!HPPercentGT("khalid",90)
~ THEN EXTERN ~KHALIJ~ 115
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
HPPercentGT("khalid",90)
~ THEN EXTERN ~KHALIJ~ 114
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~MINSCJ~ 167
END

IF ~~ THEN BEGIN 44 // from: 43.5
  SAY #49744 /* ~I can not think of a better name for this scum, warrior.~ */
  IF ~~ THEN REPLY #4373 /* ~You are welcome in my company. One cannot have too many friends.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
AddexperienceParty(800)
~ GOTO 6
  IF ~~ THEN REPLY #4374 /* ~You need more practice if these beasts captured you. I have no need of you.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 5
  IF ~~ THEN REPLY #4375 /* ~How did you come to be captured by the likes of these creatures?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 3
  IF ~~ THEN REPLY #4376 /* ~Who are you that you warrant a bodyguard?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 2
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~GARRIJ~ 162
END

IF ~~ THEN BEGIN 45 // from:
  SAY #49740 /* ~Now I believe that 'tis truly thee. I would'st never have thought that I would'st be glad to see this... rodent.~ */
  IF ~~ THEN REPLY #4373 /* ~You are welcome in my company. One cannot have too many friends.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
AddexperienceParty(800)
~ GOTO 6
  IF ~~ THEN REPLY #4374 /* ~You need more practice if these beasts captured you. I have no need of you.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 5
  IF ~~ THEN REPLY #4375 /* ~How did you come to be captured by the likes of these creatures?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 3
  IF ~~ THEN REPLY #4376 /* ~Who are you that you warrant a bodyguard?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 2
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~GARRIJ~ 163
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN GOTO 46
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!HPPercentGT("khalid",90)
~ THEN EXTERN ~KHALIJ~ 117
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
HPPercentGT("khalid",90)
~ THEN EXTERN ~KHALIJ~ 116
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~MINSCJ~ 169
END

IF ~~ THEN BEGIN 46 // from: 45.5
  SAY #49744 /* ~I can not think of a better name for this scum, warrior.~ */
  IF ~~ THEN REPLY #4373 /* ~You are welcome in my company. One cannot have too many friends.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
AddexperienceParty(800)
~ GOTO 6
  IF ~~ THEN REPLY #4374 /* ~You need more practice if these beasts captured you. I have no need of you.~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 5
  IF ~~ THEN REPLY #4375 /* ~How did you come to be captured by the likes of these creatures?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 3
  IF ~~ THEN REPLY #4376 /* ~Who are you that you warrant a bodyguard?~ */ DO ~SetGlobal("HelpMinsc","GLOBAL",2)
~ GOTO 2
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~GARRIJ~ 163
END

IF ~~ THEN BEGIN 47 // from: 10.1
  SAY #49748 /* ~I thank thy noble heart and generous spirit!~ */
  IF ~~ THEN DO ~ActionOverride("Minsc",LeaveParty())
ActionOverride("Minsc",Enemy())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 48 // from:
  SAY #49748 /* ~I thank thy noble heart and generous spirit!~ */
  IF ~~ THEN DO ~ActionOverride("Minsc",LeaveParty())
ActionOverride("Minsc",Enemy())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 49 // from: 10.3
  SAY #49746 /* ~I thank thee, champion of righteousness!~ */
  IF ~~ THEN DO ~ActionOverride("Minsc",LeaveParty())
ActionOverride("Minsc",Enemy())
Enemy()
~ EXIT
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN GOTO 50
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~KIVANJ~ 297
END

IF ~~ THEN BEGIN 50 // from: 49.1
  SAY #49748 /* ~I thank thy noble heart and generous spirit!~ */
  IF ~~ THEN DO ~ActionOverride("Minsc",LeaveParty())
ActionOverride("Minsc",Enemy())
Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 51 // from: AJANTJ:235.3
  SAY #49746 /* ~I thank thee, champion of righteousness!~ */
  IF ~~ THEN DO ~ActionOverride("Minsc",LeaveParty())
ActionOverride("Minsc",Enemy())
Enemy()
~ EXIT
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN GOTO 52
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~KIVANJ~ 298
END

IF ~~ THEN BEGIN 52 // from: AJANTJ:235.1 51.1
  SAY #49748 /* ~I thank thy noble heart and generous spirit!~ */
  IF ~~ THEN DO ~ActionOverride("Minsc",LeaveParty())
ActionOverride("Minsc",Enemy())
Enemy()
~ EXIT
END
