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

BEGIN ~ARAN~

IF ~NumTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #4424 /* ~Welcome to this place.  I've looked forward to seeing you.  I am, as you know, Aran Linvail.~ [ARAN02] */
  IF ~~ THEN REPLY #4425 /* ~My thanks, Aran. What would you have of me?~ */ FLAGS 128 GOTO 1
  IF ~~ THEN REPLY #48774 /* ~I have paid out a huge amount of gold; tell me how I can find Imoen.~ */ FLAGS 128 GOTO 1
  IF ~~ THEN REPLY #49074 /* ~And I am <CHARNAME>, as you know. Now, could we please do what we must?~ */ FLAGS 128 GOTO 1
  IF ~~ THEN REPLY #59458 /* ~I don't care.  I want the directions to Irenicus that I paid for!~ */ FLAGS 128 GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.3 0.2 0.1 0.0
  SAY #4428 /* ~Right to the point, eh? That's fine with me. You are a very capable person, and I wish to propose a trade of services.~ [ARAN07] */
  IF ~~ THEN REPLY #4429 /* ~I propose that you give me what I have coming already. I have paid.~ */ GOTO 49
  IF ~~ THEN REPLY #4430 /* ~It sounds good, though I must see to Imoen. What do you propose as a deal?~ */ GOTO 51
  IF ~~ THEN REPLY #49072 /* ~Damn it! I have traded away a large amount of service! I want answers for my gold!~ */ GOTO 49
END

IF ~~ THEN BEGIN 2 // from: 54.0
  SAY #4692 /* ~Strange things are afoot on the Docks. Shipments are disappearing, as are my employees with them. We are significantly weakened by this.~ */
  IF ~~ THEN GOTO 16
END

IF ~~ THEN BEGIN 3 // from: 16.0
  SAY #4733 /* ~Go at night, and you will find my present guard captain there already; a woman by the name of Mook. Take note of anything odd that happens and report to me.~ */
  IF ~~ THEN REPLY #4734 /* ~It is perfectly clear. I shall head down to the docks at night and find Mook.~ */ GOTO 4
  IF ~~ THEN REPLY #4735 /* ~And what is the nature of the shipment?~ */ GOTO 55
  IF ~~ THEN REPLY #49086 /* ~I will do this, but afterwards you had better deliver what you have promised.~ */ GOTO 4
  IF ~~ THEN REPLY #49087 /* ~I will do nothing of the sort! I demand you tell me where Imoen is! I paid!~ */ GOTO 57
  IF ~~ THEN REPLY #59459 /* ~I seek Irenicus, and I don't want your petty errands keeping me from him!!~ */ GOTO 57
END

IF ~~ THEN BEGIN 4 // from: 59.0 3.2 3.0
  SAY #4741 /* ~Good hunting. Report to me if anything happens. Oh, and the bonus we talked of... Take these items. You will find them useful, I am sure.~ */
  IF ~!IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("KELDORN")
!IsValidForPartyDialogue("YOSHIMO")
!IsValidForPartyDialogue("NALIA")
!IsValidForPartyDialogue("CERND")
!IsValidForPartyDialogue("MAZZY")
!IsValidForPartyDialogue("AERIE")~ THEN DO ~SetGlobal("AranJob","GLOBAL",1)
SetGlobal("RefusedAran","GLOBAL",0)
GiveItemCreate("RING07",LastTalkedToBy,0,0,0)
GiveItemCreate("AMUL21",LastTalkedToBy,0,0,0)
~ UNSOLVED_JOURNAL #47783 /* ~Aran's tasks to receive the Shadow Thieves' aid.

It seems the gold I paid Gaelan got an audience with Aran Linvail, but not necessarily his immediate aid.  Aran requires me to perform a few services for him to ease the damage that the guild war has caused. Unless these tasks are done, the Shadow Thieves will be in no shape to help me.

The first mission is to bolster the guard on a warehouse belonging to the Shadow Thieves.  Aran is sure it will be attacked, so I am to go to the docks in this district at night and look for Mook. Mook will direct me further, and once we are through I am to report any occurrences to Aran.

I may find the chore tedious, but he has eased my mind with a few magical items. His word is at least good for that.~ */ EXIT
  IF ~IsValidForPartyDialogue("YOSHIMO")~ THEN DO ~SetGlobal("AranJob","GLOBAL",1)
SetGlobal("RefusedAran","GLOBAL",0)
GiveItemCreate("RING07",LastTalkedToBy,0,0,0)
GiveItemCreate("AMUL21",LastTalkedToBy,0,0,0)
~ UNSOLVED_JOURNAL #47783 /* ~Aran's tasks to receive the Shadow Thieves' aid.

It seems the gold I paid Gaelan got an audience with Aran Linvail, but not necessarily his immediate aid.  Aran requires me to perform a few services for him to ease the damage that the guild war has caused. Unless these tasks are done, the Shadow Thieves will be in no shape to help me.

The first mission is to bolster the guard on a warehouse belonging to the Shadow Thieves.  Aran is sure it will be attacked, so I am to go to the docks in this district at night and look for Mook. Mook will direct me further, and once we are through I am to report any occurrences to Aran.

I may find the chore tedious, but he has eased my mind with a few magical items. His word is at least good for that.~ */ EXTERN ~YOSHJ~ 97
  IF ~IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("YOSHIMO")~ THEN DO ~SetGlobal("AranJob","GLOBAL",1)
SetGlobal("RefusedAran","GLOBAL",0)
GiveItemCreate("RING07",LastTalkedToBy,0,0,0)
GiveItemCreate("AMUL21",LastTalkedToBy,0,0,0)
~ UNSOLVED_JOURNAL #47783 /* ~Aran's tasks to receive the Shadow Thieves' aid.

It seems the gold I paid Gaelan got an audience with Aran Linvail, but not necessarily his immediate aid.  Aran requires me to perform a few services for him to ease the damage that the guild war has caused. Unless these tasks are done, the Shadow Thieves will be in no shape to help me.

The first mission is to bolster the guard on a warehouse belonging to the Shadow Thieves.  Aran is sure it will be attacked, so I am to go to the docks in this district at night and look for Mook. Mook will direct me further, and once we are through I am to report any occurrences to Aran.

I may find the chore tedious, but he has eased my mind with a few magical items. His word is at least good for that.~ */ EXTERN ~JAHEIRAJ~ 514
  IF ~!IsValidForPartyDialogue("YOSHIMO")
IsValidForPartyDialogue("KELDORN")
!IsValidForPartyDialogue("JAHEIRA")~ THEN DO ~SetGlobal("AranJob","GLOBAL",1)
SetGlobal("RefusedAran","GLOBAL",0)
GiveItemCreate("RING07",LastTalkedToBy,0,0,0)
GiveItemCreate("AMUL21",LastTalkedToBy,0,0,0)
~ UNSOLVED_JOURNAL #47783 /* ~Aran's tasks to receive the Shadow Thieves' aid.

It seems the gold I paid Gaelan got an audience with Aran Linvail, but not necessarily his immediate aid.  Aran requires me to perform a few services for him to ease the damage that the guild war has caused. Unless these tasks are done, the Shadow Thieves will be in no shape to help me.

The first mission is to bolster the guard on a warehouse belonging to the Shadow Thieves.  Aran is sure it will be attacked, so I am to go to the docks in this district at night and look for Mook. Mook will direct me further, and once we are through I am to report any occurrences to Aran.

I may find the chore tedious, but he has eased my mind with a few magical items. His word is at least good for that.~ */ EXTERN ~KELDORJ~ 246
  IF ~IsValidForPartyDialogue("NALIA")
!IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("KELDORN")
!IsValidForPartyDialogue("YOSHIMO")~ THEN DO ~SetGlobal("AranJob","GLOBAL",1)
SetGlobal("RefusedAran","GLOBAL",0)
GiveItemCreate("RING07",LastTalkedToBy,0,0,0)
GiveItemCreate("AMUL21",LastTalkedToBy,0,0,0)
~ UNSOLVED_JOURNAL #47783 /* ~Aran's tasks to receive the Shadow Thieves' aid.

It seems the gold I paid Gaelan got an audience with Aran Linvail, but not necessarily his immediate aid.  Aran requires me to perform a few services for him to ease the damage that the guild war has caused. Unless these tasks are done, the Shadow Thieves will be in no shape to help me.

The first mission is to bolster the guard on a warehouse belonging to the Shadow Thieves.  Aran is sure it will be attacked, so I am to go to the docks in this district at night and look for Mook. Mook will direct me further, and once we are through I am to report any occurrences to Aran.

I may find the chore tedious, but he has eased my mind with a few magical items. His word is at least good for that.~ */ EXTERN ~NALIAJ~ 311
  IF ~IsValidForPartyDialogue("CERND")
!IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("KELDORN")
!IsValidForPartyDialogue("YOSHIMO")
!IsValidForPartyDialogue("NALIA")~ THEN DO ~SetGlobal("AranJob","GLOBAL",1)
SetGlobal("RefusedAran","GLOBAL",0)
GiveItemCreate("RING07",LastTalkedToBy,0,0,0)
GiveItemCreate("AMUL21",LastTalkedToBy,0,0,0)
~ UNSOLVED_JOURNAL #47783 /* ~Aran's tasks to receive the Shadow Thieves' aid.

It seems the gold I paid Gaelan got an audience with Aran Linvail, but not necessarily his immediate aid.  Aran requires me to perform a few services for him to ease the damage that the guild war has caused. Unless these tasks are done, the Shadow Thieves will be in no shape to help me.

The first mission is to bolster the guard on a warehouse belonging to the Shadow Thieves.  Aran is sure it will be attacked, so I am to go to the docks in this district at night and look for Mook. Mook will direct me further, and once we are through I am to report any occurrences to Aran.

I may find the chore tedious, but he has eased my mind with a few magical items. His word is at least good for that.~ */ EXTERN ~CERNDJ~ 134
  IF ~IsValidForPartyDialogue("MAZZY")
!IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("KELDORN")
!IsValidForPartyDialogue("YOSHIMO")
!IsValidForPartyDialogue("NALIA")
!IsValidForPartyDialogue("CERND")~ THEN DO ~SetGlobal("AranJob","GLOBAL",1)
SetGlobal("RefusedAran","GLOBAL",0)
GiveItemCreate("RING07",LastTalkedToBy,0,0,0)
GiveItemCreate("AMUL21",LastTalkedToBy,0,0,0)
~ UNSOLVED_JOURNAL #47783 /* ~Aran's tasks to receive the Shadow Thieves' aid.

It seems the gold I paid Gaelan got an audience with Aran Linvail, but not necessarily his immediate aid.  Aran requires me to perform a few services for him to ease the damage that the guild war has caused. Unless these tasks are done, the Shadow Thieves will be in no shape to help me.

The first mission is to bolster the guard on a warehouse belonging to the Shadow Thieves.  Aran is sure it will be attacked, so I am to go to the docks in this district at night and look for Mook. Mook will direct me further, and once we are through I am to report any occurrences to Aran.

I may find the chore tedious, but he has eased my mind with a few magical items. His word is at least good for that.~ */ EXTERN ~MAZZYJ~ 197
  IF ~IsValidForPartyDialogue("AERIE")
!IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("KELDORN")
!IsValidForPartyDialogue("YOSHIMO")
!IsValidForPartyDialogue("NALIA")
!IsValidForPartyDialogue("CERND")
!IsValidForPartyDialogue("MAZZY")~ THEN DO ~SetGlobal("AranJob","GLOBAL",1)
SetGlobal("RefusedAran","GLOBAL",0)
GiveItemCreate("RING07",LastTalkedToBy,0,0,0)
GiveItemCreate("AMUL21",LastTalkedToBy,0,0,0)
~ UNSOLVED_JOURNAL #47783 /* ~Aran's tasks to receive the Shadow Thieves' aid.

It seems the gold I paid Gaelan got an audience with Aran Linvail, but not necessarily his immediate aid.  Aran requires me to perform a few services for him to ease the damage that the guild war has caused. Unless these tasks are done, the Shadow Thieves will be in no shape to help me.

The first mission is to bolster the guard on a warehouse belonging to the Shadow Thieves.  Aran is sure it will be attacked, so I am to go to the docks in this district at night and look for Mook. Mook will direct me further, and once we are through I am to report any occurrences to Aran.

I may find the chore tedious, but he has eased my mind with a few magical items. His word is at least good for that.~ */ EXTERN ~AERIEJ~ 183
END

IF ~Global("AranJob","GLOBAL",1)
Global("RefusedAran","GLOBAL",0)
~ THEN BEGIN 5 // from:
  SAY #5012 /* ~What have you to report?~ [ARAN10] */
  IF ~Dead("mook")~ THEN REPLY #5741 /* ~It went as you expected though I regret to report that Mook was murdered.~ */ DO ~AddXPObject(Player1,28500)
AddXPObject(Player2,28500)
AddXPObject(Player3,28500)
AddXPObject(Player4,28500)
AddXPObject(Player5,28500)
AddXPObject(Player6,28500)
~ GOTO 6
  IF ~Dead("mook")~ THEN REPLY #5744 /* ~They attacked, and it was much more dangerous than you said! Mook is dead!~ */ DO ~AddXPObject(Player1,28500)
AddXPObject(Player2,28500)
AddXPObject(Player3,28500)
AddXPObject(Player4,28500)
AddXPObject(Player5,28500)
AddXPObject(Player6,28500)
~ GOTO 7
  IF ~Dead("mook")~ THEN REPLY #49109 /* ~Mook is dead but the shipment is safe. Now I want what I paid for.~ */ DO ~AddXPObject(Player1,28500)
AddXPObject(Player2,28500)
AddXPObject(Player3,28500)
AddXPObject(Player4,28500)
AddXPObject(Player5,28500)
AddXPObject(Player6,28500)
~ GOTO 61
  IF ~!Dead("mook")~ THEN REPLY #58582 /* ~Nothing yet.~ */ GOTO 111
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #5745 /* ~That is... unfortunate.  She was a friend.  I had hoped your support would prevent any deaths.  Too many of my people have been killed or gone missing recently.~ */
  IF ~~ THEN REPLY #5746 /* ~They seemed to know her, though she did not know them.~ */ GOTO 8
  IF ~~ THEN REPLY #5747 /* ~What do I care? She was your problem, not mine.~ */ GOTO 9
  IF ~~ THEN REPLY #49111 /* ~I appreciate your concern, but could we get back to business now?~ */ GOTO 61
END

IF ~~ THEN BEGIN 7 // from: 5.1
  SAY #5748 /* ~Yet here you stand, still alive. The rewards will outweigh the risks. At least, I hope so. Mook and her memory will serve as a reminder of the danger.~ */
  IF ~~ THEN REPLY #5749 /* ~Then let us get on with whatever else you need.~ */ GOTO 8
  IF ~~ THEN REPLY #49116 /* ~Enough of this. I want what I paid for, if you please.~ */ GOTO 61
END

IF ~~ THEN BEGIN 8 // from: 62.0 9.0 7.0 6.0
  SAY #5751 /* ~These events prove what I feared: this rival guild knows our actions well, likely due to the traitors that joined them. We must stop any more from leaving us.~ */
  IF ~~ THEN GOTO 17
END

IF ~~ THEN BEGIN 9 // from: 6.1
  SAY #5754 /* ~You may not care about my people, <CHARNAME>, but I do. They deserve protection, and in fact, if they do not get it, you will not see your Imoen.~ */
  IF ~~ THEN REPLY #5755 /* ~Yes, I will hear you. What must happen next?~ */ GOTO 8
  IF ~~ THEN REPLY #49135 /* ~Are you stooping to threats? I have more than paid for your help.~ */ GOTO 61
END

IF ~~ THEN BEGIN 10 // from: 22.0
  SAY #5758 /* ~You were not the only ones who were busy last night. The leader of this rival guild, Bodhi by name, made a daring attack upon us.~ */
  IF ~~ THEN GOTO 24
END

IF ~~ THEN BEGIN 11 // from:
  SAY #5759 /* ~Be on your guard. This Bodhi is the most intelligent and brutal foe I have ever had. If we are lax in our vigilance we will be at the disadvantage.~ */
  IF ~~ THEN GOTO 12
END

IF ~~ THEN BEGIN 12 // from: 24.0 11.0
  SAY #5760 /* ~Go to the Graveyard District and find their hideout. There is a network of tombs beneath the graves where another spy tracked one of Bodhi's servants.~ */
  IF ~~ THEN GOTO 25
END

IF ~~ THEN BEGIN 13 // from: 26.0
  SAY #5761 /* ~When you have destroyed their evil, return to me and I will fulfill our bargain.  Do this job well and you may see Imoen by the morning.  What say you?~ */
  IF ~~ THEN REPLY #5762 /* ~I'll go to the Graveyard District at once. These vile creatures will not escape.~ */ GOTO 14
  IF ~~ THEN REPLY #5763 /* ~This is too dangerous. There could be any number of vampires there!~ */ GOTO 65
  IF ~~ THEN REPLY #5764 /* ~I say that you are stalling. You ask more and more but deliver very little.~ */ GOTO 63
  IF ~~ THEN REPLY #49161 /* ~I'm on my way, but you had better come through with your part of the bargain.~ */ GOTO 14
END

