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

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

IF WEIGHT #5 /* Triggers after states #: 4 5 8 9 17 even though they appear after this state */
~True()
~ THEN BEGIN 0 // from:
  SAY #86308 /* ~Who dares presume to trespass upon nature's territory whilst A Shadow Archdruid looks on? Who could be so hungry for death? More of Seniyad's weakling pawns no doubt! How he can be one of the three with his pacifist attitudes is beyond logic!~ */
  IF ~~ THEN REPLY #86309 /* ~I dare to go where I wish! You cannot stop me!~ */ GOTO 2
  IF ~GlobalLT("Chapter","GLOBAL",5)
~ THEN REPLY #86310 /* ~My apologies, but we are hunting those that would destroy nature. Is there a bandit installation near here?~ */ GOTO 3
  IF ~~ THEN REPLY #86311 /* ~Pardon my ignorance, but what is an Archdruid?~ */ GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.2
  SAY #86312 /* ~Ignorance is never to be pardoned! Lessons hard learnt are the ones best remembered. I shall enlighten you, and then pose my question again. I am an Archdruid of the Shadow Druids, one of the few with my level of experience, and it is our duty to purge nature of outsiders. Druidic orders that think people can exist alongside nature are doomed to fail. We shall restore nature to its former glory the only way possible: active aggression! So again I put it to you: who are you to dare trespass in nature's territory?~ */
  IF ~~ THEN REPLY #86313 /* ~Enough of your lectures! Get out of my way!~ */ GOTO 2
  IF ~GlobalLT("Chapter","GLOBAL",5)
~ THEN REPLY #86314 /* ~I seek those that have polluted this wood. They are barely worth of the title "bandit!"~ */ GOTO 3
  IF ~Global("X#AMARAN1","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AMARAN1","GLOBAL",1)~ GOTO 21
  IF ~Global("X#AMARAN1","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AMARAN1","GLOBAL",1)~ EXTERN ~_VICONJ~ 221
  IF ~Global("X#AMARAN1","GLOBAL",0)
InParty("xan")
InMyArea("xan")
!StateCheck("xan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AMARAN1","GLOBAL",1)~ EXTERN ~_XANJ~ 265
END

IF ~~ THEN BEGIN 2 // from: 23.0 22.0 21.0 1.0 0.0
  SAY #86315 /* ~You have the gall of one with no respect for the wild areas! You will learn the proper response when confronted by a Shadow Druid: fear and obedience!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 23.1 22.1 21.1 1.1 0.1
  SAY #86316 /* ~You seek to destroy that which those heathens have built? Perhaps you warrant temporary passage then, though you shall still be under my scrutiny.  You may find a human fortress to the east, inhabited by those who call themselves the Iron Throne.  It would be best if one of our own accompanied you, to be sure that your intent is true. Seek the one named Faldorn; she will join your cause. Her rage at those who would defile this land can barely be contained, and will no doubt benefit your cause. Go now; do not tarry in places you do not belong.~ */
  IF ~~ THEN DO ~SetGlobal("X#RemovedEscape","GLOBAL",1)
~ UNSOLVED_JOURNAL #86317 /* ~A hidden base in the Cloakwood

The Iron Throne base is to the east of the druid grove.~ */ EXIT
END

IF WEIGHT #4 /* Triggers after states #: 5 8 9 17 even though they appear after this state */
~InParty("jaheira")
~ THEN BEGIN 4 // from:
  SAY #86318 /* ~Seniyad's followers are well known to me; you travel with the one known as Jaheira. Her naive views of society living in harmony with nature must be cleansed from the world, so that nature might regain the respect it deserves! As a Shadow Archdruid it falls to me to be the sickle that cleaves your parasitic taint from this forest! There will be no talking, no negotiation!~ */
  IF ~  Global("X#JaheiraQuest","GLOBAL",0)
