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

BEGIN ~BODHI~

IF ~Global("BodhiAppear","GLOBAL",1)
!Global("WorkingForAran","GLOBAL",1)
!Class(Player1,THIEF)
Global("BodhiMove","LOCALS",0)
PartyGoldGT(14999)
~ THEN BEGIN 0 // from:
  SAY #21339 /* ~You have arrived. I had worried I might have to discipline Valen for failing to deliver her message. I am Bodhi, and I greet you warmly.~ [BODHIX02] */
  IF ~~ THEN REPLY #21478 /* ~Warm you may be, but you are in a very cold place. Was this necessary?~ */ GOTO 1
  IF ~~ THEN REPLY #21479 /* ~Yes, yes, but why must I come all the way out here. It isn't safe.~ */ GOTO 1
  IF ~~ THEN REPLY #21480 /* ~I don't care about your greeting. Just explain why I am here!~ */ GOTO 1
  IF ~~ THEN REPLY #21508 /* ~Er, yes, I accept your welcome.~ */ GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.3 0.2 0.1 0.0
  SAY #21340 /* ~You may be concerned about why we must meet here. There are a number of reasons, only a few of which you need to worry about. First, I shall introduce myself. I am Bodhi.~ [BODHIX10] */
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Jaheira")~ THEN GOTO 2
  IF ~IsValidForPartyDialog("Keldorn")~ THEN EXTERN ~KELDORJ~ 153
  IF ~!IsValidForPartyDialog("Keldorn")
IsValidForPartyDialog("Mazzy")~ THEN EXTERN ~MAZZYJ~ 148
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
IsValidForPartyDialog("Anomen")~ THEN EXTERN ~ANOMENJ~ 221
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Anomen")
IsValidForPartyDialog("Jaheira")~ THEN EXTERN ~JAHEIRAJ~ 407
END

IF ~~ THEN BEGIN 2 // from: 1.0 ANOMENJ:221.0
  SAY #21468 /* ~I have asked you here because we are unlikely to be overheard, and so you can see the benefits of working with me. Follow, please, and stay exactly in my step. You would... regret doing other.~ [BODHIX11] */
  IF ~~ THEN DO ~ClearAllActions()
StartCutSceneMode()
StartCutScene("Cut25a")
~ UNSOLVED_JOURNAL #6605 /* ~Meeting with Valen's mistress.

I have gone to the Graveyard District to meet the mistress of the woman who approached me earlier.  The mistress introduced herself as Bodhi and stated that she talks with me here to avoid being overheard.  I am to follow her closely... presumably to someplace more private.~ */ EXIT
END

IF ~Global("BodhiMove","LOCALS",1)
~ THEN BEGIN 3 // from:
  SAY #21509 /* ~This is the entrance to the hold that I offer you access to. Oh, I am sorry, I have moved ahead of myself. I should outline what I intend.~ [BODHIX12] */
  IF ~!IsValidForPartyDialog("Edwin")
!IsValidForPartyDialog("Korgan")~ THEN DO ~SetGlobal("BodhiMove","LOCALS",2)
~ GOTO 4
  IF ~IsValidForPartyDialog("Edwin")~ THEN DO ~SetGlobal("BodhiMove","LOCALS",2)~ EXTERN ~EDWINJ~ 76
  IF ~!IsValidForPartyDialog("Edwin")
IsValidForPartyDialog("Korgan")~ THEN DO ~SetGlobal("BodhiMove","LOCALS",2)~ EXTERN ~KORGANJ~ 97
END

IF ~~ THEN BEGIN 4 // from: 3.0
  SAY #21510 /* ~You are... employed of course, and do errands occasionally. No doubt you have questioned the intent of your employer on occasion? If you haven't, then you should.~ [BODHIX13] */
  IF ~~ THEN GOTO 5
END

IF ~~ THEN BEGIN 5 // from: 4.0
  SAY #21511 /* ~You work for the Shadow Thieves, on the pretense they will help locate your missing companion, Imoen. Yes, they are Shadow Thieves, and yes, they are as nefarious as you have probably heard.~ [BODHIX14] */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #21512 /* ~I would offer an alternative. I would help you find your friend for... oh... 15,000 gold? It is a sizeable amount less than the Shadow Thieves have asked and, coincidentally, it is what you have now.~ */
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Yoshimo")~ THEN REPLY #21513 /* ~How do you know of my involvement with the Shadow Thieves, or even that they are Shadow Thieves?~ */ GOTO 7
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Yoshimo")~ THEN REPLY #21514 /* ~You know an awful lot about me. Where have you learned all of this?~ */ GOTO 7
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Yoshimo")~ THEN REPLY #21515 /* ~It sounds like you've been spying on me. Why should I trust you?~ */ GOTO 8
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Yoshimo")~ THEN REPLY #21812 /* ~Sweet deal, but what do you gain?  I am no fool!  What is it you will take from me?~ */ GOTO 9
  IF ~IsValidForPartyDialog("Keldorn")~ THEN EXTERN ~KELDORJ~ 154
  IF ~!IsValidForPartyDialog("Keldorn")
IsValidForPartyDialog("Mazzy")~ THEN EXTERN ~MAZZYJ~ 149
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
IsValidForPartyDialog("Jaheira")~ THEN EXTERN ~JAHEIRAJ~ 408
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
IsValidForPartyDialog("Minsc")~ THEN EXTERN ~MINSCJ~ 126
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
IsValidForPartyDialog("Valygar")~ THEN EXTERN ~VALYGARJ~ 59
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
IsValidForPartyDialog("Aerie")~ THEN EXTERN ~AERIEJ~ 88
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
!IsValidForPartyDialog("Aerie")
IsValidForPartyDialog("Anomen")~ THEN EXTERN ~ANOMENJ~ 222
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Anomen")
IsValidForPartyDialog("Korgan")~ THEN EXTERN ~KORGANJ~ 98
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Korgan")
IsValidForPartyDialog("Yoshimo")~ THEN EXTERN ~YOSHJ~ 76
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")
!IsValidForPartyDialog("Jaheira")
!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Yoshimo")~ THEN REPLY #59400 /* ~I don't care about my 'friend'.  I want Irenicus for revenge and for what he can do for me!~ */ GOTO 133
END

IF ~~ THEN BEGIN 7 // from: 130.1 130.0 6.1 6.0
  SAY #21814 /* ~I know a great deal about you and this place, <CHARNAME>. You are a relative newcomer and have much to learn. Certainly you have had your doubts about those 'helping' you?~ */
  IF ~~ THEN GOTO 10
END

IF ~~ THEN BEGIN 8 // from: 130.2 6.2
  SAY #21815 /* ~If you question me, why do you trust your current employers?  Are you certain they are more deserving?  Regardless, I still offer more advantages than they.~ */
  IF ~~ THEN GOTO 10
END

IF ~~ THEN BEGIN 9 // from: 130.3 6.3
  SAY #21817 /* ~By offering you such a deal at this price, you mean? I stand to gain by what the Shadow Thieves have lost. I am not about to do this out of the good of my heart.~ */
  IF ~~ THEN GOTO 10
END

IF ~~ THEN BEGIN 10 // from: 133.0 9.0 8.0 7.0
  SAY #21818 /* ~You will be unable to turn down my offer, even if I demand a few... gestures to prove your loyalty.  There is a monopoly in this town, and I intend to break it.~ */
  IF ~~ THEN GOTO 12
END

IF ~~ THEN BEGIN 11 // from: 125.0
  SAY #21831 /* ~Support me and you will revel in the destruction of the largest criminal organization south of Waterdeep, though the big bad thieves have been rather soft as of late.~ */
  IF ~~ THEN REPLY #21832 /* ~And you will help me find Imoen for 15,000? I still wonder why you would do this.~ */ GOTO 13
  IF ~~ THEN REPLY #21834 /* ~You do not present yourself as a safe risk. I do not believe you.~ */ GOTO 15
  IF ~~ THEN REPLY #21835 /* ~I'm sure the Shadow Thieves would offer more if I removed their competition.~ */ GOTO 16
  IF ~~ THEN REPLY #21838 /* ~What if I don't trust either group? They may well be thieves, but you are very very creepy.~ */ GOTO 17
  IF ~~ THEN REPLY #21820 /* ~I say yes. I never liked serving those fools anyway. I will enjoy their destruction..~ */ GOTO 18
  IF ~~ THEN REPLY #49066 /* ~*You* want me to find Irenicus? What are you talking about? Are you in league with him?~ */ GOTO 126
END

IF ~~ THEN BEGIN 12 // from: 10.0
  SAY #21839 /* ~I will ask you to weaken the 'resources' of the Shadow Thieves.  I am not so vain as to think them easily destroyed, but many of their members will join with me.~ */
  IF ~~ THEN GOTO 114
END

IF ~~ THEN BEGIN 13 // from: 14.0 11.0
  SAY #21841 /* ~You are within their structure, so you are valuable.  I could stage open aggression, but that would spill much blood, and I always hate when that happens.~ */
  IF ~~ THEN GOTO 115
END

IF ~~ THEN BEGIN 14 // from:
  SAY #21863 /* ~I can afford to be generous, but don't think this is without risk. You do not oppose the largest thieves' guild in the southern Realms and expect to walk away.~ */
  IF ~~ THEN GOTO 13
END

IF ~~ THEN BEGIN 15 // from: 11.1
  SAY #21865 /* ~There is no such thing as 'safe risk.' Are your tasks for the thieves full of 'safe risk?' I doubt it very much so. I offer an alternative risk, nothing more.~ */
  IF ~~ THEN GOTO 116
END

IF ~~ THEN BEGIN 16 // from: 11.2
  SAY #21866 /* ~Perhaps they would, but they are not here. I am not without my defenses. I would not ask you here if I thought you were a threat.~ */
  IF ~~ THEN GOTO 117
END

IF ~~ THEN BEGIN 17 // from: 11.3
  SAY #21867 /* ~It does not matter if you do not trust either of us; you must, for the time being, deal with one or the other. Perhaps it is unseemly, but try to think long term.~ */
  IF ~~ THEN GOTO 118
END