IF ~~ THEN BEGIN 14 // from: 64.0 13.3 13.0
  SAY #5765 /* ~You have my best wishes, <CHARNAME>. I wish you well.~ */
  IF ~~ THEN DO ~SetGlobal("AranJob","GLOBAL",3)
SetGlobal("RefusedAran","GLOBAL",0)
~ UNSOLVED_JOURNAL #47837 /* ~Aran's tasks to receive the Shadow Thieves' aid.

While my information was of use to Aran, it appears he had a few other sources as well. The rival guild's leader, named Bodhi, is most certainly a vampire... and my investigation has confirmed that she and her undead minions can be found in the network of tombs beneath the Graveyard District.

I am to go to these tombs and destroy Bodhi and her guild.  I am to receive assistance from a mage and his golem who will open an unmovable set of blue doors that are just north of a nest of spiders in the underground tomb.  The final assault on these vampires will occur there, and Aran has given me four wooden stakes with which to put these vampires to their final rest.~ */ EXIT
END

IF ~Global("AranJob","GLOBAL",3)
GlobalLT("LassalVampires","GLOBAL",3)
~ THEN BEGIN 15 // from:
  SAY #5769 /* ~It is in your best interest not to waste time. Go to the Graveyard District and destroy the evil within. Then we will literally have clear sailing.~ [ARAN11] */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 16 // from: 2.0
  SAY #34500 /* ~I think it unlikely you would be captured or wooed to the enemy.  If you go to the docks and bolster the guard on the shipments it will strengthen our position.~ */
  IF ~~ THEN GOTO 3
END

IF ~~ THEN BEGIN 17 // from: 8.0
  SAY #34539 /* ~Two of our men, Jaylos and Caehan by name, are planning to leave our little community and join with our enemies. Greener grass and all of that, I suppose.~ */
  IF ~~ THEN GOTO 18
END

IF ~~ THEN BEGIN 18 // from: 17.0
  SAY #34540 /* ~They are to meet their contact on the second floor of the Five Flagons Tavern in the Bridge District.  Go there and pose as one of our enemy's new recruits.~ */
  IF ~~ THEN GOTO 19
END

IF ~~ THEN BEGIN 19 // from: 18.0
  SAY #34541 /* ~I want to know where our enemy's lair is.  We have yet to find it.  This recruiter could arrive at any time so I suggest that you go to the Five Flagons now.~ */
  IF ~~ THEN GOTO 20
END

IF ~~ THEN BEGIN 20 // from: 19.0
  SAY #34545 /* ~They may prove unreasonable, so prepare yourself for hostility. Return when you have the information we need.~ */
  IF ~!IsValidForPartyDialogue("YOSHIMO")
!IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("KORGAN")
!IsValidForPartyDialogue("EDWIN")~ THEN DO ~SetGlobal("AranJob","GLOBAL",2)
SetGlobal("RefusedAran","GLOBAL",0)
~ UNSOLVED_JOURNAL #47806 /* ~Aran's tasks to receive the Shadow Thieves' aid.

I informed Aran Linvail of the events on the docks, and he is even more concerned than before.  His next task for me is to go to the top floor of the Five Flagons Inn in the Bridge District... there I will find two Shadow Thieves named Jaylos and Caehan who plan to defect to the rival guild.

Perhaps I can pretend to be another recruit, just as they are. If all goes as planned I might even fool their contact as well. Hopefully I will get the location of the rival guild's headquarters and then Aran can stop them from disrupting his people. Then we can get to the business of finding Imoen. He seems sincere in this.~ */ EXIT
  IF ~IsValidForPartyDialogue("YOSHIMO")~ THEN DO ~SetGlobal("AranJob","GLOBAL",2)
SetGlobal("RefusedAran","GLOBAL",0)~ UNSOLVED_JOURNAL #47806 /* ~Aran's tasks to receive the Shadow Thieves' aid.

I informed Aran Linvail of the events on the docks, and he is even more concerned than before.  His next task for me is to go to the top floor of the Five Flagons Inn in the Bridge District... there I will find two Shadow Thieves named Jaylos and Caehan who plan to defect to the rival guild.

Perhaps I can pretend to be another recruit, just as they are. If all goes as planned I might even fool their contact as well. Hopefully I will get the location of the rival guild's headquarters and then Aran can stop them from disrupting his people. Then we can get to the business of finding Imoen. He seems sincere in this.~ */ EXTERN ~YOSHJ~ 100
  IF ~IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("YOSHIMO")~ THEN DO ~SetGlobal("AranJob","GLOBAL",2)
SetGlobal("RefusedAran","GLOBAL",0)~ UNSOLVED_JOURNAL #47806 /* ~Aran's tasks to receive the Shadow Thieves' aid.

I informed Aran Linvail of the events on the docks, and he is even more concerned than before.  His next task for me is to go to the top floor of the Five Flagons Inn in the Bridge District... there I will find two Shadow Thieves named Jaylos and Caehan who plan to defect to the rival guild.

Perhaps I can pretend to be another recruit, just as they are. If all goes as planned I might even fool their contact as well. Hopefully I will get the location of the rival guild's headquarters and then Aran can stop them from disrupting his people. Then we can get to the business of finding Imoen. He seems sincere in this.~ */ EXTERN ~JAHEIRAJ~ 517
  IF ~IsValidForPartyDialogue("KORGAN")
!IsValidForPartyDialogue("YOSHIMO")
!IsValidForPartyDialogue("JAHEIRA")~ THEN DO ~SetGlobal("AranJob","GLOBAL",2)
SetGlobal("RefusedAran","GLOBAL",0)~ UNSOLVED_JOURNAL #47806 /* ~Aran's tasks to receive the Shadow Thieves' aid.

I informed Aran Linvail of the events on the docks, and he is even more concerned than before.  His next task for me is to go to the top floor of the Five Flagons Inn in the Bridge District... there I will find two Shadow Thieves named Jaylos and Caehan who plan to defect to the rival guild.

Perhaps I can pretend to be another recruit, just as they are. If all goes as planned I might even fool their contact as well. Hopefully I will get the location of the rival guild's headquarters and then Aran can stop them from disrupting his people. Then we can get to the business of finding Imoen. He seems sincere in this.~ */ EXTERN ~KORGANJ~ 184
  IF ~IsValidForPartyDialogue("EDWIN")
!IsValidForPartyDialogue("YOSHIMO")
!IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("KORGAN")~ THEN DO ~SetGlobal("AranJob","GLOBAL",2)
SetGlobal("RefusedAran","GLOBAL",0)~ UNSOLVED_JOURNAL #47806 /* ~Aran's tasks to receive the Shadow Thieves' aid.

I informed Aran Linvail of the events on the docks, and he is even more concerned than before.  His next task for me is to go to the top floor of the Five Flagons Inn in the Bridge District... there I will find two Shadow Thieves named Jaylos and Caehan who plan to defect to the rival guild.

Perhaps I can pretend to be another recruit, just as they are. If all goes as planned I might even fool their contact as well. Hopefully I will get the location of the rival guild's headquarters and then Aran can stop them from disrupting his people. Then we can get to the business of finding Imoen. He seems sincere in this.~ */ EXTERN ~EDWINJ~ 158
END

IF ~Global("AranJob","GLOBAL",2)
Global("RefusedAran","GLOBAL",0)
~ THEN BEGIN 21 // from:
  SAY #34548 /* ~What have you to report of Jaylos and Caehan?~ [ARAN12] */
  IF ~Dead("Jaylos")
Dead("Caehan")
Global("gracentold","GLOBAL",1)
~ THEN REPLY #34549 /* ~The contact and your defectors are dead. They spoke of the Graveyard District.~ */ DO ~AddXPObject(Player1,28500)
AddXPObject(Player2,28500)
AddXPObject(Player3,28500)
AddXPObject(Player4,28500)
AddXPObject(Player5,28500)
AddXPObject(Player6,28500)
~ GOTO 22
  IF ~Dead("Jaylos")
Dead("Caehan")
Global("gracentold","GLOBAL",0)~ THEN REPLY #47833 /* ~The contact and your thieves are dead. A letter spoke of the Graveyard District.~ */ DO ~AddXPObject(Player1,28500)
AddXPObject(Player2,28500)
AddXPObject(Player3,28500)
AddXPObject(Player4,28500)
AddXPObject(Player5,28500)
AddXPObject(Player6,28500)
~ GOTO 22
  IF ~OR(2)
!Dead("Jaylos")
!Dead("Caehan")~ THEN REPLY #34554 /* ~I have nothing to report yet.~ */ GOTO 23
END

IF ~~ THEN BEGIN 22 // from: 21.1 21.0
  SAY #34555 /* ~The Graveyard District? Undoubtedly they have made their lair within the crypts below. From what we have seen of their dark nature, I am not surprised.~ */
  IF ~~ THEN GOTO 10