~ THEN DO ~Enemy()
~ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
GlobalGT("X#JaheiraQuest","GLOBAL",0)
Global("X#AmarantheAndarthe","GLOBAL",0)
~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",1)
~ GOTO 13
  IF ~Global("X#AMARAN4","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AMARAN4","GLOBAL",1)~ GOTO 24
  IF ~Global("X#AMARAN4","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AMARAN4","GLOBAL",1)~ EXTERN ~_KHALIJ~ 119
  IF ~Global("X#AMARAN4","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AMARAN4","GLOBAL",1)~ EXTERN ~_JAHEIJ~ 416
  IF ~Global("X#AMARAN4","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AMARAN4","GLOBAL",1)~ EXTERN ~_KHALIJ~ 121
  IF ~Global("X#AMARAN4","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AMARAN4","GLOBAL",1)~ EXTERN ~_MINSCJ~ 225
  IF ~Global("X#AMARAN4","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AMARAN4","GLOBAL",1)~ EXTERN ~_MINSCJ~ 226
  IF ~Global("X#AMARAN4","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AMARAN4","GLOBAL",1)~ EXTERN ~_MINSCJ~ 228
  IF ~Global("X#AMARAN4","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AMARAN4","GLOBAL",1)~ EXTERN ~_MINSCJ~ 231
  IF ~Global("X#AMARAN4","GLOBAL",0)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AMARAN4","GLOBAL",1)~ GOTO 32
  IF ~Global("X#AMARAN4","GLOBAL",0)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AMARAN4","GLOBAL",1)~ EXTERN ~_JAHEIJ~ 423
END

IF WEIGHT #3 /* Triggers after states #: 8 9 17 even though they appear after this state */
~InParty("faldorn")
~ THEN BEGIN 5 // from:
  SAY #86319 /* ~Who dares presume to trespass upon nature's territory whilst A Shadow Archdruid looks on? Who could be so hungry for death... wait. I recognize you as those that travel with Faldorn. She has served the Shadow Druids well, and if she deems you worthy to share her cause, then you shall have free passage. Do not delude yourselves into thinking you have gained our favor. Such alliances are as fickle as the gusting wind.~ */
  IF ~  Global("X#JaheiraQuest","GLOBAL",0)
~ THEN DO ~SetGlobal("X#RemovedEscape","GLOBAL",1)
~ EXIT
  IF ~  Global("X#JaheiraQuest","GLOBAL",0)
Global("X#FALDOAMARAN1","GLOBAL",0)
InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#FALDOAMARAN1","GLOBAL",1)~ EXTERN ~_FALDOJ~ 94
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
GlobalGT("X#JaheiraQuest","GLOBAL",0)
Global("X#AmarantheAndarthe","GLOBAL",0)
~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",1)
~ GOTO 13
END

IF ~~ THEN BEGIN 6 // from: _FALDOJ:94.2
  SAY #98775 /* ~The intention is noble, but until I see the results of your expedition, I am wary of these folk. They reek of civilizations, and their weapons are of cured metal.~ */
  IF ~~ THEN DO ~SetGlobal("X#RemovedEscape","GLOBAL",1)
~ EXIT
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN GOTO 7
END

IF ~~ THEN BEGIN 7 // from: _FALDOJ:94.1 6.1
  SAY #98776 /* ~Return to me, once you have destroyed the mines, and I might revise my opinion of you.~ */
  IF ~~ THEN DO ~SetGlobal("X#RemovedEscape","GLOBAL",1)
SetGlobal("X#ReportAmarande","GLOBAL",1)
~ EXIT
END

IF WEIGHT #2 /* Triggers after states #: 9 17 even though they appear after this state */
~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
GlobalGT("X#JaheiraQuest","GLOBAL",0)
GlobalGT("X#AmarantheAndarthe","GLOBAL",0)
Global("X#ReportAmarande","GLOBAL",1)
Global("FLOODED","GLOBAL",0)
~ THEN BEGIN 8 // from:
  SAY #98776 /* ~Return to me, once you have destroyed the mines, and I might revise my opinion of you.~ */
  IF ~~ THEN EXTERN ~_BFALDO~ 325
END

IF WEIGHT #1 /* Triggers after states #: 17 even though they appear after this state */
~  Global("X#ReportAmarande","GLOBAL",1)
OR(2)
Global("FLOODED","GLOBAL",1)
Global("FLOODED","GLOBAL",2)
InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN BEGIN 9 // from:
  SAY #98777 /* ~Report, Faldorn!~ */
  IF ~~ THEN EXTERN ~_BFALDO~ 326
END

IF ~~ THEN BEGIN 10 // from: _BFALDO:326.0
  SAY #98779 /* ~So this blight on Toril's fair face is gone? A small task, but it can serve as a good example that our efforts are not in vain.~ */
  IF ~~ THEN EXTERN ~_BFALDO~ 327
END

IF ~~ THEN BEGIN 11 // from: _BFALDO:327.0
  SAY #98781 /* ~I listen to you.~ */
  IF ~~ THEN EXTERN ~_BFALDO~ 328