IF ~~ THEN BEGIN 18 // from: 19.1 19.0 11.4
  SAY #21868 /* ~Such confidence is admirable. Very well, this place is now open to you. It is a safe haven, and below there are friends of mine that will tend to your trading needs.~ [BODHIX16] */
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Mazzy")~ THEN DO ~EraseJournalEntry(47783)
EraseJournalEntry(47805)
EraseJournalEntry(47806)
EraseJournalEntry(47831)
EraseJournalEntry(47837)
EraseJournalEntry(47838)~ GOTO 121
  IF ~IsValidForPartyDialog("Keldorn")~ THEN DO ~EraseJournalEntry(47783)
EraseJournalEntry(47805)
EraseJournalEntry(47806)
EraseJournalEntry(47831)
EraseJournalEntry(47837)
EraseJournalEntry(47838)~ EXTERN ~KELDORJ~ 155
  IF ~!IsValidForPartyDialog("Keldorn")
IsValidForPartyDialog("Mazzy")~ THEN DO ~EraseJournalEntry(47783)
EraseJournalEntry(47805)
EraseJournalEntry(47806)
EraseJournalEntry(47831)
EraseJournalEntry(47837)
EraseJournalEntry(47838)~ EXTERN ~MAZZYJ~ 150
END

IF ~~ THEN BEGIN 19 // from: 127.0 119.0 117.0 116.0 115.0
  SAY #21869 /* ~Now is the time for deciding. I cannot wait too long and I tire of talking. Choose your allegiance. The masters you serve or the Mistress that will let you destroy them.~ */
  IF ~~ THEN REPLY #21870 /* ~I will side with you, Mistress, and may the gods have mercy on our enemies.~ */ GOTO 18
  IF ~~ THEN REPLY #21871 /* ~I do not trust you, but I will take your offer. It is too good to decline.~ */ GOTO 18
  IF ~~ THEN REPLY #21872 /* ~I do not trust you or the others, but they are the devil I know. I must decline.~ */ GOTO 20
  IF ~~ THEN REPLY #21873 /* ~You are a deceitful creature, in league with my enemy. I refuse your offer.~ */ GOTO 20
END

IF ~~ THEN BEGIN 20 // from: 19.3 19.2
  SAY #21874 /* ~That is... unfortunate. Very well, you may go.~ */
  IF ~~ THEN GOTO 21
END

IF ~~ THEN BEGIN 21 // from: 120.0 20.0
  SAY #21875 /* ~You have made an enemy here today, and I will face you on my own terms when the inevitable time comes.~ */
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Korgan")
!IsValidForPartyDialog("Jaheira")~ THEN DO ~EraseJournalEntry(6601)
EraseJournalEntry(6605)
EraseJournalEntry(6606)
EraseJournalEntry(34188)
EraseJournalEntry(34189)
SetGlobal("BodhiAppear","GLOBAL",3)
EscapeArea()
~ SOLVED_JOURNAL #6602 /* ~Bodhi's offer rejected.

Bodhi offered to let me join her guild, the one that has been warring with the Shadow Thieves.  She told me that my current employers were the Shadow Thieves, and that they could not be trusted.  She also offered to help me find Imoen, and at a significantly cheaper price than the Thieves.  She hinted that my duties under her would be very bloody indeed. 

I didn't think I could trust her, and I didn't want to throw away what I have done so far.  I turned her down, and now she is an enemy.   She let me leave peacefully, accepting my decision, but stated quite matter-of-factly that we would meet again on less friendly terms.~ */ EXIT
  IF ~IsValidForPartyDialog("Keldorn")~ THEN DO ~EraseJournalEntry(6601)
EraseJournalEntry(6605)
EraseJournalEntry(6606)
EraseJournalEntry(34188)
EraseJournalEntry(34189)
SetGlobal("BodhiAppear","GLOBAL",3)
EscapeArea()
~ SOLVED_JOURNAL #6602 /* ~Bodhi's offer rejected.

Bodhi offered to let me join her guild, the one that has been warring with the Shadow Thieves.  She told me that my current employers were the Shadow Thieves, and that they could not be trusted.  She also offered to help me find Imoen, and at a significantly cheaper price than the Thieves.  She hinted that my duties under her would be very bloody indeed. 

I didn't think I could trust her, and I didn't want to throw away what I have done so far.  I turned her down, and now she is an enemy.   She let me leave peacefully, accepting my decision, but stated quite matter-of-factly that we would meet again on less friendly terms.~ */ EXTERN ~KELDORJ~ 156
  IF ~!IsValidForPartyDialog("Keldorn")
IsValidForPartyDialog("Korgan")~ THEN DO ~EraseJournalEntry(6601)
EraseJournalEntry(6605)
EraseJournalEntry(6606)
EraseJournalEntry(34188)
EraseJournalEntry(34189)
SetGlobal("BodhiAppear","GLOBAL",3)
EscapeArea()
~ SOLVED_JOURNAL #6602 /* ~Bodhi's offer rejected.

Bodhi offered to let me join her guild, the one that has been warring with the Shadow Thieves.  She told me that my current employers were the Shadow Thieves, and that they could not be trusted.  She also offered to help me find Imoen, and at a significantly cheaper price than the Thieves.  She hinted that my duties under her would be very bloody indeed. 

I didn't think I could trust her, and I didn't want to throw away what I have done so far.  I turned her down, and now she is an enemy.   She let me leave peacefully, accepting my decision, but stated quite matter-of-factly that we would meet again on less friendly terms.~ */ EXTERN ~KORGANJ~ 99
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Korgan")
IsValidForPartyDialog("Jaheira")~ THEN DO ~EraseJournalEntry(6601)
EraseJournalEntry(6605)
EraseJournalEntry(6606)
EraseJournalEntry(34188)
EraseJournalEntry(34189)
SetGlobal("BodhiAppear","GLOBAL",3)
EscapeArea()
~ SOLVED_JOURNAL #6602 /* ~Bodhi's offer rejected.

Bodhi offered to let me join her guild, the one that has been warring with the Shadow Thieves.  She told me that my current employers were the Shadow Thieves, and that they could not be trusted.  She also offered to help me find Imoen, and at a significantly cheaper price than the Thieves.  She hinted that my duties under her would be very bloody indeed. 

I didn't think I could trust her, and I didn't want to throw away what I have done so far.  I turned her down, and now she is an enemy.   She let me leave peacefully, accepting my decision, but stated quite matter-of-factly that we would meet again on less friendly terms.~ */ EXTERN ~JAHEIRAJ~ 409
END

IF ~~ THEN BEGIN 22 // from: 121.0
  SAY #21884 /* ~I wish a campaign of disruption, and you will begin it. There is a shipment of supplies arriving by boat. You are to... confiscate it.~ [BODHIX18] */
  IF ~~ THEN REPLY #21889 /* ~Do you wish me to cajole the thieves out of it or is this mission one of brute force?~ */ DO ~AddXPObject(Player1,36750)
AddXPObject(Player2,36750)
AddXPObject(Player3,36750)
AddXPObject(Player4,36750)
AddXPObject(Player5,36750)
AddXPObject(Player6,36750)
TakePartyGold(15000)
~ GOTO 23
  IF ~~ THEN REPLY #21890 /* ~That's a pretty mundane task. Why would you need me for something so simple?~ */ DO ~AddXPObject(Player1,36750)
AddXPObject(Player2,36750)
AddXPObject(Player3,36750)
AddXPObject(Player4,36750)
AddXPObject(Player5,36750)
AddXPObject(Player6,36750)
TakePartyGold(15000)
~ GOTO 25
  IF ~~ THEN REPLY #21891 /* ~Such a thing will expose me as an enemy to the Shadow Thieves.~ */ DO ~AddXPObject(Player1,36750)
AddXPObject(Player2,36750)
AddXPObject(Player3,36750)
AddXPObject(Player4,36750)
AddXPObject(Player5,36750)
AddXPObject(Player6,36750)
TakePartyGold(15000)
~ GOTO 23
END

IF ~~ THEN BEGIN 23 // from: 22.2 22.0
  SAY #21895 /* ~Oh, I doubt very much you will be able to infiltrate them quietly. The Shadow Thieves probably already know of your treachery.~ */
  IF ~~ THEN GOTO 122
END

IF ~~ THEN BEGIN 24 // from: 122.0
  SAY #21899 /* ~I am not unknown to them, I am just... elusive. No, I think you will find that you will be unwelcome. Actually, you will more likely be attacked on sight.~ */
  IF ~~ THEN REPLY #21905 /* ~But how am I to be of use if I am revealed as an enemy?~ */ GOTO 26
  IF ~~ THEN REPLY #21906 /* ~What?! I thought this was to be a secret endeavor.~ */ GOTO 27
END

IF ~~ THEN BEGIN 25 // from: 22.1
  SAY #21901 /* ~I do not like to waste blood, though I may bid others to do it.  I think you will find your assault intensely violent.  Likely they already know your treachery.~ */
  IF ~~ THEN GOTO 122
END

IF ~~ THEN BEGIN 26 // from: 27.0 24.0
  SAY #21907 /* ~There will be other things for you to do in time. These little chores are only the preliminary. I will speak of others later.~ */
  IF ~~ THEN GOTO 123
END

IF ~~ THEN BEGIN 27 // from: 24.1
  SAY #21909 /* ~Secret from the guards, perhaps, but the Shadow Thieves miss very little, especially among their own. This assault will be basic, and not all that secretive.~ */
  IF ~~ THEN GOTO 26
END

IF ~~ THEN BEGIN 28 // from: 123.0
  SAY #21912 /* ~I leave you. When you have done as I have asked, you shall find me in the complex below. Simply enter through this door. Until then, farewell and good fortune.~ */
  IF ~!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Nalia")
!IsValidForPartyDialog("Edwin")~ THEN DO ~MoveToPointNoInterrupt([648.1028])
UnLock("DOOR12")
OpenDoor("DOOR12")
SetGlobal("BodhiAppear","GLOBAL",2)
SetGlobal("BodhiJob","GLOBAL",1)
SetGlobal("WorkingForBodhi","GLOBAL",1)
EscapeArea()
~ EXIT
  IF ~IsValidForPartyDialog("Jan")~ THEN DO ~MoveToPointNoInterrupt([648.1028])
