// creator  : weidu.exe (version 23600)
// argument : NEB.DLG
// game     : .
// source   : ./override/NEB.DLG
// dialog   : lang\en_us/dialog.tlk
// dialogF  : (none)

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

IF WEIGHT #1 /* Triggers after states #: 17 even though they appear after this state */
~  NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #2149 /* ~Hey, you. I wonder how you got out of your cell? Did someone leave it open or perhaps you managed to pinch my key—oh no ya haven't, heh heh. So, are you the group that's wanted for murder on three different counts? Don't try to deny it, I know it's you. Well, heh heh, my name's Neb.~ */
  IF ~~ THEN REPLY #2153 /* ~Who cares what your name is, Neb? Just shut up.~ */ GOTO 1
  IF ~~ THEN REPLY #2154 /* ~Neb, do you know what's been going on in the city lately?~ */ GOTO 3
  IF ~~ THEN REPLY #2155 /* ~So why are you in prison, Neb?~ */ GOTO 2
END

IF ~~ THEN BEGIN 1 // from: 26.0 25.0 24.0 23.0 22.0 21.0 2.0 0.0
  SAY #2150 /* ~Hey, I was just trying to be friendly.~ */
  IF ~~ THEN EXIT
  IF ~Global("X#AjantisNeb1","GLOBAL",0)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AjantisNeb1","GLOBAL",1)~ EXTERN ~AJANTJ~ 79
END

IF ~~ THEN BEGIN 2 // from: 0.2
  SAY #2151 /* ~Heh heh, I killed some little street urchins. They're such a clutter to this city, ya know? They scream good too, especially the little girls.~ */
  IF ~~ THEN REPLY #2156 /* ~Filthy monster, shut your mouth.~ */ GOTO 1
  IF ~~ THEN REPLY #2157 /* ~So Neb, do you know what's been going on in the city lately?~ */ GOTO 3
  IF ~Global("X#NEB2","GLOBAL",0)
InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NEB2","GLOBAL",1)~ GOTO 21
  IF ~Global("X#NEB2","GLOBAL",0)
InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NEB2","GLOBAL",1)~ EXTERN ~SKIEJ~ 193
  IF ~Global("X#NEB2","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NEB2","GLOBAL",1)~ GOTO 23
  IF ~Global("X#NEB2","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NEB2","GLOBAL",1)~ EXTERN ~VICONJ~ 181
END

IF ~~ THEN BEGIN 3 // from: 26.1 25.1 24.1 23.1 22.1 21.1 2.1 0.1
  SAY #2152 /* ~Oh yeah, lots of stuff. You know about Duke Eltan, don't ya? He's been diseased. That's why Angelo's in charge now. It would have been Scar, but he went out and got assassinated, heh heh. Ya, the city's gone downhill over the last week. Too bad, heh heh.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #26846 /* ~Afoul of the Law
Once Angelo locked me up, I learned from a criminal called Neb that Duke Eltan is sick and Scar has died.~ */ EXIT
END

IF WEIGHT #2 /* Triggers after states #: 17 even though they appear after this state */
~  NumberOfTimesTalkedTo(1)
~ THEN BEGIN 4 // from:
  SAY #6310 /* ~Heh, heh, you're getting impatient in here, are ye?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 17 even though they appear after this state */
~  NumberOfTimesTalkedTo(2)
~ THEN BEGIN 5 // from:
  SAY #16951 /* ~I've got a way out of here, you know... Heh, hidden it well, haven't I? Search all you want and you won't find it, heh heh.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 17 even though they appear after this state */
~  NumberOfTimesTalkedTo(3)
~ THEN BEGIN 6 // from:
  SAY #16952 /* ~Heh, good thing ol' Neb decided to mix a little bit of illusioncraft with his thievery, eh? Sure, sure... I'll tell you what. Murderer to murderer now, monster to monster, are you wanting out?~ */
  IF ~~ THEN REPLY #16953 /* ~Please, we'll do whatever it takes... It's very important that we get out of here.~ */ GOTO 7
  IF ~~ THEN REPLY #16954 /* ~I'd rather rot in this cell than be indebted to the likes of you.~ */ GOTO 10
  IF ~Global("X#XANNEB","GLOBAL",0)
InParty("xan")
InMyArea("xan")
!StateCheck("xan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#XANNEB","GLOBAL",1)~ EXTERN ~XANJ~ 149
END