END

IF ~~ THEN BEGIN 23 // from: 21.2
  SAY #34556 /* ~Well hurry and get to the Five Flagons! We may have already missed the moment.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 24 // from: 10.0
  SAY #38601 /* ~She can only be a vampire and I suspect many of her servants are as well. The time has come to strike back to protect our people, and the city she has invaded.~ */
  IF ~~ THEN GOTO 12
END

IF ~~ THEN BEGIN 25 // from: 12.0
  SAY #38604 /* ~There you shall find a set of blue doors just north of a spider den.  The doors are too heavy for any mortal to open, but the vampires likely pass with ease.~ */
  IF ~~ THEN REPLY #49155 /* ~I assume you have some plan other than me banging my head against it?~ */ GOTO 26
  IF ~~ THEN REPLY #49156 /* ~We will need assistance opening it then.~ */ GOTO 26
  IF ~~ THEN REPLY #49157 /* ~And what am I supposed to do?~ */ GOTO 26
END

IF ~~ THEN BEGIN 26 // from: 25.2 25.1 25.0
  SAY #38605 /* ~I shall send a mage to meet you there and arrange for the doors to be opened. Here, you shall need these stakes if you are to truly finish these creatures.~ */
  IF ~~ THEN DO ~GiveItem("misc6w",LastTalkedToBy)
GiveItem("misc6w",LastTalkedToBy)
GiveItem("misc6w",LastTalkedToBy)
GiveItem("misc6w",LastTalkedToBy)~ GOTO 13
END

IF ~Global("AranJob","GLOBAL",3)
Global("LassalVampires","GLOBAL",3)
Global("spokeTrip","LOCALS",0)
~ THEN BEGIN 27 // from:
  SAY #42911 /* ~So you have returned. My advance spies said that you confronted Bodhi in her lair. It must have been a bloody affair.~ [ARAN13] */
  IF ~~ THEN REPLY #42995 /* ~It was. I destroyed many of her followers, but she herself eluded me.~ */ DO ~AddXPObject(Player1,50000)
AddXPObject(Player2,50000)
AddXPObject(Player3,50000)
AddXPObject(Player4,50000)
AddXPObject(Player5,50000)
AddXPObject(Player6,50000)
SetGlobal("spokeTrip","LOCALS",1)~ GOTO 28
  IF ~~ THEN REPLY #42996 /* ~It was, though I am more interested in what she had to say.~ */ DO ~AddXPObject(Player1,50000)
AddXPObject(Player2,50000)
AddXPObject(Player3,50000)
AddXPObject(Player4,50000)
AddXPObject(Player5,50000)
AddXPObject(Player6,50000)
SetGlobal("spokeTrip","LOCALS",1)~ GOTO 29
  IF ~~ THEN REPLY #42997 /* ~You still keep secrets! Bodhi said it was you that attacked Irenicus in the first place!~ */ DO ~AddXPObject(Player1,50000)
AddXPObject(Player2,50000)
AddXPObject(Player3,50000)
AddXPObject(Player4,50000)
AddXPObject(Player5,50000)
AddXPObject(Player6,50000)
SetGlobal("spokeTrip","LOCALS",1)~ GOTO 31
END

IF ~~ THEN BEGIN 28 // from: 27.0
  SAY #43012 /* ~That is of no consequence. That her guild was destroyed is what truly matters. We should see a decline in the disappearance of our members now.~ [ARAN14] */
  IF ~~ THEN GOTO 30
END

IF ~~ THEN BEGIN 29 // from: 27.1
  SAY #43013 /* ~I see. And what was it that she said? I trust you are aware of the deceptive nature of her kind?~ [ARAN15] */
  IF ~~ THEN REPLY #43014 /* ~No more so than you! Why did you attack Irenicus? His capture deprived me of my revenge!~ */ GOTO 31
  IF ~~ THEN REPLY #43015 /* ~That is why I am asking gently. Why did you attack Irenicus? It was that fight that took Imoen from me.~ */ GOTO 32
  IF ~~ THEN REPLY #59460 /* ~I know that the power Irenicus promised was denied me because your thieves attacked!~ */ GOTO 31
END

IF ~~ THEN BEGIN 30 // from: 28.0
  SAY #43021 /* ~You have done well, and for that I am grateful. We had a deal, and I am certain you are eager to see it fulfilled.~ [ARAN18] */
  IF ~~ THEN GOTO 33
END

IF ~~ THEN BEGIN 31 // from: 29.2 29.0 27.2
  SAY #43022 /* ~Such a tone will not help anyone in this matter. You have proven reliable and I am quite willing to explain what happened.~ [ARAN16] */
  IF ~~ THEN GOTO 34
END

IF ~~ THEN BEGIN 32 // from: 29.1
  SAY #43026 /* ~You have proven worthy of an explanation. Certainly you have fulfilled all that we have asked, and I shall answer as best I can.~ [ARAN17] */
  IF ~~ THEN GOTO 34
END

IF ~~ THEN BEGIN 33 // from: 30.0
  SAY #43030 /* ~First must come an admission of sorts, and I certainly hope you can see beyond it. We should not dwell on the old when the new is so threatening.~ */
  IF ~~ THEN GOTO 34
END

IF ~~ THEN BEGIN 34 // from: 33.0 32.0 31.0
  SAY #43031 /* ~It was the Shadow Thieves that attacked Irenicus in Waukeen's Promenade. We have followed you ever since then.~ */
  IF ~~ THEN REPLY #43034 /* ~You were in league with him? No, he was fighting hooded figures.~ */ GOTO 35
  IF ~~ THEN REPLY #43035 /* ~Bastards. That attack ruined everything. I was free to find him!~ */ GOTO 35
END

IF ~~ THEN BEGIN 35 // from: 34.1 34.0
  SAY #43032 /* ~I am sorry I have not been fully honest, but we had to be sure you were not working for him. I assure you that we are still on the same side.~ */
  IF ~~ THEN GOTO 66
END

IF ~~ THEN BEGIN 36 // from:
  SAY #43054 /* ~Bodhi is in league with Irenicus, and indeed, may even be a relation. It was at his order that she sought to fool our members into accepting her guild.~ */
  IF ~~ THEN GOTO 37
END

IF ~~ THEN BEGIN 37 // from: 36.0
  SAY #43055 /* ~He must be found, and that is best facilitated by helping you find Imoen. They were taken to the same place, you see.~ */
  IF ~~ THEN GOTO 38
END

IF ~~ THEN BEGIN 38 // from: 74.0 37.0
  SAY #43056 /* ~The Cowled Wizards took them to the one place mages in Athkatla truly fear, a place where their power is stripped and examined, their minds laid open for study.~ */
  IF ~~ THEN GOTO 39
END

IF ~~ THEN BEGIN 39 // from: 38.0
  SAY #43057 /* ~I have heard it called a 'Residence for the Magically Deviant,' but mages just call it Spellhold. It is an asylum, where people are sent to disappear.~ [ARAN19] */
  IF ~~ THEN REPLY #43058 /* ~Then it is a simple matter of retrieving Imoen from this place.~ */ GOTO 40
  IF ~~ THEN REPLY #43059 /* ~What sort of place is this that no one knows of it?~ */ GOTO 40
  IF ~~ THEN REPLY #43060 /* ~I shall storm its walls and break down its gates.~ */ GOTO 40
  IF ~~ THEN REPLY #59462 /* ~I shall take what I need from Irenicus while he is incapacitated there!~ */ GOTO 40
END

IF ~~ THEN BEGIN 40 // from: 39.3 39.2 39.1 39.0
  SAY #43061 /* ~You must realize that it is not as simple as launching an assault. Spellhold is a fortress asylum, designed to hold mages and other... talented people.~ */
  IF ~!IsValidForPartyDialogue("YOSHIMO")
!IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("MINSC")
!IsValidForPartyDialogue("EDWIN")
!IsValidForPartyDialogue("KORGAN")~ THEN GOTO 41
  IF ~IsValidForPartyDialogue("YOSHIMO")~ THEN EXTERN ~YOSHJ~ 103
  IF ~IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("YOSHIMO")~ THEN EXTERN ~JAHEIRAJ~ 518
  IF ~IsValidForPartyDialogue("MINSC")
!IsValidForPartyDialogue("YOSHIMO")
!IsValidForPartyDialogue("JAHEIRA")~ THEN EXTERN ~MINSCJ~ 208
  IF ~IsValidForPartyDialogue("EDWIN")
!IsValidForPartyDialogue("YOSHIMO")
!IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("MINSC")~ THEN EXTERN ~EDWINJ~ 159
  IF ~IsValidForPartyDialogue("KORGAN")