UnLock("DOOR12")
OpenDoor("DOOR12")
SetGlobal("BodhiAppear","GLOBAL",2)
SetGlobal("BodhiJob","GLOBAL",1)
SetGlobal("WorkingForBodhi","GLOBAL",1)
EscapeArea()~ EXTERN ~JANJ~ 118
  IF ~!IsValidForPartyDialog("Jan")
IsValidForPartyDialog("Aerie")~ THEN DO ~MoveToPointNoInterrupt([648.1028])
UnLock("DOOR12")
OpenDoor("DOOR12")
SetGlobal("BodhiAppear","GLOBAL",2)
SetGlobal("BodhiJob","GLOBAL",1)
SetGlobal("WorkingForBodhi","GLOBAL",1)
EscapeArea()~ EXTERN ~AERIEJ~ 89
  IF ~!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Aerie")
IsValidForPartyDialog("Nalia")~ THEN DO ~MoveToPointNoInterrupt([648.1028])
UnLock("DOOR12")
OpenDoor("DOOR12")
SetGlobal("BodhiAppear","GLOBAL",2)
SetGlobal("BodhiJob","GLOBAL",1)
SetGlobal("WorkingForBodhi","GLOBAL",1)
EscapeArea()~ EXTERN ~NALIAJ~ 254
  IF ~!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Nalia")
IsValidForPartyDialog("Edwin")~ THEN DO ~MoveToPointNoInterrupt([648.1028])
UnLock("DOOR12")
OpenDoor("DOOR12")
SetGlobal("BodhiAppear","GLOBAL",2)
SetGlobal("BodhiJob","GLOBAL",1)
SetGlobal("WorkingForBodhi","GLOBAL",1)
EscapeArea()~ EXTERN ~EDWINJ~ 77
END

IF ~Global("BodhiAppear","GLOBAL",1)
Class(Player1,THIEF)
Global("BodhiMove","LOCALS",0)
PartyGoldGT(14999)
~ THEN BEGIN 29 // from:
  SAY #21915 /* ~You have arrived. That is fortunate. I was about to discipline Valen. Perhaps I will anyway; it shows that I care. Now then, let's have a look at you. Oh dear, not good at all.~ [BODHIX03] */
  IF ~~ THEN REPLY #21920 /* ~Valen said something about a business opportunity?~ */ GOTO 30
  IF ~~ THEN REPLY #21921 /* ~What would you have of me in this place?~ */ GOTO 32
  IF ~~ THEN REPLY #21922 /* ~I care not for your personal critique. Make your offer and make it quick.~ */ GOTO 33
END

IF ~~ THEN BEGIN 30 // from: 29.0
  SAY #21926 /* ~Yes, I was to offer a... relationship... to oppose your current employers, but I do not think it will be available to you after all..~ */
  IF ~~ THEN GOTO 31
END

IF ~~ THEN BEGIN 31 // from: 33.0 32.0 30.0
  SAY #21928 /* ~There may be no honor among thieves, but I cannot trust you to abandon your thief brethren on the strength of a cliche.  I apologize for the distraction.  You may go.~ */
  IF ~~ THEN GOTO 34
END

IF ~~ THEN BEGIN 32 // from: 29.1
  SAY #21931 /* ~I was to offer an opportunity for betrayal, but now that I have seen you for myself I do not think I will be wishing your service after all.~ */
  IF ~~ THEN GOTO 31
END

IF ~~ THEN BEGIN 33 // from: 29.2
  SAY #21933 /* ~Perhaps it is fortunate I have already decided not to trust you; such insolence would grow tiresome. No, you are too much like them to be of use to me.~ */
  IF ~~ THEN GOTO 31
END

IF ~~ THEN BEGIN 34 // from: 31.0
  SAY #22008 /* ~You look confused, but I will not clarify; I will take no risks with so dedicated a thief.  If we meet again it will likely be in battle.  I will explain no more.  Leave.~ */
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Aerie")~ THEN DO ~SetGlobal("BodhiAppear","GLOBAL",3)
EraseJournalEntry(6601)
EraseJournalEntry(34188)
EraseJournalEntry(34189)
ReallyForceSpell(Myself,VAMPIRE_GAS_FORM_CHANGE)
~ SOLVED_JOURNAL #22910 /* ~Meeting with Valen's mistress.

I went to the Graveyard District to meet with the mistress of the woman who approached me, but she oddly decided that even though she had intended to offer me some form of arrangement, she now could not trust me.  I am too much like the 'others', she said... referring I suppose to my current employers? I don't know why she would distrust a rogue when she was so dark herself.

She disappeared in a cloud of mist, hinting that we would meet again... in battle.~ */ EXIT
  IF ~IsValidForPartyDialog("Keldorn")~ THEN DO ~SetGlobal("BodhiAppear","GLOBAL",3)
EraseJournalEntry(6601)
EraseJournalEntry(34188)
EraseJournalEntry(34189)
ReallyForceSpell(Myself,VAMPIRE_GAS_FORM_CHANGE)~ SOLVED_JOURNAL #22910 /* ~Meeting with Valen's mistress.

I went to the Graveyard District to meet with the mistress of the woman who approached me, but she oddly decided that even though she had intended to offer me some form of arrangement, she now could not trust me.  I am too much like the 'others', she said... referring I suppose to my current employers? I don't know why she would distrust a rogue when she was so dark herself.

She disappeared in a cloud of mist, hinting that we would meet again... in battle.~ */ EXTERN ~KELDORJ~ 157
  IF ~!IsValidForPartyDialog("Keldorn")
IsValidForPartyDialog("Anomen")~ THEN DO ~SetGlobal("BodhiAppear","GLOBAL",3)
EraseJournalEntry(6601)
EraseJournalEntry(34188)
EraseJournalEntry(34189)
ReallyForceSpell(Myself,VAMPIRE_GAS_FORM_CHANGE)~ SOLVED_JOURNAL #22910 /* ~Meeting with Valen's mistress.

I went to the Graveyard District to meet with the mistress of the woman who approached me, but she oddly decided that even though she had intended to offer me some form of arrangement, she now could not trust me.  I am too much like the 'others', she said... referring I suppose to my current employers? I don't know why she would distrust a rogue when she was so dark herself.

She disappeared in a cloud of mist, hinting that we would meet again... in battle.~ */ EXTERN ~ANOMENJ~ 223
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Anomen")
IsValidForPartyDialog("Viconia")~ THEN DO ~SetGlobal("BodhiAppear","GLOBAL",3)
EraseJournalEntry(6601)
EraseJournalEntry(34188)
EraseJournalEntry(34189)
ReallyForceSpell(Myself,VAMPIRE_GAS_FORM_CHANGE)~ SOLVED_JOURNAL #22910 /* ~Meeting with Valen's mistress.

I went to the Graveyard District to meet with the mistress of the woman who approached me, but she oddly decided that even though she had intended to offer me some form of arrangement, she now could not trust me.  I am too much like the 'others', she said... referring I suppose to my current employers? I don't know why she would distrust a rogue when she was so dark herself.

She disappeared in a cloud of mist, hinting that we would meet again... in battle.~ */ EXTERN ~VICONIJ~ 59
  IF ~!IsValidForPartyDialog("Keldorn")
!IsValidForPartyDialog("Anomen")
!IsValidForPartyDialog("Viconia")
IsValidForPartyDialog("Aerie")~ THEN DO ~SetGlobal("BodhiAppear","GLOBAL",3)
EraseJournalEntry(6601)
EraseJournalEntry(34188)
EraseJournalEntry(34189)
ReallyForceSpell(Myself,VAMPIRE_GAS_FORM_CHANGE)~ SOLVED_JOURNAL #22910 /* ~Meeting with Valen's mistress.

I went to the Graveyard District to meet with the mistress of the woman who approached me, but she oddly decided that even though she had intended to offer me some form of arrangement, she now could not trust me.  I am too much like the 'others', she said... referring I suppose to my current employers? I don't know why she would distrust a rogue when she was so dark herself.

She disappeared in a cloud of mist, hinting that we would meet again... in battle.~ */ EXTERN ~AERIEJ~ 90
END

IF ~Global("BodhiJob","GLOBAL",1)
!Global("WorkingForAran","GLOBAL",1)
!PartyHasItem("MISC6V")
~ THEN BEGIN 35 // from:
  SAY #22009 /* ~Do not make me regret allying myself to you.  Get the smuggled goods at the docks.  I will be here at night and early morning awaiting your return.~ [BODHIX19] */
  IF ~~ THEN GOTO 36
END

IF ~~ THEN BEGIN 36 // from: 35.0
  SAY #22010 /* ~Do not delay. Standing idle, here, makes me... difficult.~ */
  IF ~~ THEN EXIT
END

IF ~Global("BodhiJob","GLOBAL",1)
!Global("WorkingForAran","GLOBAL",1)
PartyHasItem("MISC6V")
~ THEN BEGIN 37 // from:
  SAY #22012 /* ~I see you have returned. Ahh, I gather by your face that you have succeeded. Excellent. I will relieve you of your bounty and give you your next assignment.~ [BODHIX20] */
  IF ~~ THEN REPLY #22022 /* ~My attack will hardly cripple the guild. Why did you have me do this?~ */ DO ~AddXPObject(Player1,28500)
AddXPObject(Player2,28500)
AddXPObject(Player3,28500)
AddXPObject(Player4,28500)
AddXPObject(Player5,28500)
AddXPObject(Player6,28500)
TakePartyItem("misc6v")~ GOTO 39
  IF ~~ THEN REPLY #22025 /* ~When will you help me find Imoen? I have already paid to the necessary coin!~ */ DO ~AddXPObject(Player1,28500)
AddXPObject(Player2,28500)
AddXPObject(Player3,28500)
AddXPObject(Player4,28500)
AddXPObject(Player5,28500)
AddXPObject(Player6,28500)
TakePartyItem("misc6v")~ GOTO 40
  IF ~~ THEN REPLY #22027 /* ~I have done your dirty work. What will you have me do next?~ */ DO ~AddXPObject(Player1,28500)
