// creator  : weidu.exe (version 23600)
// argument : FLAMC7.DLG
// game     : .
// source   : ./DATA/DIALOG.BIF
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

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

IF ~~ THEN BEGIN 0 // from:
  SAY #2235 /* ~You there! Stop and throw down your weapons.~ */
  IF ~~ THEN REPLY #2258 /* ~We surrender!~ */ GOTO 4
  IF ~~ THEN REPLY #2259 /* ~No way!~ */ GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 2.0 0.1
  SAY #2236 /* ~Give yourselves up. You're wanted for the murder of the Iron Throne leaders.~ */
  IF ~~ THEN REPLY #2260 /* ~We give up, just don't hurt us.~ */ GOTO 4
  IF ~~ THEN REPLY #2261 /* ~No chance of that, chumps.~ */ EXIT
END

IF ~~ THEN BEGIN 2 // from:
  SAY #2237 /* ~What are you doing here?!~ */
  IF ~~ THEN GOTO 1
END

IF ~~ THEN BEGIN 3 // from:
  SAY #2238 /* ~You are beaten. Give yourselves up, and you'll get a fair trial.~ */
  IF ~~ THEN REPLY #2248 /* ~We'll give ourselves up to the likes of you when hell freezes over.~ */ DO ~Enemy()
~ EXIT
  IF ~~ THEN REPLY #2249 /* ~Okay, we surrender.~ */ GOTO 4
END

IF ~~ THEN BEGIN 4 // from: 3.1 1.0 0.0
  SAY #2239 /* ~Strip them! They are to be taken before commander Dosan.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 /* Triggers after states #: 8 13 even though they appear after this state */
~  Global("SmugglerMove","GLOBAL",2)
~ THEN BEGIN 5 // from:
  SAY #2240 /* ~The entry tax to the city is a copper per person. Please announce... Wait a second, you're the ones wanted for murder. GUARDS! They're here, the guys on the wanted posters!~ */
  IF ~~ THEN DO ~SetGlobal("SmugglerMove","GLOBAL",3)
ClearAllActions()
StartCutSceneMode()
StartCutScene("smugcut3")
~ EXIT
END

IF WEIGHT #3 /* Triggers after states #: 8 13 even though they appear after this state */
~  Global("SmugglerMove","GLOBAL",3)
~ THEN BEGIN 6 // from:
  SAY #2241 /* ~Surrender and lay down your weapons.~ */
  IF ~~ THEN REPLY #2250 /* ~Damn, you caught us. Take us to Duke Eltan, I'm sure that all of this can be sorted out.~ */ GOTO 7
  IF ~~ THEN REPLY #2251 /* ~No way!~ */ DO ~Shout(99)
Enemy()
~ UNSOLVED_JOURNAL #26845 /* ~Afoul of the Law
I have made the choice to fight the Flaming Fist, though it appears they are only following the command of this Angelo person. It does not matter. If I kill one of them in my escape, I shall be known as a murderer of guards. If they are only doing their job, then I shall be angering the fates as well. It would be best to entangle them somehow and run.~ */ EXIT
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #2242 /* ~Duke Eltan? The Duke has been on his death bed for the past week, commander Angelo Dosan is in command now.~ */
  IF ~~ THEN REPLY #2252 /* ~Uh really, well we changed our minds. We no longer wish to surrender.~ */ DO ~Shout(99)
Enemy()
~ UNSOLVED_JOURNAL #26845 /* ~Afoul of the Law
I have made the choice to fight the Flaming Fist, though it appears they are only following the command of this Angelo person. It does not matter. If I kill one of them in my escape, I shall be known as a murderer of guards. If they are only doing their job, then I shall be angering the fates as well. It would be best to entangle them somehow and run.~ */ EXIT
  IF ~~ THEN REPLY #2253 /* ~Well, take us to him then.~ */ DO ~SetGlobal("Captured","GLOBAL",1)
ActionOverride("smuggler",MoveBetweenAreas("ar0607",[1401.809],SW))
ClearAllActions()
StartCutSceneMode()
StartCutScene("Capcut01")
~ UNSOLVED_JOURNAL #26844 /* ~Afoul of the Law
I have surrendered myself to the Flaming Fist and must go before Angelo Dosan for judgment. I doubt I shall be treated fairly by this Angelo, but I had little choice. If I were to fight the Flaming Fist, I would surely be known as a murderer of guards. They are only following the orders of their new commander and are innocent of any wrongdoing, regardless of their attacks on me. If I am ever faced with the same unfortunate choice in the future, I had best entangle the guards somehow and make my escape without harming them. The fates would not look kindly on my killing innocents, regardless of their intent.~ */ EXIT
END

IF WEIGHT #1 /* Triggers after states #: 13 even though they appear after this state */
~  Global("Captured","GLOBAL",1)
~ THEN BEGIN 8 // from:
  SAY #2243 /* ~Commander Angelo Dosan, these are the ones wanted for the murder of the Iron Throne leaders.~ */
  IF ~~ THEN EXTERN ~ANGELO~ 0
END

IF ~~ THEN BEGIN 9 // from:
  SAY #2244 /* ~Only those with invitations are allowed entrance to the inauguration. Do you have invitations?~ */
  IF ~~ THEN REPLY #2254 /* ~Yes, here you go.~ */ GOTO 10
  IF ~~ THEN REPLY #2255 /* ~Ah, no we don't. So sorry.~ */ GOTO 15
END

IF ~~ THEN BEGIN 10 // from: 9.0
  SAY #2245 /* ~All right, you may enter.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 11 // from:
  SAY #2246 /* ~You cannot come in the... Wait a minute, you're the ones wanted for murder. Surrender yourselves now.~ */
  IF ~~ THEN REPLY #2256 /* ~You got us, we surrender.~ */ EXIT
  IF ~~ THEN REPLY #2257 /* ~Sorry, we have better things to do than go to prison.~ */ EXIT
END

IF ~~ THEN BEGIN 12 // from:
  SAY #2247 /* ~There are the assassins! The men wanted for the murder of the Iron Throne leaders. Get them!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~  StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 13 // from:
  SAY #6939 /* ~We've been ordered to hunt down the party of mercenaries who committed the murders at Candlekeep.~ */
  IF ~~ THEN EXIT
END

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

IF ~~ THEN BEGIN 15 // from: 9.1
  SAY #16994 /* ~If you don't have an invitation citizen, then all you're doing is wasting our time. Please move along.~ */
  IF ~~ THEN EXIT
END