!IsValidForPartyDialogue("YOSHIMO")
!IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("MINSC")
!IsValidForPartyDialogue("EDWIN")~ THEN EXTERN ~KORGANJ~ 186
END

IF ~~ THEN BEGIN 41 // from: 40.0
  SAY #43062 /* ~The island it is located on is under its own rule, and even the Cowled Wizards are not certain what becomes of those sent there.~ */
  IF ~~ THEN GOTO 42
END

IF ~~ THEN BEGIN 42 // from: 41.0
  SAY #43063 /* ~No one wanted to be associated with it once it began. It is difficult enough just to book passage. That is what your gold was for.~ */
  IF ~~ THEN GOTO 43
END

IF ~~ THEN BEGIN 43 // from: 42.0
  SAY #43064 /* ~Once on the island you will be on your own to contend with the asylum defenses and the pirates that run the place. Return with Imoen as you wish. Kill Irenicus if you can.~ [ARAN20] */
  IF ~~ THEN REPLY #43066 /* ~If Irenicus is in the asylum, isn't he no longer a danger?~ */ GOTO 44
  IF ~~ THEN REPLY #43067 /* ~I am ready to go then. No more time can be wasted. Let's set sail.~ */ GOTO 47
  IF ~~ THEN REPLY #43068 /* ~I will go very soon then. Just wait a moment for me to restock my supplies.~ */ GOTO 46
END

IF ~~ THEN BEGIN 44 // from: 43.0
  SAY #43074 /* ~We are not sure. Spies within the Cowled Wizards tell us that they have not had direct contact with the isle for some time.~ */
  IF ~~ THEN GOTO 45
END

IF ~~ THEN BEGIN 45 // from: 44.0
  SAY #43075 /* ~It is truly a place where the troublesome are forgotten.  The incident with Irenicus was to be ignored, lest people demand more sanctions against mages.~ */
  IF ~~ THEN REPLY #43076 /* ~I am ready to go then. No more time can be wasted. Let's set sail.~ */ GOTO 47
  IF ~~ THEN REPLY #43077 /* ~I will go very soon then. Just wait a moment for me to restock my supplies.~ */ GOTO 46
END

IF ~~ THEN BEGIN 46 // from: 48.0 45.1 43.2
  SAY #43079 /* ~Return to me as soon as possible. The captain of the ship may take a different job if left to wait. He is not exactly thrilled to be going to the isle.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 47 // from: 48.1 45.0 43.1
  SAY #43080 /* ~Excellent. The ship awaits. Good luck to you... I hope we all find what we are looking for.~ [ARAN21] */
  IF ~~ THEN DO ~EraseJournalEntry(47783)
EraseJournalEntry(47805)
EraseJournalEntry(47806)
EraseJournalEntry(47831)
EraseJournalEntry(47837)
EraseJournalEntry(47838)
StartCutSceneMode()
StartCutScene("Movie03b")~ SOLVED_JOURNAL #47839 /* ~Aran's tasks to receive the Shadow Thieves' aid.

I have completed the tasks Aran Linvail set out for me, and at last the location of Imoen has been revealed.  This did not come, mind you, without some revelations.

The Shadow Thieves have been interested in me from the beginning. They were aware of my capture, but thought it nothing more than a simple kidnapping and none of their business. However, soon after that Bodhi appeared and their members started disappearing. They thought another guild was converting them, making a bid for control of the city's underground, and directed an attack against what they thought was the guild headquarters, Irenicus' dungeon below Waukeen's. 

They were totally unprepared for how strong Irenicus was. After the battle they set their sights on me, because I was the only thing that came out of that dungeon alive. Since I was of such interest to Irenicus they needed to know what I was up to. Once they realized that Irenicus was a threat to us both, they sought to aid me, while also aiding themselves. Their intentions were good, despite their selfish motive.

They believe that Irenicus is still very much a threat.  Both Irenicus and Imoen have been taken to an island asylum called Spellhold where mages are imprisoned and studied.  And yet it sounds doubtful that Irenicus has been so easily overcome.  Bodhi and her rival guild are tied to him in some manner... and his purpose in studying both myself and Imoen is still unknown.

Imoen still remains in that place, however.  The Shadow Thieves have arranged a ship to take me to the isle at no small expense, hoping in that retrieving Imoen I might rid them of their other problem, as well.  Whatever happens, I am sure my biggest challenge yet awaits me on this isle.~ */ EXIT
END

IF ~Global("AranJob","GLOBAL",3)
Global("LassalVampires","GLOBAL",3)
Global("spokeTrip","LOCALS",1)
GLT("Chapter",6)
~ THEN BEGIN 48 // from:
  SAY #43081 /* ~Have you properly supplied yourself for the trip, <CHARNAME>? We must get you on your way as soon as possible.~ */
  IF ~~ THEN REPLY #43082 /* ~Just a while longer.~ */ GOTO 46
  IF ~~ THEN REPLY #43083 /* ~I am ready to go now.~ */ GOTO 47
END

IF ~~ THEN BEGIN 49 // from: 1.2 1.0
  SAY #49075 /* ~I apologize if you feel you have been done wrong. I assure you, all that you have paid is being put to good use.~ */
  IF ~!IsValidForPartyDialogue("KORGAN")
!IsValidForPartyDialogue("KELDORN")
!IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("MINSC")
!IsValidForPartyDialogue("HAERDALIS")~ THEN GOTO 50
  IF ~IsValidForPartyDialogue("KORGAN")~ THEN EXTERN ~KORGANJ~ 170
  IF ~!IsValidForPartyDialogue("KORGAN")
IsValidForPartyDialogue("KELDORN")~ THEN EXTERN ~KELDORJ~ 237
  IF ~IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("KORGAN")
!IsValidForPartyDialogue("KELDORN")~ THEN EXTERN ~JAHEIRAJ~ 506
  IF ~IsValidForPartyDialogue("MINSC")
!IsValidForPartyDialogue("KORGAN")
!IsValidForPartyDialogue("KELDORN")
!IsValidForPartyDialogue("JAHEIRA")~ THEN EXTERN ~MINSCJ~ 200
  IF ~IsValidForPartyDialogue("HAERDALIS")
!IsValidForPartyDialogue("KORGAN")
!IsValidForPartyDialogue("KELDORN")
!IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("MINSC")~ THEN EXTERN ~HAERDAJ~ 135
END

IF ~~ THEN BEGIN 50 // from: 49.0
  SAY #49076 /* ~But these things take time. In truth, we have been working long before you gave us the gold. Only a few minor points remain, but they must be addressed.~ */
  IF ~~ THEN GOTO 51
END

IF ~~ THEN BEGIN 51 // from: 50.0 1.1
  SAY #49077 /* ~First and foremost, you will be compensated for the gold you have paid.  I will give you several magical items; they are yours to keep regardless of what comes.~ [ARAN08] */
  IF ~!IsValidForPartyDialogue("EDWIN")
!IsValidForPartyDialogue("ANOMEN")
!IsValidForPartyDialogue("JAHEIRA")~ THEN DO ~

~ GOTO 52
  IF ~IsValidForPartyDialogue("EDWIN")~ THEN EXTERN ~EDWINJ~ 140
  IF ~IsValidForPartyDialogue("ANOMEN")
!IsValidForPartyDialogue("EDWIN")~ THEN EXTERN ~ANOMENJ~ 292
  IF ~IsValidForPartyDialogue("JAHEIRA")
!IsValidForPartyDialogue("EDWIN")
!IsValidForPartyDialogue("ANOMEN")~ THEN EXTERN ~JAHEIRAJ~ 507
END

IF ~~ THEN BEGIN 52 // from: 51.0 ANOMENJ:292.0
  SAY #49078 /* ~Now, I know you are eager to set off after Imoen, and I assure you that the time will come soon. It takes time to allocate the funds however.~ [ARAN09] */
  IF ~~ THEN REPLY #49079 /* ~Not too much time, I hope.~ */ GOTO 53
  IF ~~ THEN REPLY #49080 /* ~I knew it. You have no intention of helping me, do you!~ */ GOTO 53
  IF ~~ THEN REPLY #49081 /* ~This delay troubles me. Is there some problem that I am not aware of?~ */ GOTO 53
END

IF ~~ THEN BEGIN 53 // from: 52.2 52.1 52.0
  SAY #49082 /* ~No, no, no, everything is as it should be. There are merely some added difficulties that we have encountered. I regret that I must ask a few tasks of you.~ */
  IF ~!IsValidForPartyDialogue("MAZZY")
!IsValidForPartyDialogue("VALYGAR")
!IsValidForPartyDialogue("VICONIA")
!IsValidForPartyDialogue("JAN")~ THEN GOTO 54
  IF ~IsValidForPartyDialogue("MAZZY")~ THEN EXTERN ~MAZZYJ~ 188
  IF ~IsValidForPartyDialogue("VALYGAR")