IF ~~ THEN BEGIN 7 // from: 19.0 6.0
  SAY #16955 /* ~Heh, sure, sure, everyone's wanting out, but does the world really want us out? Maybe it's safer if we all just stay in here, heh... Monster to monster now, murderer to murderer, how many little children passed away at old Neb's hands? Not one, not two, neither four nor seven nor twelve nor twenty but the next one, the next one in the sequence...~ */
  IF ~~ THEN REPLY #16957 /* ~You killed thirty-eight children, Neb... How could you?~ */ GOTO 9
  IF ~~ THEN REPLY #16956 /* ~You killed twenty-six children, Neb... A murderer and a monster, indeed.~ */ GOTO 9
  IF ~~ THEN REPLY #16958 /* ~You killed eighteen children, Neb... The very thought of it sickens me.~ */ GOTO 9
  IF ~~ THEN REPLY #16959 /* ~You killed forty-one children, Neb... May you rot for as many lifetimes in this cell.~ */ GOTO 9
  IF ~~ THEN REPLY #16960 /* ~You killed thirty-three children, Neb... May the gods and all their solars wreak their vengeance.~ */ GOTO 8
  IF ~~ THEN REPLY #16961 /* ~You killed seventy-six children, Neb... All this and no remorse.~ */ GOTO 9
  IF ~~ THEN REPLY #16962 /* ~You killed thirty children, Neb... Do their voices not haunt you in your sleep?~ */ GOTO 9
  IF ~~ THEN REPLY #16963 /* ~You killed thirty-eight children, Neb... May your gnomish soul burn in each of the Nine Hells.~ */ GOTO 9
  IF ~Global("X#GarNeb","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GarNeb","GLOBAL",1)~ EXTERN ~GARRIJ~ 85
END

IF ~~ THEN BEGIN 8 // from: 20.4 7.4
  SAY #16964 /* ~Let the solars come and I shall kill them too! In a world without justice, the gods are little more than a divine puppet show. Come, the tunnel's through the wall here, and it is time we cut ourselves free from this confining womb.~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
  IF ~Global("X#NEB8","GLOBAL",0)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NEB8","GLOBAL",1)~ GOTO 27
  IF ~Global("X#NEB8","GLOBAL",0)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NEB8","GLOBAL",1)~ EXTERN ~JAHEIJ~ 378
  IF ~Global("X#NEB8","GLOBAL",0)
InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NEB8","GLOBAL",1)~ GOTO 29
  IF ~Global("X#NEB8","GLOBAL",0)
InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NEB8","GLOBAL",1)~ EXTERN ~DYNAHJ~ 218
  IF ~Global("X#NEB8","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NEB8","GLOBAL",1)~ GOTO 33
  IF ~Global("X#NEB8","GLOBAL",0)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NEB8","GLOBAL",1)~ EXTERN ~KIVANJ~ 378
  IF ~Global("X#NEB8","GLOBAL",0)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NEB8","GLOBAL",1)~ GOTO 39
  IF ~Global("X#NEB8","GLOBAL",0)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#NEB8","GLOBAL",1)~ EXTERN ~AJANTJ~ 259
END

IF ~~ THEN BEGIN 9 // from: 20.7 20.6 20.5 20.3 20.2 20.1 20.0 7.7 7.6 7.5 7.3 7.2 7.1 7.0
  SAY #16965 /* ~Thirty-three! Thirty-three! The entire world should know that Neb murdered thirty-three children in the dead of night! And then you speak of it so disdainfully, too, as if it were beneath you... How many did you kill, then? Thirty-four?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 10 // from: 19.1 6.1
  SAY #16967 /* ~Heh, then rot you will, rot you will...~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #5 /* Triggers after states #: 17 even though they appear after this state */