END

IF ~~ THEN BEGIN 12 // from: _BFALDO:328.0
  SAY #98783 /* ~You have my permission. Let the new allegiance be forged. As a sign of Shadow Druid's favor, let me bestow this gift upon you.~ */
  IF ~~ THEN DO ~SetGlobal("X#ReportAmarande","GLOBAL",2)
GiveItemCreate("X#FASH01","faldorn",1,0,0)
~ EXIT
END

IF ~~ THEN BEGIN 13 // from: 35.1 34.1 33.1 32.1 31.1 30.1 29.1 28.1 27.1 26.1 25.1 24.1 5.2 4.1
  SAY #102890 /* ~Or perhaps you were expecting the release of a trespasser? Fools... Nature is brutal, efficient, and unforgiving. You will get no help from me.~ */
  IF ~~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",2)
Enemy()
~ EXIT
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN GOTO 20
  IF ~  OR(2)
Global("X#MarethaResBeadAlive","GLOBAL",2)
Global("X#MarethaResBeadDead","GLOBAL",2)
~ THEN GOTO 16
  IF ~  Global("X#MarethaResBeadAlive","GLOBAL",0)
Global("X#MarethaResBeadDead","GLOBAL",0)
~ THEN GOTO 15
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 107
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN GOTO 14
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 106
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
OR(2)
Global("X#MarethaResBeadAlive","GLOBAL",2)
Global("X#MarethaResBeadDead","GLOBAL",2)
~ THEN EXTERN ~_JAHEIJ~ 201
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
Global("X#MarethaResBeadAlive","GLOBAL",0)
Global("X#MarethaResBeadDead","GLOBAL",0)
~ THEN EXTERN ~_JAHEIJ~ 200
END

IF ~~ THEN BEGIN 14 // from: _FALDOJ:106.5 13.5
  SAY #102894 /* ~Foolish wolfling, clear your mind. Jaheira will not convert.~ */
  IF ~~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",2)
Enemy()
~ EXIT
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN GOTO 20
  IF ~  OR(2)
Global("X#MarethaResBeadAlive","GLOBAL",2)
Global("X#MarethaResBeadDead","GLOBAL",2)
~ THEN GOTO 16
  IF ~  Global("X#MarethaResBeadAlive","GLOBAL",0)
Global("X#MarethaResBeadDead","GLOBAL",0)
~ THEN GOTO 15
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 107
END

IF ~~ THEN BEGIN 15 // from: _FALDOJ:107.3 _FALDOJ:106.3 14.3 13.3
  SAY #102896 /* ~I am Archdruid here, and I make the decisions. Andarthe merely extends my will with force. He is away, leading the rituals on the Island to cleanse this wood of the taint. Only he can release those I have ceded to him. Seniyad will learn that his days are numbered, as are those of his feeble followers!~ */
  IF ~~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",2)
Enemy()
~ EXIT
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN GOTO 20
  IF ~  OR(2)
Global("X#MarethaResBeadAlive","GLOBAL",2)
Global("X#MarethaResBeadDead","GLOBAL",2)
~ THEN GOTO 16
END

IF ~~ THEN BEGIN 16 // from: _FALDOJ:107.2 _FALDOJ:106.2 15.2 14.2 13.2
  SAY #102897 /* ~I am Archdruid here. I make the decisions. Andarthe merely extended my will with force. He may have failed to cleanse this wood of the taint, but I can still resolve that myself. Seniyad will learn that his days are numbered, as are those of his feeble followers!~ */
  IF ~~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",2)
Enemy()
~ EXIT
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN GOTO 20
END

IF WEIGHT #0 ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
GlobalGT("X#JaheiraQuest","GLOBAL",0)
Global("X#ReportAmarande","GLOBAL",0)
Global("FLOODED","GLOBAL",0)
~ THEN BEGIN 17 // from:
  SAY #102896 /* ~I am Archdruid here, and I make the decisions. Andarthe merely extends my will with force. He is away, leading the rituals on the Island to cleanse this wood of the taint. Only he can release those I have ceded to him. Seniyad will learn that his days are numbered, as are those of his feeble followers!~ */
  IF ~~ THEN EXIT
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN GOTO 19
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 109
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN GOTO 18
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 108
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
OR(2)
Global("X#MarethaResBeadAlive","GLOBAL",2)
Global("X#MarethaResBeadDead","GLOBAL",2)
~ THEN EXTERN ~_JAHEIJ~ 202
END