!IsValidForPartyDialogue("MAZZY")~ THEN EXTERN ~VALYGARJ~ 97
  IF ~IsValidForPartyDialogue("VICONIA")
!IsValidForPartyDialogue("MAZZY")
!IsValidForPartyDialogue("VALYGAR")~ THEN EXTERN ~VICONIJ~ 171
  IF ~IsValidForPartyDialogue("JAN")
!IsValidForPartyDialogue("MAZZY")
!IsValidForPartyDialogue("VALYGAR")
!IsValidForPartyDialogue("VICONIA")~ THEN EXTERN ~JANJ~ 174
END

IF ~~ THEN BEGIN 54 // from: 53.0
  SAY #49083 /* ~I know, I know, you are tired and have worked hard already. I apologize, but this guild war... it prevents us going further.~ */
  IF ~~ THEN GOTO 2
END

IF ~~ THEN BEGIN 55 // from: 3.1
  SAY #49084 /* ~Ah, <CHARNAME>, I must admit that the goods aboard would not be met well by the city guards. Weapons mostly, but I defend their use.~ */
  IF ~~ THEN GOTO 56
END

IF ~~ THEN BEGIN 56 // from: 55.0
  SAY #49085 /* ~The guild we are warring with are not like we. As dark as the Shadow Thieves are, we do not overstep our bounds. This new guild is different.~ */
  IF ~~ THEN GOTO 60
END

IF ~~ THEN BEGIN 57 // from: 3.4 3.3
  SAY #49088 /* ~<CHARNAME>, this is a delicate matter, and it *does* involve the guild we are fighting. You will realize this in time.~ */
  IF ~~ THEN GOTO 58
END

IF ~~ THEN BEGIN 58 // from: 60.0 57.0
  SAY #49089 /* ~Examine your options here. By joining us you have closed other doors. Attending to the tasks I ask is the only way to achieve your goal.~ */
  IF ~~ THEN GOTO 59
END

IF ~~ THEN BEGIN 59 // from: 58.0
  SAY #49090 /* ~I will leave you to decide, but the docks await. Go there when you come to the only conclusion possible. Go at night and find Mook.~ */
  IF ~~ THEN GOTO 4
END

IF ~~ THEN BEGIN 60 // from: 56.0
  SAY #49091 /* ~If you seek the moral high ground in this matter, it is indeed with the Shadow Thieves. A surprising thing, but I assure you that I am true to my word.~ */
  IF ~~ THEN GOTO 58
END

IF ~~ THEN BEGIN 61 // from: 9.1 7.1 6.2 5.2
  SAY #49137 /* ~I realize your concern, but if we are to succeed we must first clear the way.  I will give you exactly what you need, but this matter must be resolved first.~ */
  IF ~~ THEN GOTO 62
END

IF ~~ THEN BEGIN 62 // from: 61.0
  SAY #49140 /* ~I will inform you of what must be done for now. You will realize the necessity of it.~ */
  IF ~~ THEN GOTO 8
END

IF ~~ THEN BEGIN 63 // from: 13.2
  SAY #49165 /* ~I give what I can and will honor all my pledges. This rival is a very real hindrance and must be dealt with. I implore you, my intent is genuine.~ */
  IF ~~ THEN GOTO 64
END

IF ~~ THEN BEGIN 64 // from: 65.0 63.0
  SAY #49166 /* ~The Graveyard District is not far. Go, and you will see my gratitude when you return.~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 65 // from: 13.1
  SAY #49167 /* ~And they are the block that prevents your rescue of Imoen. Trust in me, <CHARNAME>, you will not regret it.~ */
  IF ~~ THEN GOTO 64
END

IF ~~ THEN BEGIN 66 // from: 35.0
  SAY #49168 /* ~We knew of your capture almost as soon as it happened. Very little occurs in this city that we are not aware of.~ */
  IF ~~ THEN GOTO 67
END

IF ~~ THEN BEGIN 67 // from: 66.0
  SAY #49169 /* ~We paid little mind. Even though it was done outside of the Shadow Thieves, we thought that a simple kidnapping was nothing to be concerned of.~ */
  IF ~~ THEN GOTO 68
END

IF ~~ THEN BEGIN 68 // from: 67.0
  SAY #49170 /* ~But soon after that we started losing people. That was when Bodhi appeared, though we did not know her name at the time.~ */
  IF ~~ THEN GOTO 69
END

IF ~~ THEN BEGIN 69 // from: 68.0
  SAY #49171 /* ~Members were threatened or seduced into her guild.  None were seen again.  We still don't know where most are.  Even her cadre could not have fed on them all.~ */
  IF ~~ THEN GOTO 70
END

IF ~~ THEN BEGIN 70 // from: 69.0
  SAY #49172 /* ~By chance a body was found in the sewer, leading us to Irenicus and his strange dungeon.  We battled and lost, but the Cowled Wizards took him, as you saw.~ */
  IF ~~ THEN REPLY #49173 /* ~I saw your efforts. It was a slaughter.~ */ GOTO 71
  IF ~~ THEN REPLY #49174 /* ~So you were cheated of revenge as well.~ */ GOTO 71
  IF ~~ THEN REPLY #49175 /* ~Because of this I lost significantly more. Imoen remains missing.~ */ GOTO 71
  IF ~~ THEN REPLY #59461 /* ~And the power he promised was taken with him.~ */ GOTO 71
END

IF ~~ THEN BEGIN 71 // from: 70.3 70.2 70.1 70.0
  SAY #49176 /* ~We must take partial responsibility for your loss of Imoen, but our chief concern was Irenicus at the time. We still don't know why he killed our guild members.~ */
  IF ~~ THEN GOTO 72
END

IF ~~ THEN BEGIN 72 // from: 71.0
  SAY #49178 /* ~So we followed you. You were the only living thing to emerge from his prison. We watched your every step and made sure you would be close to us.~ */
  IF ~~ THEN REPLY #49180 /* ~You wanted someone to lead you to him. So much for charity.~ */ GOTO 73
  IF ~~ THEN REPLY #49181 /* ~So why all the money then? Why not just interrogate me?~ */ GOTO 73
  IF ~~ THEN REPLY #49182 /* ~I showed no love for him. You must have seen that.~ */ GOTO 73
END

IF ~~ THEN BEGIN 73 // from: 72.2 72.1 72.0
  SAY #49183 /* ~We had to be sure. We could not let an enemy into the guild when we are so weakened. In truth, your gold was much needed as well.~ */
  IF ~~ THEN GOTO 74
END

IF ~~ THEN BEGIN 74 // from: 73.0
  SAY #49185 /* ~We thought you could lead us to him, and you can. You seek Imoen and Irenicus, and we seek answers. They were taken to the same place, you see.~ */
  IF ~~ THEN GOTO 38
END

IF ~!InPartySlot(LastTalkedToBy,0)
Global("Chapter","GLOBAL",6)
Global("ShadowFightBodhi","GLOBAL",0)
!Dead("c6bodhi")~ THEN BEGIN 75 // from:
  SAY #53135 /* ~Yes, yes, I know who you are, <GABBER>.  I would like to speak to <CHARNAME>, however... <PRO_HESHE> is amongst you, yes?~ */
  IF ~~ THEN EXIT
END

IF ~InPartySlot(LastTalkedToBy,0)
Global("Chapter","GLOBAL",6)
Global("ShadowFightBodhi","GLOBAL",0)
!Dead("c6bodhi")~ THEN BEGIN 76 // from:
  SAY #53137 /* ~Ah... you have returned, after all.  And far sooner than I expected.  After you left on Havarian's ship, I must admit that I half-wondered if you would reach the island, never mind return.~ [ARAN23] */
  IF ~~ THEN REPLY #53139 /* ~I half-wondered that, myself, considering the fact that your captain betrayed me.~ */ GOTO 77
  IF ~~ THEN REPLY #53140 /* ~You mean you planned for me not to return.  Saemon Havarian betrayed me... at your direction, I think.~ */ GOTO 77
  IF ~~ THEN REPLY #53141 /* ~That doesn't matter.  I'm back, and I need your help.~ */ GOTO 83
END

IF ~~ THEN BEGIN 77 // from: 76.1 76.0
  SAY #53142 /* ~He betrayed you?  I'm not surprised.  Oh, don't look at me like that, it was *not* because of me.  Saemon Havarian was not one of my men in the slightest.~ */
  IF ~!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Nalia")~ THEN GOTO 78
  IF ~IsValidForPartyDialog("Anomen")~ THEN EXTERN ~ANOMENJ~ 274
  IF ~!IsValidForPartyDialog("Anomen")
IsValidForPartyDialog("Korgan")~ THEN EXTERN ~KORGANJ~ 141
  IF ~!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Korgan")