~  NumberOfTimesTalkedTo(4)
~ THEN BEGIN 11 // from:
  SAY #16968 /* ~Heh heh... so you still want to get out, do you? Yes, I do hold the power in this situation, don't I...? You can love me, you can hate me, it doesn't matter... You still must do as I wish. Quick now, a riddle for my captive audience: If you look at me, we look at each other, you with eyes and me with yours. If you speak to me, I only mime your words, for while I wear your lips, I have no voice. What am I, foolish ones? What am I?~ */
  IF ~~ THEN REPLY #16969 /* ~A potato.~ */ GOTO 12
  IF ~~ THEN REPLY #16970 /* ~A mannequin.~ */ GOTO 12
  IF ~~ THEN REPLY #16971 /* ~A squid.~ */ GOTO 12
  IF ~~ THEN REPLY #16972 /* ~The wind.~ */ GOTO 12
  IF ~~ THEN REPLY #16973 /* ~A doppelganger.~ */ GOTO 12
  IF ~~ THEN REPLY #16974 /* ~A lover.~ */ GOTO 12
  IF ~~ THEN REPLY #16975 /* ~A mirror.~ */ GOTO 13
  IF ~~ THEN REPLY #16976 /* ~Time.~ */ GOTO 12
END

IF ~~ THEN BEGIN 12 // from: 11.7 11.5 11.4 11.3 11.2 11.1 11.0
  SAY #16978 /* ~Wrong again! Who knows, maybe I give you riddles with no answers. I love it. I love power. Can you feel it? Ha ha ha...~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 13 // from: 11.6
  SAY #16979 /* ~A mirror, yes... Like you to me or me to you, we are the same, we are siblings separated by a thin and fragile pane of silvered glass. Come, let me show you my tunnel that we may make good our escape, my twin!~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
END

IF WEIGHT #6 /* Triggers after states #: 17 even though they appear after this state */
~  True()
~ THEN BEGIN 14 // from:
  SAY #16980 /* ~Yes, another riddle, ha ha! Another riddle for the little children! I have never been and have yet to be. None have ever seen me nor ever shall. The wise plan for my coming yet will never find me, while fools forget I exist and pay when they meet me... Who am I, children? Tell me who I am!~ */
  IF ~~ THEN REPLY #16981 /* ~You are death.~ */ GOTO 16
  IF ~~ THEN REPLY #16982 /* ~You are tomorrow.~ */ GOTO 15
  IF ~~ THEN REPLY #16983 /* ~You are old age.~ */ GOTO 16
  IF ~~ THEN REPLY #16984 /* ~You are sleep.~ */ GOTO 16
  IF ~~ THEN REPLY #16985 /* ~You are the night.~ */ GOTO 16
  IF ~~ THEN REPLY #16986 /* ~You are Judgment.~ */ GOTO 16
  IF ~~ THEN REPLY #16987 /* ~You are the ocean tide.~ */ GOTO 16
END

IF ~~ THEN BEGIN 15 // from: 14.1
  SAY #16988 /* ~Yesterday, today, tomorrow, I would change none of it! Come, children, my tunnel is just over here. Old Neb will see you safely to its end.~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
END

IF WEIGHT #7 /* Triggers after states #: 17 even though they appear after this state */
~  False()
~ THEN BEGIN 16 // from: 14.6 14.5 14.4 14.3 14.2 14.0
  SAY #16989 /* ~Foolish children! You lack the wisdom of age and at this rate you shall ne'er live to gain it! Talk to me again when you have some sense.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~  Global("AttackNEB","AR0607",1)
~ THEN BEGIN 17 // from:
  SAY #16990 /* ~I'm getting outta here. Take my key and get lost. You are no fun!~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #32175 /* ~Afoul of the Law
We escaped the Flaming Fist prison by following a killer named Neb out through a secret passage he had concealed.~ */ EXIT
END

IF ~~ THEN BEGIN 18 // from:
  SAY #46118 /* ~*cackles* Then you want to stay here?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 19 // from:
  SAY #46415 /* ~You whine like a child, like an insipid annoying spoiled brat.~ */
  IF ~~ THEN REPLY #16953 /* ~Please, we'll do whatever it takes... It's very important that we get out of here.~ */ GOTO 7
  IF ~~ THEN REPLY #16954 /* ~I'd rather rot in this cell than be indebted to the likes of you.~ */ GOTO 10
END

