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

BEGIN ~_LAVLEAD~

IF ~True()
~ THEN BEGIN 0 // from:
  SAY #85925 /* ~You there, wait!  Tell me I'm right.  Aren't you the mercenaries who've been causing the Iron Throne so much trouble?~ */
  IF ~~ THEN REPLY #85926 /* ~No, we work for the Black Talons.  Get back to work, slave!~ */ GOTO 1
  IF ~~ THEN REPLY #85927 /* ~Yes, we are.  How did you come by this information, you look to be one of the Throne's slaves?~ */ GOTO 2
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #85928 /* ~Uh... sorry... yes sir, I'll get right back to work.~ */
  IF ~~ THEN EXIT
  IF ~Global("X#ImoenRill3","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ImoenRill3","GLOBAL",1)~ EXTERN ~_IMOEN2~ 195
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #85929 /* ~Good!  My name is Rill, and I'm the de facto leader of the slaves here beneath the Cloakwood.  I heard about you, because I'm always careful to listen to what the Black Talons talk about.  It seems that the Iron Throne has placed a large price on the head of someone named <CHARNAME>, which would be you, I assume.  Enough introductions, we don't have much time.  I need 100 gold.  The captain of the Black Talons on the first floor is not known for his loyalty to the Throne.  IF you give me the money, I'm sure I could bribe him to look the other way, while I escape with the rest of the slaves.  After all, most of the Talons are going to be preoccupied with you.  Well, how about it?~ */
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #85930 /* ~I'm not giving any gold to a stupid slave!  Out of my way.~ */ GOTO 3
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
PartyGoldGT(99)
~ THEN REPLY #85931 /* ~Here, take the gold you need, and get yourself and the others away from here as soon as possible.~ */ GOTO 4
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98536 /* ~I'm not giving any gold to a stupid slave! Out of my way.~ */ DO ~SetGlobal("X#JahRill","GLOBAL",1)
~ EXTERN ~_JAHEIJ~ 74
  IF ~  PartyGoldGT(99)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98537 /* ~Here, take the gold you need, and get yourself and the others away from here, as soon as possible.~ */ GOTO 4
  IF ~Global("X#CoranRill","GLOBAL",0)
InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#CoranRill","GLOBAL",1)~ EXTERN ~_CORANJ~ 128
  IF ~Global("X#LAVLEAD2","GLOBAL",0)
InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#LAVLEAD2","GLOBAL",1)~ GOTO 6
  IF ~Global("X#LAVLEAD2","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#LAVLEAD2","GLOBAL",1)~ EXTERN ~_KIVANJ~ 294
  IF ~Global("X#LAVLEAD2","GLOBAL",0)
InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#LAVLEAD2","GLOBAL",1)~ EXTERN ~_EDWINJ~ 121
  IF ~Global("X#LAVLEAD2","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#LAVLEAD2","GLOBAL",1)~ GOTO 9
  IF ~Global("X#LAVLEAD2","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#LAVLEAD2","GLOBAL",1)~ EXTERN ~_MINSCJ~ 156
  IF ~Global("X#LAVLEAD2","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#LAVLEAD2","GLOBAL",1)~ GOTO 13
  IF ~Global("X#LAVLEAD2","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#LAVLEAD2","GLOBAL",1)~ EXTERN ~_VICONJ~ 136
END

IF ~~ THEN BEGIN 3 // from: _MINSCJ:158.0 _MINSCJ:157.0 _MINSCJ:156.0 18.0 17.0 16.0 15.0 14.0 13.0 12.0 11.0 10.0 9.0 8.0 7.0 6.0 2.0 _KIVANJ:299.0 _KIVANJ:298.0 _KIVANJ:297.0 _KIVANJ:296.0 _KIVANJ:295.0 _KIVANJ:294.0
  SAY #85932 /* ~Black-hearted bastard!~ */
  IF ~  OR(3)
!InParty("ajantis")
!InMyArea("ajantis")
StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXIT
  IF ~  PartyGoldGT(99)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