IsValidForPartyDialog("Nalia")~ THEN EXTERN ~NALIAJ~ 284
END

IF ~~ THEN BEGIN 78 // from: 77.0 ANOMENJ:274.0
  SAY #53143 /* ~I did tell you that few ships dare to visit Brynnlaw, and you saw the type of person that haunts the place.  Havarian was the best available, I am afraid.~ */
  IF ~!IsValidForPartyDialog("Imoen2")~ THEN GOTO 79
  IF ~IsValidForPartyDialog("Imoen2")~ THEN GOTO 109
END

IF ~~ THEN BEGIN 79 // from: 110.0 78.0
  SAY #53144 /* ~If you wish, I could have the good captain tracked and punished for his... misdeeds.  I did pay him extra to keep you safe, gold that apparently was wasted.~ */
  IF ~OR(3)
Dead("ppsaem")
Dead("ppsaem2")
Dead("ppsaem3")~ THEN REPLY #53145 /* ~No, don't bother.  Havarian is already dead.~ */ GOTO 80
  IF ~OR(3)
Dead("ppsaem")
Dead("ppsaem2")
Dead("ppsaem3")~ THEN REPLY #53146 /* ~No need!  The bastard rots as we speak!~ */ GOTO 80
  IF ~!Dead("ppsaem")
!Dead("ppsaem2")
!Dead("ppsaem3")~ THEN REPLY #53147 /* ~No, there's no need.  He seemed to have little choice in his actions, and he may even be dead, for all I know.~ */ GOTO 81
  IF ~!Dead("ppsaem")
!Dead("ppsaem2")
!Dead("ppsaem3")~ THEN REPLY #53148 /* ~His ship is sunk, and he may even be dead.  That's enough for me.~ */ GOTO 81
  IF ~!Dead("ppsaem")
!Dead("ppsaem2")
!Dead("ppsaem3")~ THEN REPLY #53149 /* ~Yes... track the man down, if he still lives.  I don't want him to get away with this.~ */ GOTO 82
END

IF ~~ THEN BEGIN 80 // from: 79.1 79.0
  SAY #53150 /* ~Is he?  What a shame.  The matter is settled, then.~ */
  IF ~~ THEN GOTO 84
END

IF ~~ THEN BEGIN 81 // from: 79.3 79.2
  SAY #53151 /* ~Then he is left to his own fate, which is good enough.  Havarian has a habit of turning up like a bad copper, so I doubt this is the last I've seen of him.~ */
  IF ~~ THEN GOTO 84
END

IF ~~ THEN BEGIN 82 // from: 79.4
  SAY #53152 /* ~Then we shall have to see about the Shadow Thieves paying him a little visit.  Somehow, though, I think he will be hard to find.  No matter... we are patient.~ */
  IF ~~ THEN GOTO 84
END

IF ~~ THEN BEGIN 83 // from: 76.2
  SAY #53153 /* ~You need my help?  And here I thought you had come merely to talk about old times.  As it happens, I need your help, as well.~ */
  IF ~~ THEN GOTO 84
END

IF ~~ THEN BEGIN 84 // from: 83.0 82.0 81.0 80.0
  SAY #53154 /* ~I need your help in dealing with Bodhi.  You were successful destroying her guild, of that I am glad, but the mistress herself seems to have survived.~ */
  IF ~~ THEN GOTO 85
END

IF ~~ THEN BEGIN 85 // from: 84.0
  SAY #53155 /* ~I don't know why she returned to Athkatla, but I can't take the risk that she will rebuild and take revenge on the Shadow Thieves... and myself, of course.~ */
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Valygar")~ THEN GOTO 86
  IF ~IsValidForPartyDialog("Keldorn")~ THEN EXTERN ~KELDORJ~ 209
  IF ~!IsValidForPartyDialog("Keldorn")
IsValidForPartyDialog("Korgan")~ THEN EXTERN ~KORGANJ~ 145
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Korgan")
IsValidForPartyDialog("Valygar")~ THEN EXTERN ~VALYGARJ~ 89
END

IF ~~ THEN BEGIN 86 // from: 85.0
  SAY #53156 /* ~I would like you to end her existence permanently.  I won't fault you for your failure last time.  Obviously both of us underestimated the extent of her power.~ */
  IF ~Global("PlayerThiefGuild","GLOBAL",1)
Global("PGFailed","GLOBAL",0)~ THEN REPLY #53157 /* ~I intend to do it anyway.  I came here looking for your assistance in attacking her.~ */ GOTO 87
  IF ~ReactionGT(Player1,14)
OR(2)
!Global("PlayerThiefGuild","GLOBAL",1)
!Global("PGFailed","GLOBAL",0)~ THEN REPLY #53158 /* ~I intend to do it anyway.  I came here looking for your assistance in attacking her.~ */ GOTO 90
  IF ~ReactionLT(Player1,15)
OR(2)
!Global("PlayerThiefGuild","GLOBAL",1)
!Global("PGFailed","GLOBAL",0)~ THEN REPLY #53159 /* ~I intend to do it anyway.  I came here looking for your assistance in attacking her.~ */ GOTO 91
  IF ~Global("PlayerThiefGuild","GLOBAL",1)
Global("PGFailed","GLOBAL",0)~ THEN REPLY #53160 /* ~I will do it, but Bodhi is too powerful to attack without aid from the Shadow Thieves.~ */ GOTO 87
  IF ~ReactionGT(Player1,14)
OR(2)
!Global("PlayerThiefGuild","GLOBAL",1)
!Global("PGFailed","GLOBAL",0)~ THEN REPLY #53163 /* ~I will do it, but Bodhi is too powerful to attack without aid from the Shadow Thieves.~ */ GOTO 90
  IF ~ReactionLT(Player1,15)
OR(2)
!Global("PlayerThiefGuild","GLOBAL",1)
!Global("PGFailed","GLOBAL",0)~ THEN REPLY #53164 /* ~I will do it, but Bodhi is too powerful to attack without aid from the Shadow Thieves.~ */ GOTO 91
  IF ~ReactionGT(Player1,14)
OR(2)
!Global("PlayerThiefGuild","GLOBAL",1)
!Global("PGFailed","GLOBAL",0)~ THEN REPLY #53165 /* ~Give me some assassins to back me up and I'll think about it.~ */ GOTO 91
  IF ~ReactionLT(Player1,15)
OR(2)
!Global("PlayerThiefGuild","GLOBAL",1)
!Global("PGFailed","GLOBAL",0)~ THEN REPLY #53166 /* ~Give me some assassins to back me up and I'll think about it.~ */ GOTO 93
END

IF ~~ THEN BEGIN 87 // from: 86.3 86.0
  SAY #53168 /* ~Very well, you are a member of the Shadow Thieves and I would not ask such a dangerous mission without offering some assistance... not this time, at any rate.~ */
  IF ~~ THEN GOTO 88
END

IF ~~ THEN BEGIN 88 // from: 99.0 98.0 96.0 90.0 87.0
  SAY #53172 /* ~I will have Arkanis and Yachiko and others, our best assassins, join you when you enter Bodhi's catacombs.  I want to be sure Bodhi is forever out of my hair.~ */
  IF ~~ THEN GOTO 89
END

IF ~~ THEN BEGIN 89 // from: 88.0
  SAY #53173 /* ~Go to the catacombs when you are ready, then.  Your assassins will meet you there.  And, incidentally... good luck.~ [ARAN24] */
  IF ~~ THEN DO ~SetGlobal("ShadowFightBodhi","GLOBAL",1)~ UNSOLVED_JOURNAL #7737 /* ~Allies recruited for the struggle against Bodhi.

Aran Linvail has agreed to aid in the fight against Bodhi, even though the guild is weaker because of her. Any assassins he can spare will meet me beneath the Graveyard District when I am ready to face the vampire.~ */ EXIT
END

IF ~~ THEN BEGIN 90 // from: 86.4 86.1
  SAY #53174 /* ~Then you shall have it.  You have proven yourself to the entire guild, and from your reputation you are certainly to be trusted with the lives of my men.~ */
  IF ~~ THEN GOTO 88
END

IF ~~ THEN BEGIN 91 // from: 86.6 86.5 86.2
  SAY #53175 /* ~Add my own men to your force?  Why would I do that?  No doubt you would use them as cannon fodder in the attack and I would lose the skilled agents I have left.~ */
  IF ~~ THEN GOTO 92
END