IF ~~ THEN BEGIN 20 // from:
  SAY #46781 /* ~Vile or no, heh, I'm your only way out of here...~ */
  IF ~~ THEN REPLY #16957 /* ~You killed thirty-eight children, Neb... How could you?~ */ GOTO 9
  IF ~~ THEN REPLY #16956 /* ~You killed twenty-six children, Neb... A murderer and a monster, indeed.~ */ GOTO 9
  IF ~~ THEN REPLY #16958 /* ~You killed eighteen children, Neb... The very thought of it sickens me.~ */ GOTO 9
  IF ~~ THEN REPLY #16959 /* ~You killed forty-one children, Neb... May you rot for as many lifetimes in this cell.~ */ GOTO 9
  IF ~~ THEN REPLY #16960 /* ~You killed thirty-three children, Neb... May the gods and all their solars wreak their vengeance.~ */ GOTO 8
  IF ~~ THEN REPLY #16961 /* ~You killed seventy-six children, Neb... All this and no remorse.~ */ GOTO 9
  IF ~~ THEN REPLY #16962 /* ~You killed thirty children, Neb... Do their voices not haunt you in your sleep?~ */ GOTO 9
  IF ~~ THEN REPLY #16963 /* ~You killed thirty-eight children, Neb... May your gnomish soul burn in each of the Nine Hells.~ */ GOTO 9
END

IF ~~ THEN BEGIN 21 // from: 2.2
  SAY #50019 /* ~*innocent*? Brats, they were all brats.~ */
  IF ~~ THEN REPLY #2156 /* ~Filthy monster, shut your mouth.~ */ GOTO 1
  IF ~~ THEN REPLY #2157 /* ~So Neb, do you know what's been going on in the city lately?~ */ GOTO 3
END

IF ~~ THEN BEGIN 22 // from:
  SAY #50019 /* ~*innocent*? Brats, they were all brats.~ */
  IF ~~ THEN REPLY #2156 /* ~Filthy monster, shut your mouth.~ */ GOTO 1
  IF ~~ THEN REPLY #2157 /* ~So Neb, do you know what's been going on in the city lately?~ */ GOTO 3
END

IF ~~ THEN BEGIN 23 // from: 2.4
  SAY #50017 /* ~Me own thoughts exactly. I'm doing this city a service, really.~ */
  IF ~~ THEN REPLY #2156 /* ~Filthy monster, shut your mouth.~ */ GOTO 1
  IF ~~ THEN REPLY #2157 /* ~So Neb, do you know what's been going on in the city lately?~ */ GOTO 3
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
~ THEN GOTO 24
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
~ THEN EXTERN ~SKIEJ~ 194
END

IF ~~ THEN BEGIN 24 // from: 23.2
  SAY #50019 /* ~*innocent*? Brats, they were all brats.~ */
  IF ~~ THEN REPLY #2156 /* ~Filthy monster, shut your mouth.~ */ GOTO 1
  IF ~~ THEN REPLY #2157 /* ~So Neb, do you know what's been going on in the city lately?~ */ GOTO 3
END

IF ~~ THEN BEGIN 25 // from:
  SAY #50017 /* ~Me own thoughts exactly. I'm doing this city a service, really.~ */
  IF ~~ THEN REPLY #2156 /* ~Filthy monster, shut your mouth.~ */ GOTO 1
  IF ~~ THEN REPLY #2157 /* ~So Neb, do you know what's been going on in the city lately?~ */ GOTO 3
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
~ THEN GOTO 26
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
~ THEN EXTERN ~SKIEJ~ 195
END

IF ~~ THEN BEGIN 26 // from: 25.2
  SAY #50019 /* ~*innocent*? Brats, they were all brats.~ */
  IF ~~ THEN REPLY #2156 /* ~Filthy monster, shut your mouth.~ */ GOTO 1
  IF ~~ THEN REPLY #2157 /* ~So Neb, do you know what's been going on in the city lately?~ */ GOTO 3
END

IF ~~ THEN BEGIN 27 // from: 8.1
  SAY #50027 /* ~*Neb cackles, but it is impossible to discern if it is because he overheard Jaheira's private words, or simply due to his madness.*~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
END

IF ~~ THEN BEGIN 28 // from:
  SAY #50027 /* ~*Neb cackles, but it is impossible to discern if it is because he overheard Jaheira's private words, or simply due to his madness.*~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
END

IF ~~ THEN BEGIN 29 // from: 8.3
  SAY #50025 /* ~Kill me? Ha... Some tried, yes, yes... And where are they, precious? Dead.~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 30
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~JAHEIJ~ 379
END

IF ~~ THEN BEGIN 30 // from: 29.1
  SAY #50027 /* ~*Neb cackles, but it is impossible to discern if it is because he overheard Jaheira's private words, or simply due to his madness.*~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
END