Global("X#AjantisHelpRill","GLOBAL",0)
~ THEN EXTERN ~_AJANTJ~ 111
  IF ~Global("X#ImoenRill4","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
PartyGoldGT(5000)
~ THEN DO ~SetGlobal("X#ImoenRill4","GLOBAL",1)~ EXTERN ~_IMOEN2~ 196
END

IF ~~ THEN BEGIN 4 // from: _MINSCJ:158.3 _MINSCJ:158.1 _MINSCJ:157.3 _MINSCJ:157.1 _MINSCJ:156.3 _MINSCJ:156.1 18.3 18.1 17.3 17.1 16.3 16.1 15.3 15.1 14.3 14.1 13.3 13.1 12.3 12.1 11.3 11.1 10.3 10.1 9.3 9.1 8.3 8.1 7.3 7.1 6.3 6.1 2.3 2.1 _KIVANJ:299.3 _KIVANJ:299.1 _KIVANJ:298.3 _KIVANJ:298.1 _KIVANJ:297.3 _KIVANJ:297.1 _KIVANJ:296.3 _KIVANJ:296.1 _KIVANJ:295.3 _KIVANJ:295.1 _KIVANJ:294.3 _KIVANJ:294.1
  SAY #85933 /* ~Thank you!  Thank you so much.  I wish you well, and hope that you can bring an end to this stinking operation.~ */
  IF ~~ THEN DO ~TakePartyGold(100)
SetGlobal("FREESLAV","GLOBAL",1)
EscapeArea()
~ EXIT
  IF ~Global("X#LAVLEAD4","GLOBAL",0)~ THEN DO ~SetGlobal("X#LAVLEAD4","GLOBAL",1)~ GOTO 19
  IF ~Global("X#LAVLEAD4","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
PartyGoldLT(1000)
~ THEN DO ~SetGlobal("X#LAVLEAD4","GLOBAL",1)~ EXTERN ~_IMOEN2~ 385
  IF ~Global("X#LAVLEAD4","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
PartyGoldLT(1000)
~ THEN DO ~SetGlobal("X#LAVLEAD4","GLOBAL",1)~ EXTERN ~_IMOEN2~ 386
  IF ~Global("X#LAVLEAD4","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
PartyGoldGT(999)
~ THEN DO ~SetGlobal("X#LAVLEAD4","GLOBAL",1)~ EXTERN ~_IMOEN2~ 388
  IF ~Global("X#LAVLEAD4","GLOBAL",0)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#LAVLEAD4","GLOBAL",1)~ EXTERN ~_AJANTJ~ 233
END

IF ~~ THEN BEGIN 5 // from: _JAHEIJ:74.1
  SAY #98539 /* ~Thank you, ma'am, thank you very much! I wish you well, and hope that you can bring an end to this stinking operation.~ */
  IF ~~ THEN DO ~TakePartyGold(100)
SetGlobal("FREESLAV","GLOBAL",1)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 6 // from: 2.5
  SAY #103067 /* ~Creep.~ */
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #85930 /* ~I'm not giving any gold to a stupid slave!  Out of my way.~ */ GOTO 3
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
PartyGoldGT(99)
~ THEN REPLY #85931 /* ~Here, take the gold you need, and get yourself and the others away from here as soon as possible.~ */ GOTO 4
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98536 /* ~I'm not giving any gold to a stupid slave! Out of my way.~ */ DO ~SetGlobal("X#JahRill","GLOBAL",1)
~ EXTERN ~_JAHEIJ~ 74
  IF ~  PartyGoldGT(99)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98537 /* ~Here, take the gold you need, and get yourself and the others away from here, as soon as possible.~ */ GOTO 4
  IF ~Global("X#CoranRill","GLOBAL",0)
InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#CoranRill","GLOBAL",1)~ EXTERN ~_CORANJ~ 128
END

IF ~~ THEN BEGIN 7 // from: _KIVANJ:294.5
  SAY #103067 /* ~Creep.~ */
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #85930 /* ~I'm not giving any gold to a stupid slave!  Out of my way.~ */ GOTO 3
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
PartyGoldGT(99)
~ THEN REPLY #85931 /* ~Here, take the gold you need, and get yourself and the others away from here as soon as possible.~ */ GOTO 4
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98536 /* ~I'm not giving any gold to a stupid slave! Out of my way.~ */ DO ~SetGlobal("X#JahRill","GLOBAL",1)
~ EXTERN ~_JAHEIJ~ 74
  IF ~  PartyGoldGT(99)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98537 /* ~Here, take the gold you need, and get yourself and the others away from here, as soon as possible.~ */ GOTO 4
  IF ~Global("X#CoranRill","GLOBAL",0)
InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#CoranRill","GLOBAL",1)~ EXTERN ~_CORANJ~ 128
END

IF ~~ THEN BEGIN 8 // from: _KIVANJ:295.5
  SAY #103067 /* ~Creep.~ */
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #85930 /* ~I'm not giving any gold to a stupid slave!  Out of my way.~ */ GOTO 3
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
PartyGoldGT(99)
~ THEN REPLY #85931 /* ~Here, take the gold you need, and get yourself and the others away from here as soon as possible.~ */ GOTO 4
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98536 /* ~I'm not giving any gold to a stupid slave! Out of my way.~ */ DO ~SetGlobal("X#JahRill","GLOBAL",1)
~ EXTERN ~_JAHEIJ~ 74
  IF ~  PartyGoldGT(99)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98537 /* ~Here, take the gold you need, and get yourself and the others away from here, as soon as possible.~ */ GOTO 4
  IF ~Global("X#CoranRill","GLOBAL",0)
InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#CoranRill","GLOBAL",1)~ EXTERN ~_CORANJ~ 128
END

IF ~~ THEN BEGIN 9 // from: 2.8
  SAY #103064 /* ~Thank you, sir. We are glad to have honest men like you champion our cause.~ */
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #85930 /* ~I'm not giving any gold to a stupid slave!  Out of my way.~ */ GOTO 3
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
PartyGoldGT(99)
~ THEN REPLY #85931 /* ~Here, take the gold you need, and get yourself and the others away from here as soon as possible.~ */ GOTO 4
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98536 /* ~I'm not giving any gold to a stupid slave! Out of my way.~ */ DO ~SetGlobal("X#JahRill","GLOBAL",1)
~ EXTERN ~_JAHEIJ~ 74
  IF ~  PartyGoldGT(99)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98537 /* ~Here, take the gold you need, and get yourself and the others away from here, as soon as possible.~ */ GOTO 4
  IF ~Global("X#CoranRill","GLOBAL",0)
InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#CoranRill","GLOBAL",1)~ EXTERN ~_CORANJ~ 128
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN GOTO 10
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 296
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 122
END

IF ~~ THEN BEGIN 10 // from: 9.5 _KIVANJ:296.5
  SAY #103067 /* ~Creep.~ */
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #85930 /* ~I'm not giving any gold to a stupid slave!  Out of my way.~ */ GOTO 3
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
PartyGoldGT(99)
~ THEN REPLY #85931 /* ~Here, take the gold you need, and get yourself and the others away from here as soon as possible.~ */ GOTO 4
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98536 /* ~I'm not giving any gold to a stupid slave! Out of my way.~ */ DO ~SetGlobal("X#JahRill","GLOBAL",1)
~ EXTERN ~_JAHEIJ~ 74
  IF ~  PartyGoldGT(99)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98537 /* ~Here, take the gold you need, and get yourself and the others away from here, as soon as possible.~ */ GOTO 4
  IF ~Global("X#CoranRill","GLOBAL",0)
InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#CoranRill","GLOBAL",1)~ EXTERN ~_CORANJ~ 128
END

IF ~~ THEN BEGIN 11 // from: _MINSCJ:156.8
  SAY #103064 /* ~Thank you, sir. We are glad to have honest men like you champion our cause.~ */
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #85930 /* ~I'm not giving any gold to a stupid slave!  Out of my way.~ */ GOTO 3
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
PartyGoldGT(99)
~ THEN REPLY #85931 /* ~Here, take the gold you need, and get yourself and the others away from here as soon as possible.~ */ GOTO 4
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98536 /* ~I'm not giving any gold to a stupid slave! Out of my way.~ */ DO ~SetGlobal("X#JahRill","GLOBAL",1)
~ EXTERN ~_JAHEIJ~ 74
  IF ~  PartyGoldGT(99)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98537 /* ~Here, take the gold you need, and get yourself and the others away from here, as soon as possible.~ */ GOTO 4
  IF ~Global("X#CoranRill","GLOBAL",0)
InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#CoranRill","GLOBAL",1)~ EXTERN ~_CORANJ~ 128
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN GOTO 12
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 297
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 123
END

IF ~~ THEN BEGIN 12 // from: _MINSCJ:156.5 11.5 _KIVANJ:297.5
  SAY #103067 /* ~Creep.~ */
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #85930 /* ~I'm not giving any gold to a stupid slave!  Out of my way.~ */ GOTO 3
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
PartyGoldGT(99)
~ THEN REPLY #85931 /* ~Here, take the gold you need, and get yourself and the others away from here as soon as possible.~ */ GOTO 4
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98536 /* ~I'm not giving any gold to a stupid slave! Out of my way.~ */ DO ~SetGlobal("X#JahRill","GLOBAL",1)
~ EXTERN ~_JAHEIJ~ 74
  IF ~  PartyGoldGT(99)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98537 /* ~Here, take the gold you need, and get yourself and the others away from here, as soon as possible.~ */ GOTO 4
  IF ~Global("X#CoranRill","GLOBAL",0)
InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#CoranRill","GLOBAL",1)~ EXTERN ~_CORANJ~ 128
END

IF ~~ THEN BEGIN 13 // from: 2.10
  SAY #103062 /* ~Please, <PRO_SIRMAAM>... This is our best chance for freedom, we just need your help!~ */
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #85930 /* ~I'm not giving any gold to a stupid slave!  Out of my way.~ */ GOTO 3
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
PartyGoldGT(99)
~ THEN REPLY #85931 /* ~Here, take the gold you need, and get yourself and the others away from here as soon as possible.~ */ GOTO 4
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98536 /* ~I'm not giving any gold to a stupid slave! Out of my way.~ */ DO ~SetGlobal("X#JahRill","GLOBAL",1)
~ EXTERN ~_JAHEIJ~ 74
  IF ~  PartyGoldGT(99)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98537 /* ~Here, take the gold you need, and get yourself and the others away from here, as soon as possible.~ */ GOTO 4
  IF ~Global("X#CoranRill","GLOBAL",0)
InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#CoranRill","GLOBAL",1)~ EXTERN ~_CORANJ~ 128
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN GOTO 15
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 298
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 124
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 14
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 157
END

IF ~~ THEN BEGIN 14 // from: _MINSCJ:157.8 13.8
  SAY #103064 /* ~Thank you, sir. We are glad to have honest men like you champion our cause.~ */
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #85930 /* ~I'm not giving any gold to a stupid slave!  Out of my way.~ */ GOTO 3
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
PartyGoldGT(99)
~ THEN REPLY #85931 /* ~Here, take the gold you need, and get yourself and the others away from here as soon as possible.~ */ GOTO 4
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98536 /* ~I'm not giving any gold to a stupid slave! Out of my way.~ */ DO ~SetGlobal("X#JahRill","GLOBAL",1)
~ EXTERN ~_JAHEIJ~ 74
  IF ~  PartyGoldGT(99)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98537 /* ~Here, take the gold you need, and get yourself and the others away from here, as soon as possible.~ */ GOTO 4
  IF ~Global("X#CoranRill","GLOBAL",0)
InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#CoranRill","GLOBAL",1)~ EXTERN ~_CORANJ~ 128
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN GOTO 15
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 298
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 124
END

IF ~~ THEN BEGIN 15 // from: _MINSCJ:157.5 14.5 13.5 _KIVANJ:298.5
  SAY #103067 /* ~Creep.~ */
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #85930 /* ~I'm not giving any gold to a stupid slave!  Out of my way.~ */ GOTO 3
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
PartyGoldGT(99)
~ THEN REPLY #85931 /* ~Here, take the gold you need, and get yourself and the others away from here as soon as possible.~ */ GOTO 4
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98536 /* ~I'm not giving any gold to a stupid slave! Out of my way.~ */ DO ~SetGlobal("X#JahRill","GLOBAL",1)
~ EXTERN ~_JAHEIJ~ 74
  IF ~  PartyGoldGT(99)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98537 /* ~Here, take the gold you need, and get yourself and the others away from here, as soon as possible.~ */ GOTO 4
  IF ~Global("X#CoranRill","GLOBAL",0)
InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#CoranRill","GLOBAL",1)~ EXTERN ~_CORANJ~ 128
END

IF ~~ THEN BEGIN 16 // from:
  SAY #103062 /* ~Please, <PRO_SIRMAAM>... This is our best chance for freedom, we just need your help!~ */
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #85930 /* ~I'm not giving any gold to a stupid slave!  Out of my way.~ */ GOTO 3
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
PartyGoldGT(99)
~ THEN REPLY #85931 /* ~Here, take the gold you need, and get yourself and the others away from here as soon as possible.~ */ GOTO 4
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98536 /* ~I'm not giving any gold to a stupid slave! Out of my way.~ */ DO ~SetGlobal("X#JahRill","GLOBAL",1)
~ EXTERN ~_JAHEIJ~ 74
  IF ~  PartyGoldGT(99)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98537 /* ~Here, take the gold you need, and get yourself and the others away from here, as soon as possible.~ */ GOTO 4
  IF ~Global("X#CoranRill","GLOBAL",0)
InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#CoranRill","GLOBAL",1)~ EXTERN ~_CORANJ~ 128
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN GOTO 18
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 299
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 125
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN GOTO 17
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 158
END

IF ~~ THEN BEGIN 17 // from: _MINSCJ:158.8 16.8
  SAY #103064 /* ~Thank you, sir. We are glad to have honest men like you champion our cause.~ */
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #85930 /* ~I'm not giving any gold to a stupid slave!  Out of my way.~ */ GOTO 3
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
PartyGoldGT(99)
~ THEN REPLY #85931 /* ~Here, take the gold you need, and get yourself and the others away from here as soon as possible.~ */ GOTO 4
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98536 /* ~I'm not giving any gold to a stupid slave! Out of my way.~ */ DO ~SetGlobal("X#JahRill","GLOBAL",1)
~ EXTERN ~_JAHEIJ~ 74
  IF ~  PartyGoldGT(99)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98537 /* ~Here, take the gold you need, and get yourself and the others away from here, as soon as possible.~ */ GOTO 4
  IF ~Global("X#CoranRill","GLOBAL",0)
InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#CoranRill","GLOBAL",1)~ EXTERN ~_CORANJ~ 128
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN GOTO 18
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 299
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 125
END

IF ~~ THEN BEGIN 18 // from: _MINSCJ:158.5 17.5 16.5 _KIVANJ:299.5
  SAY #103067 /* ~Creep.~ */
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #85930 /* ~I'm not giving any gold to a stupid slave!  Out of my way.~ */ GOTO 3
  IF ~  OR(3)
!InParty("jaheira")
!InMyArea("jaheira")
StateCheck("jaheira",CD_STATE_NOTVALID)
PartyGoldGT(99)
~ THEN REPLY #85931 /* ~Here, take the gold you need, and get yourself and the others away from here as soon as possible.~ */ GOTO 4
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98536 /* ~I'm not giving any gold to a stupid slave! Out of my way.~ */ DO ~SetGlobal("X#JahRill","GLOBAL",1)
~ EXTERN ~_JAHEIJ~ 74
  IF ~  PartyGoldGT(99)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN REPLY #98537 /* ~Here, take the gold you need, and get yourself and the others away from here, as soon as possible.~ */ GOTO 4
  IF ~Global("X#CoranRill","GLOBAL",0)
InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#CoranRill","GLOBAL",1)~ EXTERN ~_CORANJ~ 128
END

IF ~~ THEN BEGIN 19 // from: 4.1
  SAY #103072 /* ~Thanks again! And good luck!~ */
  IF ~~ THEN DO ~TakePartyGold(100)
SetGlobal("FREESLAV","GLOBAL",1)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 20 // from: _IMOEN2:385.0
  SAY #103072 /* ~Thanks again! And good luck!~ */
  IF ~~ THEN DO ~TakePartyGold(100)
SetGlobal("FREESLAV","GLOBAL",1)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 21 // from: _IMOEN2:387.0 _IMOEN2:386.0
  SAY #103072 /* ~Thanks again! And good luck!~ */
  IF ~~ THEN DO ~TakePartyGold(100)
SetGlobal("FREESLAV","GLOBAL",1)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 22 // from: _IMOEN2:390.0 _IMOEN2:389.0 _IMOEN2:388.0
  SAY #103072 /* ~Thanks again! And good luck!~ */
  IF ~~ THEN DO ~TakePartyGold(100)
SetGlobal("FREESLAV","GLOBAL",1)
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 23 // from: _IMOEN2:393.0 _IMOEN2:392.0 _IMOEN2:391.0
  SAY #103072 /* ~Thanks again! And good luck!~ */
  IF ~~ THEN DO ~TakePartyGold(100)
SetGlobal("FREESLAV","GLOBAL",1)
EscapeArea()
~ EXIT
END