IF ~~ THEN BEGIN 18 // from: _FALDOJ:108.3 17.3
  SAY #102894 /* ~Foolish wolfling, clear your mind. Jaheira will not convert.~ */
  IF ~~ THEN EXIT
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN GOTO 19
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 109
END

IF ~~ THEN BEGIN 19 // from: _FALDOJ:109.1 _FALDOJ:108.1 18.1 17.1
  SAY #102898 /* ~Little wolfling, go with them if it is your choice. It's time for you to learn an important lesson: there are those who claim to serve nature, but only serve themselves. I trust that you'll be able to see pretenders for yourself after this expedition.~ */
  IF ~~ THEN DO ~SetGlobal("X#ReportAmarande","GLOBAL",1)
SetGlobal("X#AmarantheAndarthe","GLOBAL",2)
~ EXIT
END

IF ~~ THEN BEGIN 20 // from: _FALDOJ:107.1 _FALDOJ:106.1 16.1 15.1 14.1 13.1
  SAY #102898 /* ~Little wolfling, go with them if it is your choice. It's time for you to learn an important lesson: there are those who claim to serve nature, but only serve themselves. I trust that you'll be able to see pretenders for yourself after this expedition.~ */
  IF ~~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",2)
~ EXIT
END

IF ~~ THEN BEGIN 21 // from: 1.2
  SAY #103540 /* ~What? Who dares defy my rule! Explain yourselves!~ */
  IF ~~ THEN REPLY #86313 /* ~Enough of your lectures! Get out of my way!~ */ GOTO 2
  IF ~GlobalLT("Chapter","GLOBAL",5)
~ THEN REPLY #86314 /* ~I seek those that have polluted this wood. They are barely worth of the title "bandit!"~ */ GOTO 3
END

IF ~~ THEN BEGIN 22 // from:
  SAY #103540 /* ~What? Who dares defy my rule! Explain yourselves!~ */
  IF ~~ THEN REPLY #86313 /* ~Enough of your lectures! Get out of my way!~ */ GOTO 2
  IF ~GlobalLT("Chapter","GLOBAL",5)
~ THEN REPLY #86314 /* ~I seek those that have polluted this wood. They are barely worth of the title "bandit!"~ */ GOTO 3
END

IF ~~ THEN BEGIN 23 // from:
  SAY #103540 /* ~What? Who dares defy my rule! Explain yourselves!~ */
  IF ~~ THEN REPLY #86313 /* ~Enough of your lectures! Get out of my way!~ */ GOTO 2
  IF ~GlobalLT("Chapter","GLOBAL",5)
~ THEN REPLY #86314 /* ~I seek those that have polluted this wood. They are barely worth of the title "bandit!"~ */ GOTO 3
END

IF ~~ THEN BEGIN 24 // from: 4.2
  SAY #103549 /* ~The Great Mother does not care if you understand her or not, bug. She walks Her own course. And so should I, Her servant.~ */
  IF ~  Global("X#JaheiraQuest","GLOBAL",0)
~ THEN DO ~Enemy()
~ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
GlobalGT("X#JaheiraQuest","GLOBAL",0)
Global("X#AmarantheAndarthe","GLOBAL",0)
~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",1)
~ GOTO 13
END

IF ~~ THEN BEGIN 25 // from:
  SAY #103549 /* ~The Great Mother does not care if you understand her or not, bug. She walks Her own course. And so should I, Her servant.~ */
  IF ~  Global("X#JaheiraQuest","GLOBAL",0)
~ THEN DO ~Enemy()
~ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
GlobalGT("X#JaheiraQuest","GLOBAL",0)
Global("X#AmarantheAndarthe","GLOBAL",0)
~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",1)
~ GOTO 13
END

IF ~~ THEN BEGIN 26 // from:
  SAY #103549 /* ~The Great Mother does not care if you understand her or not, bug. She walks Her own course. And so should I, Her servant.~ */
  IF ~  Global("X#JaheiraQuest","GLOBAL",0)
~ THEN DO ~Enemy()
~ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
GlobalGT("X#JaheiraQuest","GLOBAL",0)
Global("X#AmarantheAndarthe","GLOBAL",0)
~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",1)
~ GOTO 13
END

IF ~~ THEN BEGIN 27 // from:
  SAY #103549 /* ~The Great Mother does not care if you understand her or not, bug. She walks Her own course. And so should I, Her servant.~ */
  IF ~  Global("X#JaheiraQuest","GLOBAL",0)
