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

BEGIN ~_FLAM5~

IF ~NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #76850 /* ~You there!  You're under arrest for banditry, and highway robbery!  We know you're part of that bandit group who's been terrorizing the Coast Way.  Give yourselves up or there will be... trouble.~ */
  IF ~~ THEN REPLY #76851 /* ~You've got the wrong guys; we're not part of any bandit gang.~ */ GOTO 2
  IF ~~ THEN REPLY #76852 /* ~If you want a fight, we'll give you a fight.~ */ DO ~Enemy()
~ EXIT
  IF ~~ THEN REPLY #76853 /* ~We give up, you can take us prisoner, we'll even throw down our weapons.~ */ GOTO 1
  IF ~Global("X#JaheiraBanditry","GLOBAL",0)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#JaheiraBanditry","GLOBAL",1)~ EXTERN ~_JAHEIJ~ 103
END

IF ~~ THEN BEGIN 1 // from: _JAHEIJ:103.2 18.2 0.2
  SAY #76854 /* ~Good!  Actually boys, I don't think we should take these bandits in.  They don't deserve the comforts of a cell, all they deserve is a quick execution.~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
  IF ~Global("X#SHARTEELFFMER51","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SHARTEELFFMER51","GLOBAL",1)~ EXTERN ~_SHARTJ~ 102
END

IF ~~ THEN BEGIN 2 // from: _JAHEIJ:103.0 18.0 0.0
  SAY #76855 /* ~Really now, and why should we believe you?~ */
  IF ~~ THEN REPLY #76856 /* ~Well... because of my warm smile and honest demeanor.~ */ GOTO 3
  IF ~~ THEN REPLY #76857 /* ~Take 50 gold and leave us be.~ */ GOTO 4
  IF ~ReactionGT(LastTalkedToBy(Myself),HOSTILE_UPPER)
~ THEN REPLY #76858 /* ~If we were bandits, why were we walking out in the open?  Come on, just let us go, we're not the people you're looking for.~ */ GOTO 5
  IF ~~ THEN REPLY #76859 /* ~Look, sir, we really don't want any trouble.  Like you, we're hunting down bandits in the region.~ */ GOTO 6
END

IF ~~ THEN BEGIN 3 // from: 2.0
  SAY #76860 /* ~Sweet talking won't help you at all.~ */
  IF ~~ THEN REPLY #76861 /* ~Arrest us then.~ */ GOTO 17
  IF ~~ THEN REPLY #76862 /* ~We're not going without a fight.~ */ DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 4 // from: 2.1
  SAY #76863 /* ~Trying to bribe me, huh?  Slime like you don't deserve the comforts of a jail cell.~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 5 // from: 6.0 2.2
  SAY #76864 /* ~All right, maybe I was wrong about the bunch of you.  You're free to go.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 6 // from: 2.3
  SAY #76865 /* ~So you're hunting the bandits.  Well, who hired you to take on the bandits, or are you doing it out of the goodness of your heart?~ */
  IF ~~ THEN REPLY #76866 /* ~No one hired us.  We're adventurers who are just trying to help out the people of the Sword Coast.~ */ GOTO 5
  IF ~~ THEN REPLY #76867 /* ~We're working for Amn.~ */ GOTO 8
  IF ~~ THEN REPLY #76868 /* ~A noble hired us to avenge the death of his brother.~ */ GOTO 10
  IF ~~ THEN REPLY #76869 /* ~We work for the Black Talon mercenaries.~ */ DO ~Enemy()
~ GOTO 9
END

IF ~~ THEN BEGIN 7 // from:
  SAY #76870 /* ~Shut up!  Your smart remarks just got you in a heap of trouble!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 8 // from: 6.1
  SAY #76871 /* ~You're rather far from home, aren't you?  Well why don't you turn 'round and head back home.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 9 // from: 6.3
  SAY #76872 /* ~Black Talons, eh?  Well that's too bad.~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 10 // from: 6.2
  SAY #76873 /* ~Perhaps you could tell us about this noble who hired you.~ */
  IF ~~ THEN REPLY #76874 /* ~It was Liia Jannath out of Baldur's Gate.~ */ GOTO 11
  IF ~~ THEN REPLY #76875 /* ~It was Sir Tobyn out of Athkatla.~ */ GOTO 12
  IF ~~ THEN REPLY #76876 /* ~It was Aldeth Sashenstar out of Cormyr!~ */ GOTO 13
  IF ~~ THEN REPLY #76877 /* ~It was Lord Dolced out of Nashkel.~ */ GOTO 14
END

IF ~~ THEN BEGIN 11 // from: 10.0
  SAY #76878 /* ~Liia Jannath doesn't have a brother, you moron!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 12 // from: 10.1
  SAY #76879 /* ~Tobyn isn't a very Amnish-sounding name, but I'll let you go nonetheless.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 13 // from: 10.2
  SAY #76880 /* ~Aldeth Sashenstar is from Baldur's Gate, you lying weasel!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 14 // from: 10.3
  SAY #76881 /* ~I don't know any of the lords in Nashkel, so I'll have to take your word for it.  You're free to go.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 15 // from:
  SAY #76882 /* ~I am a proud member of the Flaming Fist.  Our headquarters is in Baldur's Gate, though we also operate in Beregost and the Friendly Arm inn.  We are quite concerned about the sudden rarity of iron.  Many think that the nation of Amn is gearing up for war against our great city.  If this were the case, I don't know how well we would do, lacking a resource as important as iron.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #76883 /* ~Rising tensions with Amn

I charmed a member of the Flaming Fist, and he told me that there were tensions between Baldur's Gate and the nation of Amn.  He also said that the Flaming Fist is desperately in need of iron.~ */ EXIT
END

IF ~~ THEN BEGIN 16 // from:
  SAY #75349 /* ~You're not welcome here!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 17 // from: 3.0
  SAY #76884 /* ~We're not taking you in alive, murdering swine!!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 18 // from: _JAHEIJ:103.3
  SAY #98585 /* ~The mayor of Nashkel himself, eh?~ */
  IF ~~ THEN REPLY #76851 /* ~You've got the wrong guys; we're not part of any bandit gang.~ */ GOTO 2
  IF ~~ THEN REPLY #76852 /* ~If you want a fight, we'll give you a fight.~ */ DO ~Enemy()
~ EXIT
  IF ~~ THEN REPLY #76853 /* ~We give up, you can take us prisoner, we'll even throw down our weapons.~ */ GOTO 1
END

IF ~~ THEN BEGIN 19 // from:
  SAY #99825 /* ~We see about that!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END