AddXPObject(Player2,28500)
AddXPObject(Player3,28500)
AddXPObject(Player4,28500)
AddXPObject(Player5,28500)
AddXPObject(Player6,28500)
TakePartyItem("misc6v")~ GOTO 41
  IF ~~ THEN REPLY #22029 /* ~I am eager to help.~ */ DO ~AddXPObject(Player1,28500)
AddXPObject(Player2,28500)
AddXPObject(Player3,28500)
AddXPObject(Player4,28500)
AddXPObject(Player5,28500)
AddXPObject(Player6,28500)
TakePartyItem("misc6v")~ GOTO 42
END

IF ~Global("BodhiAppear","GLOBAL",1)
!Global("WorkingForAran","GLOBAL",1)
Global("BodhiMove","LOCALS",0)
PartyGoldLT(15000)
~ THEN BEGIN 38 // from:
  SAY #22046 /* ~You have arrived, but all is not well.  Your employers ask you to collect 20,000 gold; I will deal for 15,000, so return when you have your spending under control.~ */
  IF ~~ THEN DO ~SetGlobalTimer("Bodhi","GLOBAL",ONE_DAY)
EscapeArea()
~ UNSOLVED_JOURNAL #6601 /* ~Return to Valen's mistress with 15,000 gp.

I encountered the mistress that Valen spoke of, but she refused to deal with me as I do not have 15,000 gp... her price for dealing with me.  She left, telling me to return to the Graveyard District to meet with her when I have 15,000 gp.~ */ EXIT
END

IF ~~ THEN BEGIN 39 // from: 37.0
  SAY #22028 /* ~I did not intend for you to cripple them; that will come later.~ */
  IF ~~ THEN GOTO 43
END

IF ~~ THEN BEGIN 40 // from: 37.1
  SAY #22031 /* ~I will honor my deal, giving you exactly what I have promised. I will deliver you directly to where she is, bypassing these foolish thieves.~ */
  IF ~~ THEN GOTO 43
END

IF ~~ THEN BEGIN 41 // from: 37.2
  SAY #22033 /* ~You need not be so bitter. You will benefit from all of this in the long run. Already you have helped me, and I will show gratitude in the end.~ */
  IF ~~ THEN GOTO 43
END

IF ~~ THEN BEGIN 42 // from: 37.3
  SAY #22047 /* ~I see. It would seem you have enjoyed turning the tables on your former employers. You have given them a bruise, though it will not cripple them.~ */
  IF ~~ THEN GOTO 43
END

IF ~~ THEN BEGIN 43 // from: 42.0 41.0 40.0 39.0
  SAY #22048 /* ~This attack will have alarmed the guild, such that they fortify certain places. That draw of manpower will weaken others. Overall, my position is stronger.~ */
  IF ~~ THEN GOTO 44
END

IF ~~ THEN BEGIN 44 // from: 43.0
  SAY #22049 /* ~Now I ask for more specific tasks that will disrupt the guild further.  I give you a choice: I have two tasks, each will require a different kind of person.~ */
  IF ~~ THEN GOTO 45
END

IF ~~ THEN BEGIN 45 // from: 44.0
  SAY #22050 /* ~Choose; they cannot both be done. One is... unseemly, so if you claim to be 'good' you should choose the second, a sickly hero's task. Which do you prefer?~ */
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Korgan")~ THEN REPLY #22051 /* ~I do not wish to dirty my hands more than they are. The hero's task is my choice.~ */ GOTO 54
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Viconia")
!IsValidForPartyDialog("Korgan")~ THEN REPLY #22052 /* ~I am not above a little skullduggery. I will do the unseemly task.~ */ GOTO 46
  IF ~IsValidForPartyDialog("Minsc")~ THEN EXTERN ~MINSCJ~ 127
  IF ~!IsValidForPartyDialog("Minsc")
IsValidForPartyDialog("Valygar")~ THEN EXTERN ~VALYGARJ~ 60
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
IsValidForPartyDialog("Aerie")~ THEN EXTERN ~AERIEJ~ 91
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
!IsValidForPartyDialog("Aerie")
IsValidForPartyDialog("Viconia")~ THEN EXTERN ~VICONIJ~ 60
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
!IsValidForPartyDialog("Aerie")
!IsValidForPartyDialog("Viconia")
IsValidForPartyDialog("Korgan")~ THEN EXTERN ~KORGANJ~ 100
END

IF ~~ THEN BEGIN 46 // from: 131.1 45.1
  SAY #22053 /* ~Very well, it calls for the murder of a man.  Not a truly innocent man, but hardly a villain of epic scope. You must kill, blaming the murder on the Shadow Thieves.~ */
  IF ~~ THEN GOTO 47
END

IF ~~ THEN BEGIN 47 // from: 46.0
  SAY #22054 /* ~He is head of a merchant house and his link to Shadow Thieves is blatant.  If he was to die and certain gear was at the scene, it would implicate the guild we oppose.~ */
  IF ~~ THEN GOTO 48
END

IF ~~ THEN BEGIN 48 // from: 47.0
  SAY #22055 /* ~Take this cloak and dagger and go kill Senior Armagaran Vulova.  When he is dead, put the cloak and dagger in the fountain in his house.~ */
  IF ~~ THEN DO ~GiveItem("CLCK28",LastTalkedToBy())
GiveItem("DAGG18",LastTalkedToBy())
~ GOTO 49
END

IF ~~ THEN BEGIN 49 // from: 48.0
  SAY #22056 /* ~He will die easy, though there may be guards.  His small house is in the Government District between the Jail and the Government Building.  Go.~ */
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
!IsValidForPartyDialog("Aerie")~ THEN REPLY #22057 /* ~Very well. He will not outlive the night.~ */ GOTO 50
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
!IsValidForPartyDialog("Aerie")~ THEN REPLY #22058 /* ~This is a bit harsher than I thought. Could I not just rough him up?~ */ GOTO 52
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
!IsValidForPartyDialog("Aerie")~ THEN REPLY #22059 /* ~Murder is not what I was expecting.~ */ GOTO 52
  IF ~IsValidForPartyDialog("Minsc")~ THEN EXTERN ~MINSCJ~ 128
  IF ~!IsValidForPartyDialog("Minsc")
IsValidForPartyDialog("Valygar")~ THEN EXTERN ~VALYGARJ~ 61
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")
IsValidForPartyDialog("Aerie")~ THEN EXTERN ~AERIEJ~ 92
END

IF ~~ THEN BEGIN 50 // from: 132.0 52.0 49.0
  SAY #22060 /* ~I should hope not. Return here when you are done. I will be waiting.~ */
  IF ~~ THEN DO ~SetGlobal("BodhiJob","GLOBAL",2)
SetGlobal("BodhiAppear","GLOBAL",2)
SetGlobalTimer("Bodhi","GLOBAL",ONE_DAY)
~ UNSOLVED_JOURNAL #11546 /* ~Perform Bodhi's tasks to receive her aid.

I have returned the smuggled goods to Bodhi, and she has given me a second task now.  I am to go to the home of a merchant named Vulova and kill him... and leave a cloak and dagger she has given me in the man's fountain.  The man's home is in the Government District between the jail and the government building.  Once that is done, I must return to her.~ */ EXIT
END

IF ~~ THEN BEGIN 51 // from:
  SAY #22062 /* ~And make your next visit earlier. I do not enjoy the sunlight. I have... very delicate skin.~ */
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Valygar")~ THEN DO ~SetGlobal("BodhiAppear","GLOBAL",2)
SetGlobalTimer("Bodhi","GLOBAL",ONE_DAY)
~ EXIT
  IF ~IsValidForPartyDialog("Minsc")~ THEN DO ~SetGlobal("BodhiAppear","GLOBAL",2)
SetGlobalTimer("Bodhi","GLOBAL",ONE_DAY)~ EXTERN ~MINSCJ~ 129
  IF ~!IsValidForPartyDialog("Minsc")
IsValidForPartyDialog("Valygar")~ THEN DO ~SetGlobal("BodhiAppear","GLOBAL",2)
SetGlobalTimer("Bodhi","GLOBAL",ONE_DAY)~ EXTERN ~VALYGARJ~ 62
END

IF ~~ THEN BEGIN 52 // from: 132.2 132.1 49.2 49.1
  SAY #22063 /* ~Then send flowers and wish him well.  What were you expecting? They are thieves and assassins; we must be uncompromising.  Do you wish to do the deed or not?~ */
  IF ~~ THEN REPLY #22075 /* ~I will do it. I will not change my mind again.~ */ GOTO 50
  IF ~~ THEN REPLY #22076 /* ~I cannot do this.~ */ GOTO 53
END

IF ~~ THEN BEGIN 53 // from: 52.1
  SAY #22079 /* ~Then you will do my other task. Please, consider your decisions at the time. It will not always be possible to backtrack.~ */
  IF ~~ THEN GOTO 55
END

IF ~~ THEN BEGIN 54 // from: 131.0 45.0
  SAY #22080 /* ~I see. I had thought you up to more deadly endeavors, but this will do.~ */
  IF ~~ THEN GOTO 55
END

IF ~~ THEN BEGIN 55 // from: 54.0 53.0
  SAY #22104 /* ~The Shadow Thieves have other enemies besides me.  Recently they uncovered a traitor, and have been questioning him quite ruthlessly for some days now.~ */
  IF ~~ THEN GOTO 56
END

IF ~~ THEN BEGIN 56 // from: 55.0
  SAY #22105 /* ~You will rescue him.  He will be killed once they are through, so go quickly.  They have him at the Shadow Thief guild house on the second floor. You know the building, I think?~ */
  IF ~!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Aerie")~ THEN GOTO 57
  IF ~IsValidForPartyDialog("Minsc")~ THEN EXTERN ~MINSCJ~ 131
  IF ~!IsValidForPartyDialog("Minsc")
IsValidForPartyDialog("Aerie")~ THEN EXTERN ~AERIEJ~ 93
END

IF ~~ THEN BEGIN 57 // from: 56.0
  SAY #22106 /* ~The man's name is Palern Flynn. Remember, if he dies, you fail. I will be here in the evenings and early mornings to meet you. Good luck.~ */
  IF ~~ THEN DO ~SetGlobal("BodhiAppear","GLOBAL",2)