~ THEN DO ~Enemy()
~ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
GlobalGT("X#JaheiraQuest","GLOBAL",0)
Global("X#AmarantheAndarthe","GLOBAL",0)
~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",1)
~ GOTO 13
END

IF ~~ THEN BEGIN 28 // from:
  SAY #103549 /* ~The Great Mother does not care if you understand her or not, bug. She walks Her own course. And so should I, Her servant.~ */
  IF ~  Global("X#JaheiraQuest","GLOBAL",0)
~ THEN DO ~Enemy()
~ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
GlobalGT("X#JaheiraQuest","GLOBAL",0)
Global("X#AmarantheAndarthe","GLOBAL",0)
~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",1)
~ GOTO 13
END

IF ~~ THEN BEGIN 29 // from:
  SAY #103549 /* ~The Great Mother does not care if you understand her or not, bug. She walks Her own course. And so should I, Her servant.~ */
  IF ~  Global("X#JaheiraQuest","GLOBAL",0)
~ THEN DO ~Enemy()
~ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
GlobalGT("X#JaheiraQuest","GLOBAL",0)
Global("X#AmarantheAndarthe","GLOBAL",0)
~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",1)
~ GOTO 13
END

IF ~~ THEN BEGIN 30 // from:
  SAY #103549 /* ~The Great Mother does not care if you understand her or not, bug. She walks Her own course. And so should I, Her servant.~ */
  IF ~  Global("X#JaheiraQuest","GLOBAL",0)
~ THEN DO ~Enemy()
~ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
GlobalGT("X#JaheiraQuest","GLOBAL",0)
Global("X#AmarantheAndarthe","GLOBAL",0)
~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",1)
~ GOTO 13
END

IF ~~ THEN BEGIN 31 // from:
  SAY #103549 /* ~The Great Mother does not care if you understand her or not, bug. She walks Her own course. And so should I, Her servant.~ */
  IF ~  Global("X#JaheiraQuest","GLOBAL",0)
~ THEN DO ~Enemy()
~ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
GlobalGT("X#JaheiraQuest","GLOBAL",0)
Global("X#AmarantheAndarthe","GLOBAL",0)
~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",1)
~ GOTO 13
END

IF ~~ THEN BEGIN 32 // from: 4.10
  SAY #103542 /* ~You are as good at platitudes as your mentor Seniyad.~ */
  IF ~  Global("X#JaheiraQuest","GLOBAL",0)
~ THEN DO ~Enemy()
~ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
GlobalGT("X#JaheiraQuest","GLOBAL",0)
Global("X#AmarantheAndarthe","GLOBAL",0)
~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",1)
~ GOTO 13
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 33
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 132
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 422
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 131
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 238
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 237
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 236
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 235
END

IF ~~ THEN BEGIN 33 // from: 32.2
  SAY #103549 /* ~The Great Mother does not care if you understand her or not, bug. She walks Her own course. And so should I, Her servant.~ */
  IF ~  Global("X#JaheiraQuest","GLOBAL",0)
~ THEN DO ~Enemy()
~ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
GlobalGT("X#JaheiraQuest","GLOBAL",0)
Global("X#AmarantheAndarthe","GLOBAL",0)
~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",1)
~ GOTO 13
END

IF ~~ THEN BEGIN 34 // from:
  SAY #103542 /* ~You are as good at platitudes as your mentor Seniyad.~ */
  IF ~  Global("X#JaheiraQuest","GLOBAL",0)
~ THEN DO ~Enemy()
~ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
GlobalGT("X#JaheiraQuest","GLOBAL",0)
Global("X#AmarantheAndarthe","GLOBAL",0)
~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",1)
~ GOTO 13
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 35
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 134
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 424
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 133
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 242
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 241
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 240
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 239
END

IF ~~ THEN BEGIN 35 // from: 34.2
  SAY #103549 /* ~The Great Mother does not care if you understand her or not, bug. She walks Her own course. And so should I, Her servant.~ */
  IF ~  Global("X#JaheiraQuest","GLOBAL",0)
~ THEN DO ~Enemy()
~ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
GlobalGT("X#JaheiraQuest","GLOBAL",0)
Global("X#AmarantheAndarthe","GLOBAL",0)
~ THEN DO ~SetGlobal("X#AmarantheAndarthe","GLOBAL",1)
~ GOTO 13
END