IF ~~ THEN BEGIN 92 // from: 93.0 91.0
  SAY #53176 /* ~I'm sure I don't have to remind you of the cost of Bodhi's war.  I have few people left, and yours are not the most trustworthy hands to put their lives into.~ */
  IF ~~ THEN REPLY #53177 /* ~After all the hoops I jumped through, you're just going to throw me to the wolves?!~ */ GOTO 94
  IF ~~ THEN REPLY #53178 /* ~Then you will die, because I can't defeat her alone, and she will eventually come after you.~ */ GOTO 95
  IF ~ReputationGT(Player1,9)~ THEN REPLY #53179 /* ~I need all the help I can get, Aran.  Every man you can send is needed.~ */ GOTO 97
  IF ~ReputationLT(Player1,10)~ THEN REPLY #53180 /* ~I need all the help I can get, Aran.  Every man you can send is needed.~ */ GOTO 98
  IF ~ReputationGT(Player1,9)~ THEN REPLY #53181 /* ~I'm rather tired of being used by you and yet *you* are the one calling *me* untrustworthy.~ */ GOTO 99
  IF ~ReputationLT(Player1,10)~ THEN REPLY #53187 /* ~I'm rather tired of being used by you and yet *you* are the one calling *me* untrustworthy.~ */ GOTO 100
END

IF ~~ THEN BEGIN 93 // from: 86.7
  SAY #53183 /* ~I don't care for your tone.  It was you that failed in the first place, not killing her before.  I have barely the manpower to protect me, never mind help you.~ */
  IF ~~ THEN GOTO 92
END

IF ~~ THEN BEGIN 94 // from: 92.0
  SAY #53190 /* ~It's a matter of survival.  I have almost nothing to offer you.  Perhaps in the future I could aid you, but not now, not in this fight.~ */
  IF ~ReactionGT(Player1,7)~ THEN REPLY #53196 /* ~I need your help *now*.  Without it I may fail, and then Bodhi will come after you.~ */ GOTO 95
  IF ~ReactionLT(Player1,8)~ THEN REPLY #53197 /* ~I need your help *now*.  Without it I may fail, and then Bodhi will come after you.~ */ GOTO 98
  IF ~~ THEN REPLY #53199 /* ~So you ask for me to come, demand that I try and kill Bodhi, and offer nothing in return?~ */ GOTO 102
  IF ~~ THEN REPLY #53201 /* ~Maybe your survival is in more immediate danger.  I don't like being abandoned.~ */ GOTO 103
  IF ~ReputationGT([PC],9)
~ THEN REPLY #53205 /* ~I demand that you help me, Aran.  You owe it to me.~ */ GOTO 99
  IF ~ReputationLT([PC],10)~ THEN REPLY #53206 /* ~I demand that you help me, Aran.  You owe it to me.~ */ GOTO 105
END

IF ~~ THEN BEGIN 95 // from: 94.0 92.1
  SAY #53214 /* ~She is that strong now? (sigh) I hate wasting resources, but I suppose this may be the only opportunity to defeat the creature, isn't it.~ */
  IF ~~ THEN GOTO 96
END

IF ~~ THEN BEGIN 96 // from: 97.0 95.0
  SAY #53218 /* ~Very well, then, <CHARNAME>.  You will have the help of the Shadow Thieves.  At the barest hint of betrayal, however, you are on your own.~ */
  IF ~~ THEN GOTO 88
END

IF ~~ THEN BEGIN 97 // from: 92.2
  SAY #53222 /* ~(sigh) I suppose there is no real reason to not trust you with the lives of my men.  I would do much to make sure this vampire is finally destroyed.~ */
  IF ~~ THEN GOTO 96
END

IF ~~ THEN BEGIN 98 // from: 94.1 92.3
  SAY #53227 /* ~I don't trust you, and I don't like risking my men, but I have little choice.  If I aid you we are even... after Bodhi is dead, we have no further association.~ */
  IF ~~ THEN GOTO 88
END

IF ~~ THEN BEGIN 99 // from: 94.4 92.4
  SAY #53228 /* ~Perhaps you are right.  Your reputation is not a poor one, and you should be treated fairly for your efforts so far.  I suppose I could return the favor.~ */
  IF ~~ THEN GOTO 88
END

IF ~~ THEN BEGIN 100 // from: 92.5
  SAY #53229 /* ~You are more than untrustworthy, <CHARNAME>, you are dangerous.  You think the Shadow Thieves hear nothing of your actions outside of these walls?~ */
  IF ~~ THEN GOTO 101
END

IF ~~ THEN BEGIN 101 // from: 100.0
  SAY #53230 /* ~No, you are not to be trusted with any lives other than your own.  Go... kill Bodhi, if you can, and we are done.  But you shall receive no help from me.~ */
  IF ~~ THEN DO ~SetGlobal("ShadowFightBodhi","GLOBAL",2)~ UNSOLVED_JOURNAL #7090 /* ~Allies recruited for the struggle against Bodhi.

I asked Aran Linvail for the help of the Shadow Thieves against Bodhi, but he does not trust me enough, and the guild is too weak to give me any aid.  His decision is certainly final.~ */ EXIT
END

IF ~~ THEN BEGIN 102 // from: 94.2
  SAY #53231 /* ~Again?  You didn't complete the task last time, and Bodhi, no doubt, has a bone to pick with you.  Go, kill her if you can, but you shall get no help from me.~ */
  IF ~~ THEN DO ~SetGlobal("ShadowFightBodhi","GLOBAL",2)~ UNSOLVED_JOURNAL #7090 /* ~Allies recruited for the struggle against Bodhi.

I asked Aran Linvail for the help of the Shadow Thieves against Bodhi, but he does not trust me enough, and the guild is too weak to give me any aid.  His decision is certainly final.~ */ EXIT
END

IF ~~ THEN BEGIN 103 // from: 94.3
  SAY #53233 /* ~Only you would be foolish enough to dare threatening me in my own sanctum, <CHARNAME>.  Do not even think about it.~ */
  IF ~~ THEN GOTO 104
END

IF ~~ THEN BEGIN 104 // from: 105.0 103.0
  SAY #53234 /* ~Our current state is because of your failure to kill her last time.  You deal with the consequences.  Go, kill her if you can, but you shall get no aid from me.~ */
  IF ~~ THEN DO ~SetGlobal("ShadowFightBodhi","GLOBAL",2)~ UNSOLVED_JOURNAL #7090 /* ~Allies recruited for the struggle against Bodhi.

I asked Aran Linvail for the help of the Shadow Thieves against Bodhi, but he does not trust me enough, and the guild is too weak to give me any aid.  His decision is certainly final.~ */ EXIT
END

IF ~~ THEN BEGIN 105 // from: 94.5
  SAY #53235 /* ~You will demand nothing here, <CHARNAME>.  I owe you nothing, and I will not respond even slightly to such a tone from one with such a poor reputation.~ */
  IF ~~ THEN GOTO 104
END

IF ~Global("Chapter","GLOBAL",6)
Global("ShadowFightBodhi","GLOBAL",1)
!Dead("c6bodhi")~ THEN BEGIN 106 // from:
  SAY #53236 /* ~Go... go to the graveyard and enter the catacombs when you are ready.  My best assassins will meet you there, and I hope they will be enough.  Now... I must make preparations, so excuse me.~ */
  IF ~~ THEN EXIT
END

IF ~Global("Chapter","GLOBAL",6)
Global("ShadowFightBodhi","GLOBAL",2)
!Dead("c6bodhi")~ THEN BEGIN 107 // from:
  SAY #53237 /* ~I have told you my decision, <CHARNAME>.  Kill Bodhi, but do it without my help... and we shall be even.  Now leave this place at once.~ */
  IF ~~ THEN EXIT
END

IF ~GGT("Chapter",5)
Dead("c6bodhi")~ THEN BEGIN 108 // from:
  SAY #53238 /* ~So... finally, Bodhi is dead, is she?  I am very pleased.  The Shadow Thieves at large can breathe a sigh of relief, now.  A job well done, <CHARNAME>.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 109 // from: 78.1
  SAY #56033 /* ~And I see that you have your companion back amongst you.  That was your goal, wasn't it?  I trust you are no worse for the wear, my dear?~ */
  IF ~~ THEN EXTERN ~IMOEN2J~ 26
END

IF ~~ THEN BEGIN 110 // from:
  SAY #56035 /* ~Ah... I see.  Would that I had a spare, but that's not the commerce I traffic in.  My sincere regrets at your condition.  I would not wish such on anyone.~ */
  IF ~~ THEN GOTO 79
END

IF ~~ THEN BEGIN 111 // from: 5.3
  SAY #58583 /* ~Well then, go quickly! This very night Mook will be waiting!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 112 // from:
  SAY #61056 /* ~Thank you for playing the Preview Version of Baldur's Gate II: Shadows of Amn. For the purposes of this demo, the main plot ends here but you may continue to play any of the subquests from Chapters 1,2 & 3. 

Have fun!

BioWare~ */
  IF ~~ THEN EXIT
END