SetGlobalTimer("Bodhi","GLOBAL",ONE_DAY)
SetGlobal("BodhiJob","GLOBAL",3)
~ UNSOLVED_JOURNAL #6613 /* ~Perform Bodhi's tasks to receive her aid.

I have returned the smuggled goods to Bodhi, and she has given me a second task now.  I am to go to the Shadow Thief guild headquarters in the Docks District and rescue a traitor they are holding there by the name of Palern Flynn.  The mission requires that the man live, naturally, and Bodhi tells me the Shadow Thieves are interrogating him... and that I must move quickly before they kill him.  He is to be found on the second floor of the building.~ */ EXIT
END

IF ~~ THEN BEGIN 58 // from:
  SAY #22108 /* ~And, if you don't mind, get here earlier next time. I have rather delicate skin and the sunlight is quite harsh.~ */
  IF ~~ THEN DO ~SetGlobal("BodhiAppear","GLOBAL",2)
SetGlobalTimer("Bodhi","GLOBAL",ONE_DAY)
~ EXIT
END

IF ~Global("BodhiJob","GLOBAL",2)
!Global("WorkingForAran","GLOBAL",1)
OR(2)
!Dead("Vulova")
Global("PlantedEvidence","GLOBAL",0)
Global("FailedBodhi2","GLOBAL",0)
~ THEN BEGIN 59 // from:
  SAY #22109 /* ~Your task is clear, yet you delay.  Keep your word; kill Armagaran Vulova and put the Shadow Thief items I gave you in the fountain.  Return once the deed is done.~ [BODHIX21] */
  IF ~~ THEN DO ~SetGlobal("BodhiAppear","GLOBAL",2)
SetGlobalTimer("Bodhi","GLOBAL",ONE_DAY)
~ EXIT
END

IF ~NumDeadLT("Flyfgt",7)
!Dead("Palern")
Global("BodhiJob","GLOBAL",3)
!Global("WorkingForAran","GLOBAL",1)
~ THEN BEGIN 60 // from:
  SAY #22110 /* ~Your task is clear, yet you delay. Go to the Shadow Thief guild and rescue Palern Flynn from the Shadow Thieves. I await your return.~ [BODHIX21] */
  IF ~~ THEN DO ~SetGlobal("BodhiAppear","GLOBAL",2)
SetGlobalTimer("Bodhi","GLOBAL",ONE_DAY)
~ EXIT
END

IF ~Global("BodhiJob","GLOBAL",2)
!Global("WorkingForAran","GLOBAL",1)
Dead("Vulova")
Global("PlantedEvidence","GLOBAL",1)
~ THEN BEGIN 61 // from:
  SAY #22111 /* ~Well done. I trust you gave no mercy? Did you enjoy the task? Yes, I'm sure you did. Now, on to more important things.~ [BODHIX22] */
  IF ~~ THEN REPLY #22113 /* ~More important things? Was this man's murder not important?!~ */ DO ~AddXPObject(Player1,28500)
AddXPObject(Player2,28500)
AddXPObject(Player3,28500)
AddXPObject(Player4,28500)
AddXPObject(Player5,28500)
AddXPObject(Player6,28500)
~ GOTO 66
  IF ~~ THEN REPLY #22114 /* ~I have done much for you. When will you help me with Imoen?~ */ DO ~AddXPObject(Player1,28500)
AddXPObject(Player2,28500)
AddXPObject(Player3,28500)
AddXPObject(Player4,28500)
AddXPObject(Player5,28500)
AddXPObject(Player6,28500)
~ GOTO 68
  IF ~~ THEN REPLY #22115 /* ~I await your instructions.~ */ DO ~AddXPObject(Player1,28500)
AddXPObject(Player2,28500)
AddXPObject(Player3,28500)
AddXPObject(Player4,28500)
AddXPObject(Player5,28500)
AddXPObject(Player6,28500)
~ GOTO 70
END

IF ~NumDeadGT("Flyfgt",6)
!Dead("Palern")
Global("BodhiJob","GLOBAL",3)
Global("RescuedPalern","GLOBAL",1)
!Global("WorkingForAran","GLOBAL",1)~ THEN BEGIN 62 // from:
  SAY #22112 /* ~Well done.  No doubt that informant will make things difficult for the Shadow Thieves.  They will be under scrutiny, and will have to be cautious.  Now on to important things.~ [BODHIX23] */
  IF ~~ THEN REPLY #22116 /* ~The rescue of this person was not important? Then why did I do it?~ */ DO ~AddXPObject(Player1,28500)
AddXPObject(Player2,28500)
AddXPObject(Player3,28500)
AddXPObject(Player4,28500)
AddXPObject(Player5,28500)
AddXPObject(Player6,28500)
~ GOTO 66
  IF ~~ THEN REPLY #22117 /* ~I have done everything you have asked. When will you help me find Imoen?~ */ DO ~AddXPObject(Player1,28500)
AddXPObject(Player2,28500)
AddXPObject(Player3,28500)
AddXPObject(Player4,28500)
AddXPObject(Player5,28500)
AddXPObject(Player6,28500)
~ GOTO 68
  IF ~~ THEN REPLY #22118 /* ~What would you have me do?~ */ DO ~AddXPObject(Player1,28500)
AddXPObject(Player2,28500)
AddXPObject(Player3,28500)
AddXPObject(Player4,28500)
AddXPObject(Player5,28500)
AddXPObject(Player6,28500)
~ GOTO 70
END

IF ~Global("BodhiJob","GLOBAL",2)
!Global("WorkingForAran","GLOBAL",1)
!Dead("Vulova")
Global("FailedBodhi2","GLOBAL",1)
~ THEN BEGIN 63 // from:
  SAY #22119 /* ~You have returned.  My informants have kept me updated.  You displayed mercy, a crippling attribute for a killer.  Well, no matter.~ [BODHIX24] */
  IF ~~ THEN UNSOLVED_JOURNAL #6956 /* ~Perform Bodhi's tasks to receive her aid.

It seems that my failure in Bodhi's second mission was not important... she tells me the idea was to alarm the Shadow Thieves and place them off-guard.  Just as well.~ */ GOTO 65
END

IF ~Dead("Palern")
!Global("WorkingForAran","GLOBAL",1)
Global("BodhiJob","GLOBAL",3)
~ THEN BEGIN 64 // from:
  SAY #22120 /* ~You have returned.  No need to say how you fared; my spies have kept me updated.  The rescue did not go as planned, I take it? No matter, he was unimportant.~ [BODHIX24] */
  IF ~~ THEN UNSOLVED_JOURNAL #6956 /* ~Perform Bodhi's tasks to receive her aid.

It seems that my failure in Bodhi's second mission was not important... she tells me the idea was to alarm the Shadow Thieves and place them off-guard.  Just as well.~ */ GOTO 65
END

IF ~~ THEN BEGIN 65 // from: 64.0 63.0
  SAY #22121 /* ~The attack will have put the Shadow Thieves on edge, and that was half the purpose anyway. On to more important things.~ */
  IF ~~ THEN REPLY #22122 /* ~If the task was of no importance, why did you have me attempt it?~ */ GOTO 66
  IF ~~ THEN REPLY #22123 /* ~I have tried to do as you have asked. When will you help me find Imoen?~ */ GOTO 69
  IF ~~ THEN REPLY #22124 /* ~I await your next order, Bodhi.~ */ GOTO 70
END

IF ~~ THEN BEGIN 66 // from: 65.0 62.0 61.0
  SAY #22125 /* ~These tasks were to see your capabilities.  I must have careful knowledge of my contacts, and you are no exception.  You are, perhaps, even more deserving of scrutiny.~ */
  IF ~~ THEN GOTO 67
END

IF ~~ THEN BEGIN 67 // from: 66.0
  SAY #22126 /* ~You will benefit as well.  I required extra effort, but I am more tolerant of mistakes and insolence as a result. This is good for you.  Now to the task at hand.~ */
  IF ~~ THEN GOTO 71
END

IF ~~ THEN BEGIN 68 // from: 62.1 61.1
  SAY #22127 /* ~Patience, I will honor our deal.  Indeed, I will be glad to see you to your destination.  However, if my tasks are left undone, your trip will not be possible.~ */
  IF ~~ THEN GOTO 69
END

IF ~~ THEN BEGIN 69 // from: 68.0 65.1
  SAY #22128 /* ~You would not want the path contested by Shadow Thieves, would you?  The task at hand will ensure safe passage for you and her.  Let's get to it then.~ */
  IF ~~ THEN GOTO 71
END

IF ~~ THEN BEGIN 70 // from: 65.2 62.2 61.2
  SAY #22129 /* ~You are eager; regardless of your performance I can see you value your service here.  It will benefit you in the long run.  Now then, to the business at hand.~ */
  IF ~~ THEN GOTO 71
END

IF ~~ THEN BEGIN 71 // from: 70.0 69.0 67.0
  SAY #22130 /* ~It is time to take down the leadership of the Shadow Thieves and throw them into a more permanent disarray from which they may not recover.~ */
  IF ~~ THEN GOTO 72
END

IF ~~ THEN BEGIN 72 // from: 71.0
  SAY #38546 /* ~You must invade their lair for one last time. You must kill Aran Linvail, the Shadow Master. Do this for me and our arrangement will be fulfilled.~ */
  IF ~!IsValidForPartyDialog("Yoshimo")
!IsValidForPartyDialog("Jan")
!IsValidForPartyDialog("Nalia")~ THEN GOTO 73
  IF ~IsValidForPartyDialog("Yoshimo")~ THEN EXTERN ~YOSHJ~ 77
  IF ~!IsValidForPartyDialog("Yoshimo")
IsValidForPartyDialog("Jan")~ THEN EXTERN ~JANJ~ 119
  IF ~!IsValidForPartyDialog("Yoshimo")
!IsValidForPartyDialog("Jan")
IsValidForPartyDialog("Nalia")~ THEN EXTERN ~NALIAJ~ 255
END