IF ~~ THEN BEGIN 31 // from:
  SAY #50025 /* ~Kill me? Ha... Some tried, yes, yes... And where are they, precious? Dead.~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 32
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~JAHEIJ~ 380
END

IF ~~ THEN BEGIN 32 // from: 31.1
  SAY #50027 /* ~*Neb cackles, but it is impossible to discern if it is because he overheard Jaheira's private words, or simply due to his madness.*~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
END

IF ~~ THEN BEGIN 33 // from: 8.5
  SAY #50023 /* ~*cackles* Stupid elf.~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 35
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~JAHEIJ~ 381
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN GOTO 34
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~DYNAHJ~ 219
END

IF ~~ THEN BEGIN 34 // from: 33.3
  SAY #50025 /* ~Kill me? Ha... Some tried, yes, yes... And where are they, precious? Dead.~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 35
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~JAHEIJ~ 381
END

IF ~~ THEN BEGIN 35 // from: 34.1 33.1
  SAY #50027 /* ~*Neb cackles, but it is impossible to discern if it is because he overheard Jaheira's private words, or simply due to his madness.*~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
END

IF ~~ THEN BEGIN 36 // from:
  SAY #50023 /* ~*cackles* Stupid elf.~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 38
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~JAHEIJ~ 382
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN GOTO 37
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~DYNAHJ~ 220
END

IF ~~ THEN BEGIN 37 // from: 36.3
  SAY #50025 /* ~Kill me? Ha... Some tried, yes, yes... And where are they, precious? Dead.~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 38
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~JAHEIJ~ 382
END

IF ~~ THEN BEGIN 38 // from: 37.1 36.1
  SAY #50027 /* ~*Neb cackles, but it is impossible to discern if it is because he overheard Jaheira's private words, or simply due to his madness.*~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
END

IF ~~ THEN BEGIN 39 // from: 8.7
  SAY #50021 /* ~Tiresome, bothersome... I wish I had met you fifteen years earlier, when you were little... oh, yes. How I wish.~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 42
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~JAHEIJ~ 383
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN GOTO 41
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~DYNAHJ~ 221
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN GOTO 40
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~KIVANJ~ 379
END

IF ~~ THEN BEGIN 40 // from: 39.5
  SAY #50023 /* ~*cackles* Stupid elf.~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 42
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~JAHEIJ~ 383
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN GOTO 41
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~DYNAHJ~ 221
END

IF ~~ THEN BEGIN 41 // from: 40.3 39.3
  SAY #50025 /* ~Kill me? Ha... Some tried, yes, yes... And where are they, precious? Dead.~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 42
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~JAHEIJ~ 383
END

IF ~~ THEN BEGIN 42 // from: 41.1 40.1 39.1
  SAY #50027 /* ~*Neb cackles, but it is impossible to discern if it is because he overheard Jaheira's private words, or simply due to his madness.*~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
END

IF ~~ THEN BEGIN 43 // from:
  SAY #50021 /* ~Tiresome, bothersome... I wish I had met you fifteen years earlier, when you were little... oh, yes. How I wish.~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 46
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~JAHEIJ~ 384
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN GOTO 45
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~DYNAHJ~ 222
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN GOTO 44
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~KIVANJ~ 380
END

IF ~~ THEN BEGIN 44 // from: 43.5
  SAY #50023 /* ~*cackles* Stupid elf.~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 46
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~JAHEIJ~ 384
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN GOTO 45
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~DYNAHJ~ 222
END

IF ~~ THEN BEGIN 45 // from: 44.3 43.3
  SAY #50025 /* ~Kill me? Ha... Some tried, yes, yes... And where are they, precious? Dead.~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 46
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~JAHEIJ~ 384
END

IF ~~ THEN BEGIN 46 // from: 45.1 44.1 43.1
  SAY #50027 /* ~*Neb cackles, but it is impossible to discern if it is because he overheard Jaheira's private words, or simply due to his madness.*~ */
  IF ~~ THEN DO ~EraseJournalEntry(26843)
EraseJournalEntry(26844)
EraseJournalEntry(26845)
EraseJournalEntry(26841)
EraseJournalEntry(26842)
EraseJournalEntry(26846)
ClearAllActions()
HideGUI()
StartCutSceneMode()
StartCutScene("CAPCUT02")
~ SOLVED_JOURNAL #27317 /* ~Afoul of the Law
A killer by the name of Neb helped us break out of the Flaming Fist prison.~ */ EXIT
END