IF ~~ THEN BEGIN 73 // from: 72.0
  SAY #38548 /* ~Aran is in the basement of the Shadow Thief guildhouse, so you need a key.  The lock is likely unpickable.  What good is a lock in a thief guild if any thief can pick it?~ */
  IF ~~ THEN GOTO 74
END

IF ~~ THEN BEGIN 74 // from: 73.0
  SAY #38549 /* ~Perhaps your former contact, Gaelan, could be 'persuaded' to give you his key. I leave the details to your discretion. Go now and return when Linvail is dead.~ */
  IF ~~ THEN GOTO 77
END

IF ~Global("BodhiJob","GLOBAL",4)
!Global("WorkingForAran","GLOBAL",1)
Global("BodhiNotReady","GLOBAL",0)
!Dead("aran")~ THEN BEGIN 75 // from:
  SAY #38550 /* ~Back so soon? Return only when Aran Linvail is dead.~ [BODHIX25] */
  IF ~~ THEN EXIT
END

IF ~Global("WorkingForAran","GLOBAL",1)~ THEN BEGIN 76 // from:
  SAY #39165 /* ~Fool! You missed the opportunity to work for me when you gave your ill-gotten gold to the Shadow Thieves. We will meet again!~ [BODHIX26] */
  IF ~~ THEN DO ~EscapeArea()~ EXIT
END

IF ~~ THEN BEGIN 77 // from: 74.0
  SAY #39253 /* ~One more thing: Tizzak, an employee of mine, is missing, and the Thieves may have him.  Find him and he may tell you how to access Aran's sanctum.  Go now!~ */
  IF ~!IsValidForPartyDialog("Yoshimo")
!IsValidForPartyDialog("Minsc")
!IsValidForPartyDialog("Edwin")~ THEN DO ~SetGlobal("BodhiJob","GLOBAL",4)~ UNSOLVED_JOURNAL #7013 /* ~Perform Bodhi's tasks to receive her aid.

My final task has been given to me by Bodhi, and it is to kill the Shadowmaster Aran Linvail.  His lair lies beneath the Shadow Thief headquarters in the Docks District, accessible only through a secret door that cannot be picked, just inside the entrance on the right.

The key for that door likely lies in the hands of my old contact Gaelan Bayle.  I will need to retrieve the key from him first if I am going to be able to enter.

Once inside, I must track down Aran's inner sanctum... perhaps with the help of a captured employee of Bodhi's named Tizzak... and kill him there.~ */ EXIT
  IF ~IsValidForPartyDialog("Yoshimo")~ THEN DO ~SetGlobal("BodhiJob","GLOBAL",4)~ UNSOLVED_JOURNAL #7013 /* ~Perform Bodhi's tasks to receive her aid.

My final task has been given to me by Bodhi, and it is to kill the Shadowmaster Aran Linvail.  His lair lies beneath the Shadow Thief headquarters in the Docks District, accessible only through a secret door that cannot be picked, just inside the entrance on the right.

The key for that door likely lies in the hands of my old contact Gaelan Bayle.  I will need to retrieve the key from him first if I am going to be able to enter.

Once inside, I must track down Aran's inner sanctum... perhaps with the help of a captured employee of Bodhi's named Tizzak... and kill him there.~ */ EXTERN ~YOSHJ~ 78
  IF ~!IsValidForPartyDialog("Yoshimo")
IsValidForPartyDialog("Minsc")~ THEN DO ~SetGlobal("BodhiJob","GLOBAL",4)~ UNSOLVED_JOURNAL #7013 /* ~Perform Bodhi's tasks to receive her aid.

My final task has been given to me by Bodhi, and it is to kill the Shadowmaster Aran Linvail.  His lair lies beneath the Shadow Thief headquarters in the Docks District, accessible only through a secret door that cannot be picked, just inside the entrance on the right.

The key for that door likely lies in the hands of my old contact Gaelan Bayle.  I will need to retrieve the key from him first if I am going to be able to enter.

Once inside, I must track down Aran's inner sanctum... perhaps with the help of a captured employee of Bodhi's named Tizzak... and kill him there.~ */ EXTERN ~MINSCJ~ 132
  IF ~!IsValidForPartyDialog("Yoshimo")
!IsValidForPartyDialog("Minsc")
IsValidForPartyDialog("Edwin")~ THEN DO ~SetGlobal("BodhiJob","GLOBAL",4)~ UNSOLVED_JOURNAL #7013 /* ~Perform Bodhi's tasks to receive her aid.

My final task has been given to me by Bodhi, and it is to kill the Shadowmaster Aran Linvail.  His lair lies beneath the Shadow Thief headquarters in the Docks District, accessible only through a secret door that cannot be picked, just inside the entrance on the right.

The key for that door likely lies in the hands of my old contact Gaelan Bayle.  I will need to retrieve the key from him first if I am going to be able to enter.

Once inside, I must track down Aran's inner sanctum... perhaps with the help of a captured employee of Bodhi's named Tizzak... and kill him there.~ */ EXTERN ~EDWINJ~ 78
END

IF ~Global("BodhiJob","GLOBAL",4)
!Global("WorkingForAran","GLOBAL",1)
Global("BodhiNotReady","GLOBAL",0)
Dead("aran")
~ THEN BEGIN 78 // from:
  SAY #42725 /* ~Ahh, you return. I take it that your... hunt... was successful? I'm sure it was a fulfilling chase, one that I certainly wish I had seen.~ [BODHIX27] */
  IF ~~ THEN REPLY #42750 /* ~I have been your entertainment for long enough! Fulfill our deal!~ */ DO ~AddXPObject(Player1,50000)
AddXPObject(Player2,50000)
AddXPObject(Player3,50000)
AddXPObject(Player4,50000)
AddXPObject(Player5,50000)
AddXPObject(Player6,50000)
~ GOTO 79
  IF ~~ THEN REPLY #42751 /* ~You were capable of the battle and the chase. Are we through with games now?~ */ DO ~AddXPObject(Player1,50000)
AddXPObject(Player2,50000)
AddXPObject(Player3,50000)
AddXPObject(Player4,50000)
AddXPObject(Player5,50000)
AddXPObject(Player6,50000)
~ GOTO 79
  IF ~~ THEN REPLY #42752 /* ~I have done as you asked. Is there anything else you wish?~ */ DO ~AddXPObject(Player1,50000)
AddXPObject(Player2,50000)
AddXPObject(Player3,50000)
AddXPObject(Player4,50000)
AddXPObject(Player5,50000)
AddXPObject(Player6,50000)
~ GOTO 79
END

IF ~~ THEN BEGIN 79 // from: 78.2 78.1 78.0
  SAY #42730 /* ~You have complied with my conditions, met my challenges, and have proven your ability to me and my cause. What cause is this, you may ask? I shall tell you.~ [BODHIX28] */
  IF ~~ THEN GOTO 80
END

IF ~~ THEN BEGIN 80 // from: 79.0
  SAY #42760 /* ~The disruption of the Shadow Thieves was the pulling of a splinter, more a happy side effect to your evaluation for service. Certainly useful, but not the true calling of either of us.~ [BODHIX29] */
  IF ~~ THEN GOTO 81
END

IF ~~ THEN BEGIN 81 // from: 80.0
  SAY #42763 /* ~You seek Imoen, your lost comrade.  I am prepared to give you her location, and the means with which to reach her.~ [BODHIX30] */
  IF ~~ THEN REPLY #42767 /* ~Get on with it then!~ */ GOTO 82
  IF ~~ THEN REPLY #42768 /* ~I thank you for this.~ */ GOTO 82
  IF ~~ THEN REPLY #59426 /* ~Imoen is of paramount importance.~ */ GOTO 82
  IF ~~ THEN REPLY #59427 /* ~My main interest is in finding out what Irenicus can do for me.~ */ GOTO 82
END

IF ~~ THEN BEGIN 82 // from: 81.3 81.2 81.1 81.0
  SAY #42769 /* ~There is a caveat, however. When you find Irenicus he is to be mine as well.  His death is not to come until we have both been satisfied.~ */
  IF ~~ THEN REPLY #42771 /* ~You mentioned some of this long ago. What do you know of this fiend?~ */ GOTO 83
  IF ~~ THEN REPLY #42772 /* ~He will not survive the meeting when I find him!  He is dead once I know what he knows!~ */ GOTO 84
  IF ~~ THEN REPLY #59428 /* ~If you can eventually show light on what he was planning for me, I will be grateful.~ */ GOTO 83
END

IF ~~ THEN BEGIN 83 // from: 82.2 82.0
  SAY #42773 /* ~I know much and will share it. You do not know the full picture of the man, and I cannot blame you for your cautiousness.~ */
  IF ~~ THEN GOTO 85
END

IF ~~ THEN BEGIN 84 // from: 82.1
  SAY #42775 /* ~I understand your anger, but you do not know the full measure of the situation. Allow me to expand upon what has happened.~ */
  IF ~~ THEN GOTO 85
END

IF ~~ THEN BEGIN 85 // from: 84.0 83.0
  SAY #42777 /* ~It is true that Irenicus was your captor, and indeed, your stay in his care was not the most comfortable, but there were circumstance that you are not aware of.~ */
  IF ~~ THEN GOTO 87
END

IF ~~ THEN BEGIN 86 // from:
  SAY #42779 /* ~Irenicus requested a service of the Shadow Thieves, for which they demanded your capture as payment. You are of great interest to them, as you probably know.~ */
  IF ~~ THEN GOTO 87
END

IF ~~ THEN BEGIN 87 // from: 86.0 85.0
  SAY #42780 /* ~I know, <CHARNAME>, that you are a child of Bhaal.  Bhaal, among other things, was lord of murder. Irenicus has a fascination with death, so you were of interest.~ */
  IF ~~ THEN GOTO 88
END

IF ~~ THEN BEGIN 88 // from: 87.0
  SAY #42782 /* ~I am the first to say that I do not endorse the experiments that were done, but you should know there was a reason to it.~ */
  IF ~~ THEN REPLY #42784 /* ~Yes, yes, enough history. What were the reasons then?~ */ GOTO 89
  IF ~~ THEN REPLY #42785 /* ~Reasons be damned, he tortured me and Imoen. Why?~ */ GOTO 89
  IF ~~ THEN REPLY #42786 /* ~So he tracked me and did what he wished. Why torture my fellows?~ */ GOTO 89
END

IF ~~ THEN BEGIN 89 // from: 88.2 88.1 88.0
  SAY #42788 /* ~I will get to that in a moment. While you were in Jon's... 'care' he discovered the potential you have, and resolved to aid your development.~ */
  IF ~~ THEN GOTO 90
END

IF ~~ THEN BEGIN 90 // from: 89.0
  SAY #42791 /* ~You mistook the unfortunate effects of his experiments for torture.  More might have been revealed to you but he had a... confrontation with the Shadow Thieves.~ */
  IF ~~ THEN GOTO 91
END

IF ~~ THEN BEGIN 91 // from: 90.0
  SAY #42796 /* ~Of course you saw the outcome of that battle, with your own Imoen spirited away. You seek her, and I seek Irenicus.  Both of us could benefit by his return, and hers.~ */
  IF ~~ THEN REPLY #42798 /* ~What exactly are you asking me to do? Hand him over to you?~ */ GOTO 92
  IF ~~ THEN REPLY #42799 /* ~I will do what I must to get Imoen, but I make no promise for the safety of this Irenicus.~ */ GOTO 92
  IF ~~ THEN REPLY #42800 /* ~What do you mean, both of us? What do you want out of this?~ */ GOTO 93
END

IF ~~ THEN BEGIN 92 // from: 91.1 91.0
  SAY #42801 /* ~I doubt very much you would put serious effort into his safe return to me. No, that is not what I truly seek.~ */
  IF ~~ THEN GOTO 94
END

IF ~~ THEN BEGIN 93 // from: 91.2
  SAY #42802 /* ~I require several things, but please, allow me to clarify. I know full well that your efforts to retrieve Irenicus would not be gentle.~ */
  IF ~~ THEN GOTO 94
END

IF ~~ THEN BEGIN 94 // from: 93.0 92.0
  SAY #42803 /* ~Irenicus is the only remnant of family that I have. We have survived through different means, but he is, for all intents and purposes, my brother.~ */
  IF ~~ THEN GOTO 95
END

IF ~~ THEN BEGIN 95 // from: 94.0
  SAY #42805 /* ~That said, he has certain things that I want. I cannot access much of his knowledge while he is incarcerated. I would have him released, and pliable to my will.~ */
  IF ~~ THEN GOTO 96
END

IF ~~ THEN BEGIN 96 // from: 95.0
  SAY #42812 /* ~I seek his return so I might use his knowledge.  His condition will be irrelevant, and what I learn from him will benefit you as well. This is what I can offer.~ */
  IF ~~ THEN REPLY #42831 /* ~So you would betray your 'brother' even as you rescue him? He deserves worse.~ */ GOTO 101
  IF ~~ THEN REPLY #42832 /* ~Perhaps I can help you, just so long as this does not interfere with my own goals.~ */ GOTO 102
  IF ~~ THEN REPLY #42834 /* ~What was the nature of the fight with the Shadow Thieves?~ */ GOTO 128
  IF ~~ THEN REPLY #42842 /* ~You ask too much of me. I have already paid a large amount of gold for your help.~ */ GOTO 99
  IF ~~ THEN REPLY #42848 /* ~You must have been close to Irenicus before. Why did you not use him then?~ */ GOTO 100
END

IF ~~ THEN BEGIN 97 // from: 128.0
  SAY #42835 /* ~It is possible they even suspected my relationship to him. I have become quite the thorn in their sides.~ */
  IF ~~ THEN REPLY #42880 /* ~Perhaps I can help you, just so long as this does not interfere with my own goals.~ */ GOTO 102
  IF ~~ THEN REPLY #42881 /* ~So you would betray your 'brother' even as you rescue him? He deserves worse.~ */ GOTO 101
  IF ~~ THEN REPLY #42883 /* ~You ask too much of me. I have already paid a large amount of gold for your help.~ */ GOTO 99
  IF ~~ THEN REPLY #42884 /* ~You must have been close to Irenicus before. Why did you not use him then?~ */ GOTO 100
END

IF ~~ THEN BEGIN 98 // from:
  SAY #42838 /* ~That I cannot tell.  Likely they wished to observe or interrogate. Either way, they wished you alive. That has probably changed with your recent actions, however.~ */
  IF ~~ THEN REPLY #42873 /* ~Perhaps I can help you, just so long as this does not interfere with my own goals.~ */ GOTO 102
  IF ~~ THEN REPLY #42874 /* ~So you would betray your 'brother' even as you rescue him? He deserves worse.~ */ GOTO 101
  IF ~~ THEN REPLY #42875 /* ~What was the nature of the fight with the Shadow Thieves?~ */ GOTO 128
  IF ~~ THEN REPLY #42876 /* ~You ask too much of me. I have already paid a large amount of gold for your help.~ */ GOTO 99
  IF ~~ THEN REPLY #42877 /* ~You must have been close to Irenicus before. Why did you not use him then?~ */ GOTO 100
END

IF ~~ THEN BEGIN 99 // from: 101.2 100.3 98.3 97.2 96.3
  SAY #42843 /* ~I ask much, that is true, but this will benefit us both. You give him to me, and I give you what he has learned about you. Think of your potential. Think of Imoen.~ */
  IF ~~ THEN REPLY #42868 /* ~Perhaps I can help you, just so long as this does not interfere with my own goals.~ */ GOTO 102
  IF ~~ THEN REPLY #42869 /* ~So you would betray your 'brother' even as you rescue him? He deserves worse.~ */ GOTO 101
  IF ~~ THEN REPLY #42871 /* ~What was the nature of the fight with the Shadow Thieves?~ */ GOTO 128
  IF ~~ THEN REPLY #42872 /* ~You must have been close to Irenicus before. Why did you not use him then?~ */ GOTO 100
END

IF ~~ THEN BEGIN 100 // from: 101.3 99.3 98.4 97.3 96.4
  SAY #42849 /* ~He is powerful, as you saw.  I doubt I could have 'convinced' him to reveal secrets while he was at full strength.  Now he is weakened by rage and combat.~ */
  IF ~~ THEN REPLY #42863 /* ~Perhaps I can help you, just so long as this does not interfere with my own goals.~ */ GOTO 102
  IF ~~ THEN REPLY #42864 /* ~So you would betray your 'brother' even as you rescue him? He deserves worse.~ */ GOTO 101
  IF ~~ THEN REPLY #42866 /* ~What was the nature of the fight with the Shadow Thieves?~ */ GOTO 128
  IF ~~ THEN REPLY #42867 /* ~You ask too much of me. I have already paid a large amount of gold for your help.~ */ GOTO 99
END

IF ~~ THEN BEGIN 101 // from: 100.1 99.1 98.1 97.1 96.0
  SAY #42853 /* ~Perhaps he does, and perhaps he will get it. What happens is entirely dependent on your willingness to help. Do it for Imoen, and yourself.~ */
  IF ~~ THEN REPLY #42856 /* ~Perhaps I can help you, just so long as this does not interfere with my own goals.~ */ GOTO 102
  IF ~~ THEN REPLY #42858 /* ~What was the nature of the fight with the Shadow Thieves?~ */ GOTO 128
  IF ~~ THEN REPLY #42859 /* ~You ask too much of me. I have already paid a large amount of gold for your help.~ */ GOTO 99
  IF ~~ THEN REPLY #42860 /* ~You must have been close to Irenicus before. Why did you not use him then?~ */ GOTO 100
END

IF ~~ THEN BEGIN 102 // from: 101.0 100.0 99.0 98.0 97.0 96.1
  SAY #42854 /* ~It will not interfere.  You will reach Irenicus and Imoen with ease, for they are both in the same place; a horrible place designed to hold the strong-willed.~ */
  IF ~~ THEN GOTO 103
END

IF ~~ THEN BEGIN 103 // from: 102.0
  SAY #42885 /* ~The Cowled Wizards took them to the one place that mages in Athkatla truly fear, a place where power is stripped and examined, where minds are laid open for study.~ */
  IF ~~ THEN GOTO 104
END

IF ~~ THEN BEGIN 104 // from: 103.0
  SAY #42891 /* ~The polite bureaucrat calls it a 'Residence for the Magically Deviant,' but mages just call it Spellhold. It is an asylum, where people are sent to disappear.~ */
  IF ~~ THEN REPLY #42892 /* ~Then it is a simple matter of retrieving Imoen from this place.~ */ GOTO 105
  IF ~~ THEN REPLY #42893 /* ~What sort of place is this that no one knows of it?~ */ GOTO 105
  IF ~~ THEN REPLY #42894 /* ~I shall storm its walls and break down its gates.~ */ GOTO 105
  IF ~~ THEN REPLY #59416 /* ~I shall have what Irenicus knows and I shall leave you the leftovers.~ */ GOTO 105
END

IF ~~ THEN BEGIN 105 // from: 104.3 104.2 104.1 104.0
  SAY #42895 /* ~If it were as simple as walking to the gates and demanding entrance it would have been done a dozen times over for the sake of other inmates.~ */
  IF ~~ THEN GOTO 106
END

IF ~~ THEN BEGIN 106 // from: 105.0
  SAY #42896 /* ~Spellhold is an asylum, a place designed to hold mages and other... talented people. Even in this magically repressive society it would be considered cruel.~ */
  IF ~~ THEN GOTO 107
END

IF ~~ THEN BEGIN 107 // from: 106.0
  SAY #42897 /* ~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 108
END

IF ~~ THEN BEGIN 108 // from: 107.0
  SAY #42898 /* ~It is considered a necessary evil, and like so many other evils, no one really wanted to deal with it once it began.~ */
  IF ~~ THEN GOTO 109
END

IF ~~ THEN BEGIN 109 // from: 108.0
  SAY #42899 /* ~I have used your gold to secure passage to the isle. You will have to contend with the asylum itself, and with the pirates that run the isle.~ */
  IF ~~ THEN REPLY #42900 /* ~You will not be coming? I am certain I could use the help.~ */ GOTO 110
  IF ~~ THEN REPLY #42901 /* ~Then I will set sail this instant. Ready the ship and I shall be on my way.~ */ GOTO 112
  IF ~~ THEN REPLY #42902 /* ~Then I will go as soon as I have restocked my supplies. Have the ship wait.~ */ GOTO 111
END

IF ~~ THEN BEGIN 110 // from: 109.0
  SAY #42903 /* ~I will be going, though I do not enjoy... the movement of the water. Once we are there I will ascertain what my involvement should be.~ */
  IF ~~ THEN REPLY #42904 /* ~Then I will set sail this instant. Ready the ship and I shall be on my way.~ */ GOTO 112
  IF ~~ THEN REPLY #42905 /* ~Then I will go as soon as I have restocked my supplies. Have the ship wait.~ */ GOTO 111
END

IF ~~ THEN BEGIN 111 // from: 113.0 110.1 109.2
  SAY #42906 /* ~Return quickly to me. The longer you wait, the more lost Imoen shall become. A stay in Spellhold is not a gentle one.~ */
  IF ~~ THEN DO ~SetGlobal("BodhiNotReady","GLOBAL",1)
~ UNSOLVED_JOURNAL #16564 /* ~Perform Bodhi's tasks to receive her aid.

Bodhi told me much today... but most importantly that she has booked passage to the island asylum where Imoen... and presumably Irenicus... are being held.  I am to return to her as soon as I am ready to leave on the ship.~ */ EXIT
END

IF ~~ THEN BEGIN 112 // from: 113.1 110.0 109.1
  SAY #42907 /* ~The ship awaits your arrival. A safe journey to you, <CHARNAME>. May you find what we both seek.~ */
  IF ~~ THEN DO ~EraseJournalEntry(5819)
EraseJournalEntry(6601)
EraseJournalEntry(6603)
EraseJournalEntry(6605)
EraseJournalEntry(6606)
EraseJournalEntry(6613)
EraseJournalEntry(6955)
EraseJournalEntry(6956)
EraseJournalEntry(7012)
EraseJournalEntry(7013)
EraseJournalEntry(7014)
EraseJournalEntry(11546)
EraseJournalEntry(11854)
EraseJournalEntry(16564)
EraseJournalEntry(22930)
EraseJournalEntry(34188)
EraseJournalEntry(34189)
StartCutSceneMode()
StartCutScene("Movie03a")~ SOLVED_JOURNAL #20694 /* ~Bodhi keeps her side of the bargain.

Bodhi agreed to fulfill our bargain, though there were some additional concerns she revealed.
According to Bodhi, Irenicus captured me because he had discovered my nature as a child of Bhaal, and he was attempting to 'aid' my development, though his methods were indistinguishable from torture. The Shadow Thieves attacked Irenicus before I could be told any of this, and I escaped as he was incarcerated.

Bodhi also told me that she is essentially Irenicus' sister, and that her reason for helping me is that she wishes to free the wizard from the same place that Imoen has been sent to, a dread asylum for magic-users called Spellhold. Bodhi does this not out of any familial attachment, but rather because she requires Irenicus for her own purposes. As added incentive she offers to reveal whatever Irenicus learned about me. 

The asylum is on an island under its own rule, and Bodhi used the gold I gave her to book passage for me.  There I will try to find a way into Spellhold to free Imoen... and, Bodhi hopes, free Irenicus at the same time.~ */ EXIT
END

IF ~Global("BodhiNotReady","GLOBAL",1)
~ THEN BEGIN 113 // from:
  SAY #42908 /* ~I trust you will waste no more time here? The ship awaits. Imoen awaits.  Irenicus awaits.~ */
  IF ~~ THEN REPLY #42909 /* ~I am not ready to go yet.~ */ GOTO 111
  IF ~~ THEN REPLY #42910 /* ~Yes, have the ship ready its sails. I am ready to go.~ */ GOTO 112
END

IF ~~ THEN BEGIN 114 // from: 12.0
  SAY #49043 /* ~I make no illusions about what will be required of you. I will wish you to kill, and I will wish you to terrorize. You must determine if you have the stomach for it.~ */
  IF ~~ THEN GOTO 129
END

IF ~~ THEN BEGIN 115 // from: 13.0
  SAY #49046 /* ~This will be a peaceful arrival, relatively speaking. The deaths will be strategic, almost artistic. You will be precise in your bloody strikes.~ */
  IF ~~ THEN GOTO 19
END

IF ~~ THEN BEGIN 116 // from: 15.0
  SAY #49047 /* ~If this is not to your tastes, then you should decide accordingly. My path will be bloody, and you will not make many friends.~ */
  IF ~~ THEN GOTO 19
END

IF ~~ THEN BEGIN 117 // from: 16.0
  SAY #49048 /* ~Think well before you act. You would not wish me as an enemy. I offer the chance to revel in the destruction of your masters. Will you take up the bloodied gauntlet?~ */
  IF ~~ THEN GOTO 19
END

IF ~~ THEN BEGIN 118 // from: 17.0
  SAY #49049 /* ~If you work for me you oppose a softhearted criminal organization. If you work for them you oppose... what? Someone 'very creepy,' as you put it?~ */
  IF ~~ THEN GOTO 119
END

IF ~~ THEN BEGIN 119 // from: 118.0
  SAY #49051 /* ~Please, this is pointless. I am the better choice. I will give you free reign to do as you will. You will be a force to be feared.~ */
  IF ~~ THEN GOTO 19
END

IF ~~ THEN BEGIN 120 // from:
  SAY #49060 /* ~Oh, were you expecting some great battle while I yelled curses at you? That will come, but not in here. Remove yourselves.~ */
  IF ~~ THEN GOTO 21
END

IF ~~ THEN BEGIN 121 // from: 18.0
  SAY #49061 /* ~I will take the 15,000 gold now, of course. It is secondary to my concerns, but that was the deal. Now to my tasks.~ */
  IF ~~ THEN FLAGS 128 GOTO 22
END

IF ~~ THEN BEGIN 122 // from: 25.0 23.0
  SAY #49062 /* ~You need not look surprised. You didn't think they would let you wander about unwatched, did you?~ */
  IF ~~ THEN GOTO 24
END

IF ~~ THEN BEGIN 123 // from: 26.0
  SAY #49063 /* ~For now, I suggest you move against that ship coming in.  They won't be at the docks for long, and if you do not get the cargo in the next few days you will fail.~ */
  IF ~~ THEN GOTO 28
END

IF ~~ THEN BEGIN 124 // from:
  SAY #49064 /* ~~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 125 // from: 129.0
  SAY #49065 /* ~And rest assured, I will help you find Imoen, I will help you find Irenicus, but not just for your reasons. I have an interest in Irenicus myself.~ */
  IF ~~ THEN GOTO 11
END

IF ~~ THEN BEGIN 126 // from: 11.5
  SAY #49067 /* ~You must bear this as one of the additional conditions. I offer much, and expect much in return. Imoen and Irenicus will be your joint goal in time.~ */
  IF ~~ THEN GOTO 127
END

IF ~~ THEN BEGIN 127 // from: 126.0
  SAY #49068 /* ~The details are mine to keep.  If you wish more, you must join me. As I said, your duties will be morally suspect, and you may face more enemies than you wish.~ */
  IF ~~ THEN GOTO 19
END

IF ~~ THEN BEGIN 128 // from: 101.1 100.2 99.2 98.2 96.2
  SAY #49069 /* ~I do not concern myself with my brother's self-destructive plans. He angered them as he angers many. Some other experiment gone wrong perhaps.~ */
  IF ~~ THEN GOTO 97
END

IF ~~ THEN BEGIN 129 // from: 114.0
  SAY #49071 /* ~15,000 is a lot, but I will compensate you well for it. You will ultimately have Imoen, and a few magical trinkets too.~ */
  IF ~~ THEN GOTO 125
END

IF ~~ THEN BEGIN 130 // from: ANOMENJ:222.0
  SAY #49790 /* ~Enough.  It is obvious you have questions.  Ask them and appease your curiosity, if not your conscience.~ */
  IF ~~ THEN REPLY #49791 /* ~How do you know of my involvement with the Shadow Thieves, or even that they are Shadow Thieves?~ */ GOTO 7
  IF ~~ THEN REPLY #49792 /* ~You know an awful lot about me. Where have you learned all of this?~ */ GOTO 7
  IF ~~ THEN REPLY #49793 /* ~It sounds like you've been spying on me. Why should I trust you?~ */ GOTO 8
  IF ~~ THEN REPLY #49794 /* ~Why would you do this? What do you stand to gain?~ */ GOTO 9
  IF ~~ THEN REPLY #59401 /* ~I don't care about my 'friend'.  I want Irenicus for revenge and for what he can do for me!~ */ GOTO 133
END

IF ~~ THEN BEGIN 131 // from:
  SAY #49826 /* ~The choice is ultimately <CHARNAME>'s.  It is <PRO_HESHE> that I have employed, only.  What do you say, <CHARNAME>?~ */
  IF ~~ THEN REPLY #49827 /* ~I do not wish to dirty my hands more than they are. The hero's task is my choice.~ */ GOTO 54
  IF ~~ THEN REPLY #49828 /* ~I am not above a little skullduggery. I will do the unseemly task.~ */ GOTO 46
END

IF ~~ THEN BEGIN 132 // from:
  SAY #49829 /* ~Such wailing is sickening and ultimately pointless.  What say you, <CHARNAME>?  Will you perform the deed or not?~ */
  IF ~~ THEN REPLY #49830 /* ~Very well. He will not outlive the night.~ */ GOTO 50
  IF ~~ THEN REPLY #49831 /* ~This is a bit harsher than I thought. Could I not just rough him up?~ */ GOTO 52
  IF ~~ THEN REPLY #49832 /* ~Murder is not what I was expecting.~ */ GOTO 52
END

IF ~~ THEN BEGIN 133 // from: 130.4 6.13
  SAY #59404 /* ~I will provide incentive for you no matter what your goals are, and I will provide you with an outlet for your more destructive side as well.~ */
  IF ~~ THEN GOTO 10
END

IF ~~ THEN BEGIN 134 // from:
  SAY #61055 /* ~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
