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

BEGIN ~X#BELGIN~

IF ~  OR(3)
!InParty("tiax")
!InMyArea("tiax")
StateCheck("tiax",CD_STATE_NOTVALID)
Global("X#TiaxQuest","GLOBAL",0)
Global("X#BelginRobbed","GLOBAL",0)
~ THEN BEGIN 0 // from:
  SAY #100871 /* ~What do you wish of me? I do not have much time or inclination for talk.~ */
  IF ~~ THEN REPLY #100872 /* ~Hmmm... you look worried. Is there any way I can help you?~ */ GOTO 2
  IF ~~ THEN REPLY #100873 /* ~Oh, nothing. Just chatting.~ */ GOTO 3
  IF ~  Global("X#BelginFirst","GLOBAL",0)
~ THEN REPLY #100874 /* ~OK, but it could have been a free drink for you... you are kind of cute, y'know.~ */ DO ~SetGlobal("X#BelginFirst","GLOBAL",1)
~ GOTO 4
  IF ~  Global("X#BelginFirst","GLOBAL",1)
~ THEN REPLY #100875 /* ~Yep, same thing you said last time. Are you a relative of a guy named 'Noober'?~ */ DO ~SetGlobal("X#BelginFirst","GLOBAL",2)
~ GOTO 2
  IF ~~ THEN REPLY #100876 /* ~Your purse looks heavy. How about handing it over.~ */ DO ~SetGlobal("X#BelginPlacement","GLOBAL",2)
SetGlobal("X#BelginRobbed","GLOBAL",1)
~ GOTO 5
END

IF ~  OR(2)
!InParty("tiax")
!InMyArea("tiax")
Global("X#TiaxQuest","GLOBAL",0)
Global("X#BelginRobbed","GLOBAL",1)
~ THEN BEGIN 1 // from:
  SAY #100877 /* ~*blanches* You again... I have no money. Please, just leave me alone.~ */
  IF ~~ THEN REPLY #100878 /* ~Hmmm... you look worried. Look, sorry we scared you, we were just joking. Is there any way I can help you?~ */ GOTO 2
  IF ~~ THEN REPLY #100879 /* ~Oh, fine. You don't look rich enough anyways.~ */ EXIT
  IF ~  Global("X#BelginFirst","GLOBAL",0)
~ THEN REPLY #100874 /* ~OK, but it could have been a free drink for you... you are kind of cute, y'know.~ */ DO ~SetGlobal("X#BelginFirst","GLOBAL",1)
~ GOTO 4
  IF ~  Global("X#BelginFirst","GLOBAL",1)
~ THEN REPLY #100875 /* ~Yep, same thing you said last time. Are you a relative of a guy named 'Noober'?~ */ DO ~SetGlobal("X#BelginFirst","GLOBAL",2)
~ GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.3 1.0 0.3 0.0
  SAY #100880 /* ~Unless you can find a small gnome with an attitude problem the size of Waterdeep, you cannot help me.~ */
  IF ~~ THEN REPLY #100882 /* ~Ahhh. Perhaps we will speak again later. It should not be too hard to find a small one with a big attitude - they all seem to have large personalities.~ */ DO ~AddJournalEntry(100881,QUEST)
~ GOTO 6
  IF ~~ THEN REPLY #100883 /* ~Well, that was a waste of time. Let's go.~ */ DO ~AddJournalEntry(100881,QUEST)
~ GOTO 7
  IF ~  !Global("X#BelginRobbed","GLOBAL",1)
~ THEN REPLY #100884 /* ~I don't think we are communicating clearly. The way this works is that I help you, you give me your purse. I don't help you, you give me your purse. Either way, you give me your purse.~ */ DO ~SetGlobal("X#BelginPlacement","GLOBAL",2)
SetGlobal("X#BelginRobbed","GLOBAL",1)
AddJournalEntry(100881,QUEST)
~ GOTO 5
  IF ~  OR(7)
InParty("quayle")
Race(Player1,GNOME)
Race(Player2,GNOME)
Race(Player3,GNOME)
Race(Player4,GNOME)
Race(Player5,GNOME)
Race(Player6,GNOME)
~ THEN REPLY #100885 /* ~What about this gnome right here?~ */ DO ~AddJournalEntry(100881,QUEST)
~ GOTO 9
  IF ~  Global("X#BelginFirst","GLOBAL",1)
~ THEN REPLY #100886 /* ~Hmmm... this is more than you said during our last conversation, but I could use more information.~ */ DO ~SetGlobal("X#BelginFirst","GLOBAL",2)
AddJournalEntry(100881,QUEST)
~ GOTO 8
  IF ~  Global("X#BelginFirst","GLOBAL",2)
~ THEN REPLY #100887 /* ~well, obviously I am not getting through to you. I will go see if I can find a gnome and try this whole thing again.~ */ DO ~SetGlobal("X#BelginFirst","GLOBAL",3)
AddJournalEntry(100881,QUEST)
~ GOTO 8
END

IF ~~ THEN BEGIN 3 // from: 0.1
  SAY #100888 /* ~I have no interest in small talk.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from: 1.2 0.2
  SAY #100889 /* ~Because I am a gnome? Never mind. I am not interested in idle banter, or free drinks.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from: 2.2 0.4
  SAY #100890 /* ~There! Have my pathetic fortune. Are you satisfied? Now leave me be.~ */
  IF ~~ THEN DO ~GiveGoldForce(12)
~ EXIT
END

IF ~~ THEN BEGIN 6 // from: 2.0
  SAY #100891 /* ~Yeah, yeah. We keep it in our noses. Move along.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from: 2.1
  SAY #100892 /* ~Don't let me stop you.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 8 // from: 2.5 2.4
  SAY #100893 /* ~I haven't got anything to say to you until you bring me the gnome I seek.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 9 // from: 2.3
  SAY #100894 /* ~Wrong gnome. *sigh*. I will be around if you find another one, though.~ */
  IF ~~ THEN REPLY #100896 /* ~No matter. Perhaps we will find someone to bring back here later.~ */ EXIT
  IF ~  Alignment(Player1,MASK_GOOD)
~ THEN REPLY #100897 /* ~There is a strange one. We may be able to find someone to help him later.~ */ EXIT
  IF ~  Alignment(Player1,MASK_GENEUTRAL)
ReputationLT(Player1,15)
~ THEN REPLY #100898 /* ~There is a strange one. He did not appear to have enough gold to be useful. We may be able to find someone to help him later.~ */ EXIT
  IF ~  Alignment(Player1,MASK_EVIL)
~ THEN REPLY #100899 /* ~There is a strange one. He might be sport for our blades, but perhaps we can turn more profit by finding the gnome he seeks.~ */ EXIT
  IF ~  Alignment(Player1,MASK_EVIL)
~ THEN REPLY #100900 /* ~Perhaps I can distract you from your troubles, friend. If you would just hand me your purse? You would find me most appreciative... and retain your skin whole and undamaged.~ */ DO ~SetGlobal("X#BelginPlacement","GLOBAL",2)
~ EXIT
  IF ~  OR(6)
Race(Player1,GNOME)
Race(Player2,GNOME)
Race(Player3,GNOME)
Race(Player4,GNOME)
Race(Player5,GNOME)
Race(Player5,GNOME)
~ THEN REPLY #100901 /* ~I think he was talking about a specific person rather than just any gnome... but no matter. Perhaps we will find someone to bring back here later.~ */ EXIT
  IF ~  InParty("quayle")
OR(6)
Race(Player1,GNOME)
Race(Player2,GNOME)
Race(Player3,GNOME)
Race(Player4,GNOME)
Race(Player5,GNOME)
Race(Player5,GNOME)
~ THEN REPLY #100902 /* ~I think he was talking about another of us, Quayle... but no matter. Perhaps we will find someone to bring back here later.~ */ EXIT
  IF ~~ THEN REPLY #100903 /* ~Whatever. I've got better things to do.~ */ EXIT
  IF ~~ THEN REPLY #100904 /* ~If I remember.~ */ EXIT
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BQUAYL~ 277
END

IF ~  InParty("tiax")
InMyArea("tiax")
!StateCheck("tiax",CD_STATE_NOTVALID)
Global("X#TiaxQuest","GLOBAL",1)
~ THEN BEGIN 10 // from:
  SAY #100905 /* ~By Baervan! It cannot be! Either I've been driven mad in addition to all my other ailments, or Baervan himself must have bestowed his greatest blessing upon me! Telliax? Is that really you!?~ */
  IF ~~ THEN EXTERN ~_TIAXJ~ 41
END

IF ~~ THEN BEGIN 11 // from:
  SAY #100907 /* ~'Tiax'? What are you blathering about, boy? Come with me! You're my only chance to get these blasted bounty hunters off my tail!~ */
  IF ~~ THEN REPLY #100908 /* ~Excuse me, sir? Just who are you, and why are you calling Tiax by that name?~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",2)
~ GOTO 12
  IF ~~ THEN REPLY #100909 /* ~So, is this the right gnome, then?~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",2)
~ GOTO 12
  IF ~~ THEN REPLY #100910 /* ~Who are you? We have places to be, and you're making no sense.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",2)
~ GOTO 12
  IF ~~ THEN REPLY #100911 /* ~That gnome's name is Tiax, not Telliax. You must have the wrong person.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",2)
~ GOTO 14
  IF ~~ THEN REPLY #100912 /* ~Like the gnome said, get out of our way or we'll slaughter you where you stand. We have no time for this.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",2)
~ GOTO 16
  IF ~  Global("X#BelginRobbed","GLOBAL",1)
~ THEN REPLY #100913 /* ~Hey, you have a lot of nerve - you ran away last time we met.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",2)
~ GOTO 14
END

IF ~~ THEN BEGIN 12 // from: 11.2 11.1 11.0
  SAY #100914 /* ~I don't know who you are, young <PRO_MANWOMAN>, but I don't have time for this! The ones hunting me are in this very city, and this boy is my only hope.~ */
  IF ~~ THEN GOTO 13
END

IF ~~ THEN BEGIN 13 // from: 12.0
  SAY #100915 /* ~The one you're calling 'Tiax' is my former apprentice, and his real name is 'Telliax'. Unless he comes with me and proves that he's still alive, I'm done for! I'll be dragged back to Amn and hung like a common criminal, for a crime I didn't even commit!~ */
  IF ~~ THEN REPLY #100916 /* ~Slow down! If you're being unjustly pursued, we'll help you, so please explain what you're talking about.~ */ GOTO 17
  IF ~~ THEN REPLY #100917 /* ~You'll have to make time, old man. I won't have you taking away my companion without explaining yourself.~ */ GOTO 17
  IF ~~ THEN REPLY #100918 /* ~This meeting has grown tiresome. Away with you, and pester us no longer if you value your life.~ */ GOTO 16
END

IF ~~ THEN BEGIN 14 // from: 11.5 11.3
  SAY #100919 /* ~My eyes have gone bad lately, young <PRO_MANWOMAN>, but not so bad that I don't recognize my travelling companion of several years.~ */
  IF ~~ THEN GOTO 15
END

IF ~~ THEN BEGIN 15 // from: 14.0
  SAY #100920 /* ~This boy's name is 'Telliax', and he was my apprentice in the worship of Baervan Wildwanderer. I have no time for long conversation, either. Unless Telliax comes with me, I'm as good as dead!~ */
  IF ~~ THEN REPLY #100921 /* ~Your apprentice? Please, explain yourself further. If your need is genuine, we'll be happy to aid you.~ */ GOTO 17
  IF ~~ THEN REPLY #100922 /* ~In case you didn't notice, our diminutive little friend here does NOT worship Baervan Wildwanderer. He worships Cyric.~ */ GOTO 18
  IF ~~ THEN REPLY #100923 /* ~Enough. Leave now before we're forced to gut you where you stand. We have no time for this idiocy.~ */ GOTO 16
END

IF ~~ THEN BEGIN 16 // from: 19.2 15.2 13.2 11.4
  SAY #100924 /* ~No, please! You must listen to me, you must... help me! I beg of you; without his aid, I'm a dead man!~ */
  IF ~~ THEN REPLY #100929 /* ~Well... alright, old man, tell us what you have to say. However, you had best explain yourself quickly!~ */ GOTO 21
  IF ~~ THEN REPLY #100930 /* ~Apparently you've lost your hearing in your old age. Move or die, you old fool! You won't receive a third warning!~ */ GOTO 20
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN REPLY #100931 /* ~Apparently you are just not listening. My friends here think killing you for your insolence should be entertaining. I would move along, if I were you... ~ */ GOTO 20
  IF ~~ THEN REPLY #100932 /* ~I tire of this. I am going to kill you now. If I were you, would run.~ */ DO ~SetGlobal("X#BelginPlacement","GLOBAL",5)
ActionOverride("x#belgin",Enemy())
ActionOverride("x#belgin",EscapeArea())
~ JOURNAL #100933 /* ~Some gnome named Belgin the Wanderer bothered us today; I helped him learn that unwanted intrusions are for fools and dead men. I am sure that he will not be bothering us again.~ */ EXIT
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BMONTA~ 262
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BXZAR~ 274
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BMONTA~ 261
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BVICON~ 260
END

IF ~~ THEN BEGIN 17 // from: 19.0 15.0 13.1 13.0
  SAY #100934 /* ~But... ahh, very well. I will explain myself, but afterwards I beg of you to to aid me!~ */
  IF ~~ THEN GOTO 21
END

IF ~~ THEN BEGIN 18 // from: 15.1
  SAY #100935 /* ~Cyric!? What in the hells has happened to you, boy!?~ */
  IF ~~ THEN EXTERN ~_TIAXJ~ 42
END

IF ~~ THEN BEGIN 19 // from:
  SAY #100937 /* ~What is this nonsense!? Telliax, I knew you were an arrogant twit, but by Baervan you're ranting like a madman! Bah, what does it matter!? Insane or not, the fact that you're still breathing will save me! Come! We have no time to spare!~ */
  IF ~~ THEN REPLY #100938 /* ~Please, explain yourself. If you require aid, ask us. We're willing to help if your cause is just.~ */ GOTO 17
  IF ~~ THEN REPLY #100939 /* ~He's going nowhere until we get some answers. What are you talking about? Speak quickly!~ */ GOTO 21
  IF ~~ THEN REPLY #100940 /* ~Get away from us, old man, or face the consequences! We have no time for you.~ */ GOTO 16
END

IF ~~ THEN BEGIN 20 // from: 27.3 16.2 16.1
  SAY #100941 /* ~Damn you! Damn your black soul to the hells for all eternity! I will not be killed for a crime I didn't commit, and I'll find a way to show those bounty hunters that this blasted idiot is still alive, I swear on Baervan's name.~ */
  IF ~~ THEN DO ~SetGlobal("X#BelginPlacement","GLOBAL",5)
ActionOverride("x#belgin",EscapeArea())
~ JOURNAL #100942 /* ~Some gnome named Belgin the Wanderer bothered us today. I helped him learn that unwanted intrusions are for fools and dead men. He ran away blathering that he will prove that someone named 'Telliax' isn't dead. I am sure that he will not be bothering us again.~ */ EXIT
END

IF ~~ THEN BEGIN 21 // from: 19.1 17.0 16.0
  SAY #100943 /* ~My name is Belgin, known as Belgin the Wanderer, priest of Baervan Wildwanderer. This gnome that you know as 'Tiax' is actually named Telliax. He's the privileged son of an Athakatlan merchant, but his privilege landed him in a bit of trouble.~ */
  IF ~~ THEN GOTO 22
END

IF ~~ THEN BEGIN 22 // from: 21.0
  SAY #100944 /* ~You may have noted young Telliax's thieving skills? Well, for no other reason than his own boredom, he just happened to try and develop those skills along the Athkatlan docks...~ */
  IF ~~ THEN GOTO 23
END

IF ~~ THEN BEGIN 23 // from: 22.0
  SAY #100945 /* ~... Which just happens to have upset the Shadow Thieves, one of the most powerful organizations in the city! They demanded he join their organization or die, so his father turned to *me* to help tutor him in the ways of my god and get him out of the city. I had no idea what a trial I was in for.~ */
  IF ~~ THEN EXTERN ~_TIAXJ~ 43
END

IF ~~ THEN BEGIN 24 // from:
  SAY #100947 /* ~Change the name and add a healthy dose of insanity, and the personality apparently remains the same, alas. This little brat was the most obnoxious apprentice I ever tutored! He was arrogant, whiny, and spoiled! None of our travelling accomodations or rations were ever up to his standards. He addressed me as 'commoner' and routinely reminded me of how inferior I was to him due to my lack of wealth.~ */
  IF ~~ THEN GOTO 25
END

IF ~~ THEN BEGIN 25 // from: 24.0
  SAY #100948 /* ~By the end, I was feeling the sore temptation to wring his scrawny neck myself, though thank Baervan it never came to that. As we travelled with a caravan, we were ambushed by bandits. I escaped, Telliax didn't, so I naturally assumed they killed him.~ */
  IF ~~ THEN EXTERN ~_TIAXJ~ 44
END

IF ~~ THEN BEGIN 26 // from:
  SAY #100952 /* ~Apparently something is seeping through that thick head of his. I don't know what happened after the bandits attacked, but as you might suspect I wasn't too keen on taking them on single-handedly, even if I was more fond of the lad. I'm a man of humble means, so I moved on with my life. Unfortunately, Telliax's father didn't move on with his.~ */
  IF ~~ THEN GOTO 27
END

IF ~~ THEN BEGIN 27 // from: 26.0
  SAY #100953 /* ~Knowing his son's rather... grating personality, he's dispatched bounty hunters to capture me for Telliax's murder! They wish to bring me back to Amn for a sham trial, no doubt, after which they'll hang me! I did nothing wrong, yet I doubt anything I could say would ever be believed! I've been forced to run from this group, and they've been nipping at my heels for months now! Please, you must help me!~ */
  IF ~~ THEN REPLY #100954 /* ~A very interesting story. Of course we'll help you.~ */ GOTO 31
  IF ~~ THEN REPLY #100955 /* ~What's in it for us?~ */ GOTO 32
  IF ~~ THEN REPLY #100956 /* ~We can help, but give us some time. We're busy at the moment.~ */ GOTO 33
  IF ~~ THEN REPLY #100957 /* ~Your story rings false. Scamper away, fool, before we run you through.~ */ GOTO 20
  IF ~~ THEN REPLY #100958 /* ~Wanted, eh? Hmmm... and how much will you give us just to keep your little secret?~ */ GOTO 28
END

IF ~~ THEN BEGIN 28 // from: 27.4
  SAY #100959 /* ~Oh....  of course I'll pay you. I offer 500 gold for your silence right now, and 2000 more if you help me clear my name. Please, just go to the Blade and Stars tavern! Baervan has revealed to me that they're staying there, planning to scour the city for me! Hurry, I beg of you! I'll be at the Helm and Cloak when you've convinced them, with your payment.~ */
  IF ~~ THEN REPLY #100960 /* ~That sounds worthwile. We'll do it.~ */ GOTO 30
  IF ~~ THEN REPLY #100961 /* ~Give us the 500 gold now, and we will think about it.~ */ GOTO 30
  IF ~~ THEN REPLY #100962 /* ~We can help, but give us some time. We're busy at the moment. We will take the "downpayment." Now.~ */ GOTO 30
  IF ~~ THEN REPLY #100963 /* ~Well well well, 500 gold. It is too much work to run your errand, but the gold will be very useful. We will take it, and then you should run.~ */ GOTO 29
END

IF ~~ THEN BEGIN 29 // from: 28.3
  SAY #100964 /* ~Damn you! Damn your black soul to the hells for all eternity! I will not be killed for a crime I didn't commit, and I'll find a way to show those bounty hunters that this blasted idiot is still alive, I swear on Baervan's name. Take your damned coin, and may the gods curse you forever!~ */
  IF ~~ THEN DO ~SetGlobal("X#BelginPlacement","GLOBAL",5)
ActionOverride("x#belgin",GivePartyGold(500))
ActionOverride("x#belgin",EscapeArea())
~ JOURNAL #100975 /* ~I've helped a man named Belgin the Wanderer learn that loose tounges are for fools and dead men. He ran away blathering that he will prove that 'Telliax', his apprentice and erstwhile companion, isn't dead. He's being hunted by bounty hunters; this should provide some additional coin. They're staying at the Blade and Stars. I am sure they will pay well for information on Belgin's whereabouts. If not, perhaps we will have some sport...~ */ EXIT
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BSHART~ 249
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BVICON~ 261
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BEDWIN~ 308
  IF ~  InParty("kagain")
InMyArea("kagain")
!StateCheck("kagain",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BKAGAI~ 270
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BFALDO~ 329
  IF ~  InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BELDOT~ 366
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BGARRI~ 288
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BXZAR~ 275
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BMONTA~ 263
  IF ~  InParty("safana")
InMyArea("safana")
!StateCheck("safana",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BSAFAN~ 233
END

IF ~~ THEN BEGIN 30 // from: 28.2 28.1 28.0
  SAY #100976 /* ~Here is all I have right now. I will go get the rest, and be at the Helm and Cloak, awaiting word.~ */
  IF ~~ THEN DO ~SetGlobal("X#TiaxQuestBlackmail","GLOBAL",1)
ActionOverride("x#belgin",GivePartyGold(500))
SetGlobal("X#BelginPlacement","GLOBAL",7)
~ JOURNAL #100980 /* ~I've helped a man named Belgin the Wanderer learn that loose tounges are for fools and dead men. He's being hunted by bounty hunters, which should provide some additional coin. They're staying at the Blade and Stars. I am sure they will pay well for information on Belgin's whereabouts. If not, perhaps we will have some sport... Belgin claimed to have more coin on the completion. Perhaps we can play all sides of this.~ */ EXIT
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BSHART~ 250
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BVICON~ 262
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BEDWIN~ 309
  IF ~  InParty("safana")
InMyArea("safana")
!StateCheck("safana",CD_STATE_NOTVALID)
InParty("kagain")
InMyArea("kagain")
!StateCheck("kagain",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BSAFAN~ 235
  IF ~  InParty("kagain")
InMyArea("kagain")
!StateCheck("kagain",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BKAGAI~ 271
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BFALDO~ 330
  IF ~  InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BELDOT~ 367
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BGARRI~ 289
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BXZAR~ 276
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BMONTA~ 264
  IF ~  InParty("safana")
InMyArea("safana")
!StateCheck("safana",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BSAFAN~ 234
END

IF ~~ THEN BEGIN 31 // from: 27.0
  SAY #100981 /* ~Baervan bless your souls! All you must do is find the bounty hunters. Baervan has revealed to me, through the blessing of a spell of divination, that they're staying at the Blade and Stars tavern. Please, I beg of you, don't harm them! Simply show them Tiax so that they'll leave me be once and for all! Come back, and I will pay you 1000 gold for your kind deed. Thank you! Bless you! I'll be at the Helm and Cloak when you've managed to convince them.~ */
  IF ~~ THEN DO ~SetGlobal("X#BelginPlacement","GLOBAL",7)
~ JOURNAL #100982 /* ~I've agreed to help a man named Belgin the Wanderer prove that 'Telliax,' his apprentice and erstwhile companion, isn't dead. He's being hunted by bounty hunters, and I need Tiax with me to convince the bounty hunters he's still alive. They're staying at the Blade and Stars.~ */ EXIT
END

IF ~~ THEN BEGIN 32 // from: 27.1
  SAY #100983 /* ~Well, of course I'll pay you. My life is worth more than coin, so if your interests are purely mercenary, have no fear. I offer 1000 gold for the deed, though, alas, I have no more to give. Please, just go to the Blade and Stars tavern. Baervan has revealed to me that they're staying there, planning to scour the city for me! Hurry, I beg of you! I'll be at the Helm and Cloak when you've convinced them, with your payment.~ */
  IF ~~ THEN DO ~SetGlobal("X#BelginPlacement","GLOBAL",7)
~ JOURNAL #100982 /* ~I've agreed to help a man named Belgin the Wanderer prove that 'Telliax,' his apprentice and erstwhile companion, isn't dead. He's being hunted by bounty hunters, and I need Tiax with me to convince the bounty hunters he's still alive. They're staying at the Blade and Stars.~ */ EXIT
END

IF ~~ THEN BEGIN 33 // from: 27.2
  SAY #100984 /* ~Very well, but when you get some time please help me! There will be a 1000 gold reward for your aid, should you help. The bounty hunters should be staying at the Blade and Stars tavern, so please seek them out as soon as possible! When you've convinced them to leave me be, come to the Helm and Cloak and you will be rewarded.~ */
  IF ~~ THEN DO ~SetGlobal("X#BelginPlacement","GLOBAL",7)
~ JOURNAL #100982 /* ~I've agreed to help a man named Belgin the Wanderer prove that 'Telliax,' his apprentice and erstwhile companion, isn't dead. He's being hunted by bounty hunters, and I need Tiax with me to convince the bounty hunters he's still alive. They're staying at the Blade and Stars.~ */ EXIT
END

IF ~  GlobalGT("X#TiaxQuest","GLOBAL",1)
GlobalLT("X#TiaxQuest","GLOBAL",5)
~ THEN BEGIN 34 // from:
  SAY #100985 /* ~What do you say? Were you successful in clearing my name?~ */
  IF ~  Global("X#TiaxQuest","GLOBAL",2)
~ THEN REPLY #100988 /* ~We haven't talked to Karris, yet.~ */ GOTO 37
  IF ~  GlobalGT("X#TiaxQuest","GLOBAL",2)
~ THEN REPLY #100989 /* ~We have talked, but we haven't come to an agreement.~ */ GOTO 37
  IF ~~ THEN REPLY #100990 /* ~I have decided it is time for you to die, gnome.~ */ GOTO 38
  IF ~  OR(2)
Global("X#TiaxQuestTiaxQuits","GLOBAL",2)
!InParty("tiax")
~ THEN GOTO 36
  IF ~  GlobalGT("X#TiaxQuestComplain","GLOBAL",1)
~ THEN GOTO 35
END

IF ~~ THEN BEGIN 35 // from: 34.4
  SAY #100986 /* ~I have been waiting anxiously for word for days now.~ */
  IF ~  Global("X#TiaxQuest","GLOBAL",2)
~ THEN REPLY #100988 /* ~We haven't talked to Karris, yet.~ */ GOTO 37
  IF ~  GlobalGT("X#TiaxQuest","GLOBAL",2)
~ THEN REPLY #100989 /* ~We have talked, but we haven't come to an agreement.~ */ GOTO 37
  IF ~~ THEN REPLY #100990 /* ~I have decided it is time for you to die, gnome.~ */ GOTO 38
  IF ~  OR(2)
Global("X#TiaxQuestTiaxQuits","GLOBAL",2)
!InParty("tiax")
~ THEN GOTO 36
END

IF ~~ THEN BEGIN 36 // from: 35.3 34.3
  SAY #100987 /* ~I do not see Telliax with you. I hope that everything was resolved.~ */
  IF ~  Global("X#TiaxQuest","GLOBAL",2)
~ THEN REPLY #100988 /* ~We haven't talked to Karris, yet.~ */ GOTO 37
  IF ~  GlobalGT("X#TiaxQuest","GLOBAL",2)
~ THEN REPLY #100989 /* ~We have talked, but we haven't come to an agreement.~ */ GOTO 37
  IF ~~ THEN REPLY #100990 /* ~I have decided it is time for you to die, gnome.~ */ GOTO 38
END

IF ~~ THEN BEGIN 37 // from: 36.1 36.0 35.1 35.0 34.1 34.0
  SAY #100991 /* ~Please, hurry! I cannot stand living like this for much longer.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 38 // from: 36.2 35.2 34.2
  SAY #100992 /* ~You - damn you! Damn your black soul for all eternity! I am leaving!~ */
  IF ~~ THEN DO ~SetGlobal("X#BelginPlacement","GLOBAL",5)
ActionOverride("x#belgin",EscapeArea())
~ EXIT
END

IF ~  Global("X#TiaxQuest","GLOBAL",5)
~ THEN BEGIN 39 // from:
  SAY #100985 /* ~What do you say? Were you successful in clearing my name?~ */
  IF ~~ THEN REPLY #100993 /* ~I am sorry to report that nothing will sway Karris. He is on his way here as we speak. For 1000 gold, we will delay him for you...~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",6)
~ GOTO 42
  IF ~~ THEN REPLY #100994 /* ~We have not met with Karris, and have no intention of doing so. I think you can keep yourself safe by giving us 2000 gold, and we will say we never met you.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",6)
~ GOTO 51
  IF ~~ THEN REPLY #100995 /* ~Oh, we met with Karris, and came to an arrangement. He subcontracted out your demise. Unless, of course, you are able to make it worth our while to look the other way.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",6)
~ GOTO 42
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",1)
~ THEN REPLY #100996 /* ~We met Karris, and killed him. You have nothing to fear now. Unless, of course, you do not pay us.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",6)
~ GOTO 42
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",0)
~ THEN REPLY #100997 /* ~We met with Karris and cleared your name. You are safe.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",6)
~ GOTO 51
  IF ~  Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN REPLY #100998 /* ~Your miserable life was worth 2000 gold, as I recall. Do you dare renegotiate that bargain?~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",6)
~ GOTO 42
  IF ~  Global("X#TiaxQuestCyric","GLOBAL",2)
~ THEN REPLY #100999 /* ~Well, Tiax has had a vision granted by Cyric. I am afraid it is not a pleasant end for you, Belgin.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",6)
~ GOTO 48
  IF ~  OR(2)
Global("X#TiaxQuestTiaxQuits","GLOBAL",2)
!InParty("tiax")
~ THEN DO ~SetGlobal("X#TiaxQuest","GLOBAL",6)
~ GOTO 41
  IF ~  GlobalGT("X#TiaxQuestComplain","GLOBAL",1)
~ THEN DO ~SetGlobal("X#TiaxQuest","GLOBAL",6)
~ GOTO 40
END

IF ~~ THEN BEGIN 40 // from: 39.8
  SAY #100986 /* ~I have been waiting anxiously for word for days now.~ */
  IF ~~ THEN REPLY #100993 /* ~I am sorry to report that nothing will sway Karris. He is on his way here as we speak. For 1000 gold, we will delay him for you...~ */ GOTO 42
  IF ~~ THEN REPLY #100994 /* ~We have not met with Karris, and have no intention of doing so. I think you can keep yourself safe by giving us 2000 gold, and we will say we never met you.~ */ GOTO 51
  IF ~~ THEN REPLY #100995 /* ~Oh, we met with Karris, and came to an arrangement. He subcontracted out your demise. Unless, of course, you are able to make it worth our while to look the other way.~ */ GOTO 42
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",1)
~ THEN REPLY #100996 /* ~We met Karris, and killed him. You have nothing to fear now. Unless, of course, you do not pay us.~ */ GOTO 42
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",0)
~ THEN REPLY #100997 /* ~We met with Karris and cleared your name. You are safe.~ */ GOTO 51
  IF ~  Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN REPLY #100998 /* ~Your miserable life was worth 2000 gold, as I recall. Do you dare renegotiate that bargain?~ */ GOTO 42
  IF ~  Global("X#TiaxQuestCyric","GLOBAL",2)
~ THEN REPLY #100999 /* ~Well, Tiax has had a vision granted by Cyric. I am afraid it is not a pleasant end for you, Belgin.~ */ GOTO 48
  IF ~  OR(2)
Global("X#TiaxQuestTiaxQuits","GLOBAL",2)
!InParty("tiax")
~ THEN GOTO 41
END

IF ~~ THEN BEGIN 41 // from: 40.7 39.7
  SAY #100987 /* ~I do not see Telliax with you. I hope that everything was resolved.~ */
  IF ~~ THEN REPLY #100993 /* ~I am sorry to report that nothing will sway Karris. He is on his way here as we speak. For 1000 gold, we will delay him for you...~ */ GOTO 42
  IF ~~ THEN REPLY #100994 /* ~We have not met with Karris, and have no intention of doing so. I think you can keep yourself safe by giving us 2000 gold, and we will say we never met you.~ */ GOTO 51
  IF ~~ THEN REPLY #100995 /* ~Oh, we met with Karris, and came to an arrangement. He subcontracted out your demise. Unless, of course, you are able to make it worth our while to look the other way.~ */ GOTO 42
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",1)
~ THEN REPLY #100996 /* ~We met Karris, and killed him. You have nothing to fear now. Unless, of course, you do not pay us.~ */ GOTO 42
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",0)
~ THEN REPLY #100997 /* ~We met with Karris and cleared your name. You are safe.~ */ GOTO 51
  IF ~  Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN REPLY #100998 /* ~Your miserable life was worth 2000 gold, as I recall. Do you dare renegotiate that bargain?~ */ GOTO 42
  IF ~  Global("X#TiaxQuestCyric","GLOBAL",2)
~ THEN REPLY #100999 /* ~Well, Tiax has had a vision granted by Cyric. I am afraid it is not a pleasant end for you, Belgin.~ */ GOTO 48
END

IF ~~ THEN BEGIN 42 // from: 41.5 41.3 41.2 41.0 40.5 40.3 40.2 40.0 39.5 39.3 39.2 39.0
  SAY #101000 /* ~This is not what we agreed to! I asked you to help me.~ */
  IF ~~ THEN REPLY #101009 /* ~Regardless of what our agreement was, what is done is done. You promised a reward, and I expect you to deliver.~ */ GOTO 48
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",1)
~ THEN REPLY #101010 /* ~It could not be helped. The bounty hunters are no longer troubling you, and that fulfills our part of the bargain.~ */ GOTO 48
  IF ~  InParty("safana")
InMyArea("safana")
!StateCheck("safana",CD_STATE_NOTVALID)
~ THEN REPLY #101011 /* ~Fine. Safana, kill him.~ */ GOTO 48
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN REPLY #101012 /* ~Fine. Montaron, here is your new toy. Kill him when you have finished playing.~ */ GOTO 48
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN REPLY #101013 /* ~Fine. Xzar, have you ever found out what sound a liver landing on the floor makes? Could you please demonstrate?~ */ GOTO 48
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN REPLY #101014 /* ~Fine. Garrick, kill him.~ */ GOTO 48
  IF ~  InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN REPLY #101015 /* ~Fine. Eldoth, kill him.~ */ GOTO 48
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN REPLY #101016 /* ~Fine. Faldorn, kill him.~ */ GOTO 48
  IF ~  InParty("kagain")
InMyArea("kagain")
!StateCheck("kagain",CD_STATE_NOTVALID)
~ THEN REPLY #101017 /* ~Fine. Kagain, kill him.~ */ GOTO 48
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN REPLY #101018 /* ~Fine. Edwin, kill him.~ */ GOTO 48
  IF ~  InParty("tiax")
InMyArea("tiax")
!StateCheck("tiax",CD_STATE_NOTVALID)
~ THEN REPLY #101019 /* ~Fine. Tiax, kill him.~ */ GOTO 48
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN REPLY #101020 /* ~Fine. Viconia, he is yours. Kill him. Slowly.~ */ GOTO 48
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN REPLY #101021 /* ~Fine. Shar-Teel, kill him.~ */ GOTO 48
  IF ~~ THEN REPLY #101022 /* ~Bah. So you did. Begone!~ */ GOTO 51
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",1)
~ THEN REPLY #101023 /* ~There has been enough death. I am done with it. Take your life, and go.~ */ GOTO 51
  IF ~~ THEN REPLY #101024 /* ~Oh, very well. Go.~ */ GOTO 51
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BFALDO~ 331
  IF ~  Global("X#BelginRobbed","GLOBAL",1)
Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN GOTO 47
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BXZAR~ 277
  IF ~  Global("X#BelginRobbed","GLOBAL",0)
Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN GOTO 46
  IF ~  InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BELDOT~ 368
  IF ~  Global("X#BelginRobbed","GLOBAL",1)
Global("X#TiaxQuestBlackmail","GLOBAL",0)
~ THEN GOTO 45
  IF ~  Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN GOTO 44
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",1)
~ THEN GOTO 43
END

IF ~~ THEN BEGIN 43 // from: 42.23
  SAY #101001 /* ~Now I will have to run for my life for Telliax and for arranging the death of the bounty hunters sent after me!~ */
  IF ~~ THEN REPLY #101009 /* ~Regardless of what our agreement was, what is done is done. You promised a reward, and I expect you to deliver.~ */ GOTO 48
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",1)
~ THEN REPLY #101010 /* ~It could not be helped. The bounty hunters are no longer troubling you, and that fulfills our part of the bargain.~ */ GOTO 48
  IF ~  InParty("safana")
InMyArea("safana")
!StateCheck("safana",CD_STATE_NOTVALID)
~ THEN REPLY #101011 /* ~Fine. Safana, kill him.~ */ GOTO 48
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN REPLY #101012 /* ~Fine. Montaron, here is your new toy. Kill him when you have finished playing.~ */ GOTO 48
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN REPLY #101013 /* ~Fine. Xzar, have you ever found out what sound a liver landing on the floor makes? Could you please demonstrate?~ */ GOTO 48
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN REPLY #101014 /* ~Fine. Garrick, kill him.~ */ GOTO 48
  IF ~  InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN REPLY #101015 /* ~Fine. Eldoth, kill him.~ */ GOTO 48
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN REPLY #101016 /* ~Fine. Faldorn, kill him.~ */ GOTO 48
  IF ~  InParty("kagain")
InMyArea("kagain")
!StateCheck("kagain",CD_STATE_NOTVALID)
~ THEN REPLY #101017 /* ~Fine. Kagain, kill him.~ */ GOTO 48
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN REPLY #101018 /* ~Fine. Edwin, kill him.~ */ GOTO 48
  IF ~  InParty("tiax")
InMyArea("tiax")
!StateCheck("tiax",CD_STATE_NOTVALID)
~ THEN REPLY #101019 /* ~Fine. Tiax, kill him.~ */ GOTO 48
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN REPLY #101020 /* ~Fine. Viconia, he is yours. Kill him. Slowly.~ */ GOTO 48
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN REPLY #101021 /* ~Fine. Shar-Teel, kill him.~ */ GOTO 48
  IF ~~ THEN REPLY #101022 /* ~Bah. So you did. Begone!~ */ GOTO 51
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",1)
~ THEN REPLY #101023 /* ~There has been enough death. I am done with it. Take your life, and go.~ */ GOTO 51
  IF ~~ THEN REPLY #101024 /* ~Oh, very well. Go.~ */ GOTO 51
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BFALDO~ 331
  IF ~  Global("X#BelginRobbed","GLOBAL",1)
Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN GOTO 47
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BXZAR~ 277
  IF ~  Global("X#BelginRobbed","GLOBAL",0)
Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN GOTO 46
  IF ~  InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BELDOT~ 368
  IF ~  Global("X#BelginRobbed","GLOBAL",1)
Global("X#TiaxQuestBlackmail","GLOBAL",0)
~ THEN GOTO 45
  IF ~  Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN GOTO 44
END

IF ~~ THEN BEGIN 44 // from: 43.22 42.22
  SAY #101002 /* ~You have already taken all that I have. I have no more to give.~ */
  IF ~~ THEN REPLY #101009 /* ~Regardless of what our agreement was, what is done is done. You promised a reward, and I expect you to deliver.~ */ GOTO 48
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",1)
~ THEN REPLY #101010 /* ~It could not be helped. The bounty hunters are no longer troubling you, and that fulfills our part of the bargain.~ */ GOTO 48
  IF ~  InParty("safana")
InMyArea("safana")
!StateCheck("safana",CD_STATE_NOTVALID)
~ THEN REPLY #101011 /* ~Fine. Safana, kill him.~ */ GOTO 48
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN REPLY #101012 /* ~Fine. Montaron, here is your new toy. Kill him when you have finished playing.~ */ GOTO 48
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN REPLY #101013 /* ~Fine. Xzar, have you ever found out what sound a liver landing on the floor makes? Could you please demonstrate?~ */ GOTO 48
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN REPLY #101014 /* ~Fine. Garrick, kill him.~ */ GOTO 48
  IF ~  InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN REPLY #101015 /* ~Fine. Eldoth, kill him.~ */ GOTO 48
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN REPLY #101016 /* ~Fine. Faldorn, kill him.~ */ GOTO 48
  IF ~  InParty("kagain")
InMyArea("kagain")
!StateCheck("kagain",CD_STATE_NOTVALID)
~ THEN REPLY #101017 /* ~Fine. Kagain, kill him.~ */ GOTO 48
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN REPLY #101018 /* ~Fine. Edwin, kill him.~ */ GOTO 48
  IF ~  InParty("tiax")
InMyArea("tiax")
!StateCheck("tiax",CD_STATE_NOTVALID)
~ THEN REPLY #101019 /* ~Fine. Tiax, kill him.~ */ GOTO 48
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN REPLY #101020 /* ~Fine. Viconia, he is yours. Kill him. Slowly.~ */ GOTO 48
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN REPLY #101021 /* ~Fine. Shar-Teel, kill him.~ */ GOTO 48
  IF ~~ THEN REPLY #101022 /* ~Bah. So you did. Begone!~ */ GOTO 51
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",1)
~ THEN REPLY #101023 /* ~There has been enough death. I am done with it. Take your life, and go.~ */ GOTO 51
  IF ~~ THEN REPLY #101024 /* ~Oh, very well. Go.~ */ GOTO 51
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BFALDO~ 331
  IF ~  Global("X#BelginRobbed","GLOBAL",1)
Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN GOTO 47
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BXZAR~ 277
  IF ~  Global("X#BelginRobbed","GLOBAL",0)
Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN GOTO 46
  IF ~  InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BELDOT~ 368
  IF ~  Global("X#BelginRobbed","GLOBAL",1)
Global("X#TiaxQuestBlackmail","GLOBAL",0)
~ THEN GOTO 45
END

IF ~~ THEN BEGIN 45 // from: 44.21 43.21 42.21
  SAY #101003 /* ~Given how we met, I am prepared for your doublecross. I am glad that my name is cleared, because now I can return to my Patron with word of your nature. Beware visiting Amn, <CHARNAME>... I will make sure word of your deeds preceeds you.~ */
  IF ~~ THEN REPLY #101009 /* ~Regardless of what our agreement was, what is done is done. You promised a reward, and I expect you to deliver.~ */ GOTO 48
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",1)
~ THEN REPLY #101010 /* ~It could not be helped. The bounty hunters are no longer troubling you, and that fulfills our part of the bargain.~ */ GOTO 48
  IF ~  InParty("safana")
InMyArea("safana")
!StateCheck("safana",CD_STATE_NOTVALID)
~ THEN REPLY #101011 /* ~Fine. Safana, kill him.~ */ GOTO 48
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN REPLY #101012 /* ~Fine. Montaron, here is your new toy. Kill him when you have finished playing.~ */ GOTO 48
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN REPLY #101013 /* ~Fine. Xzar, have you ever found out what sound a liver landing on the floor makes? Could you please demonstrate?~ */ GOTO 48
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN REPLY #101014 /* ~Fine. Garrick, kill him.~ */ GOTO 48
  IF ~  InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN REPLY #101015 /* ~Fine. Eldoth, kill him.~ */ GOTO 48
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN REPLY #101016 /* ~Fine. Faldorn, kill him.~ */ GOTO 48
  IF ~  InParty("kagain")
InMyArea("kagain")
!StateCheck("kagain",CD_STATE_NOTVALID)
~ THEN REPLY #101017 /* ~Fine. Kagain, kill him.~ */ GOTO 48
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN REPLY #101018 /* ~Fine. Edwin, kill him.~ */ GOTO 48
  IF ~  InParty("tiax")
InMyArea("tiax")
!StateCheck("tiax",CD_STATE_NOTVALID)
~ THEN REPLY #101019 /* ~Fine. Tiax, kill him.~ */ GOTO 48
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN REPLY #101020 /* ~Fine. Viconia, he is yours. Kill him. Slowly.~ */ GOTO 48
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN REPLY #101021 /* ~Fine. Shar-Teel, kill him.~ */ GOTO 48
  IF ~~ THEN REPLY #101022 /* ~Bah. So you did. Begone!~ */ GOTO 51
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",1)
~ THEN REPLY #101023 /* ~There has been enough death. I am done with it. Take your life, and go.~ */ GOTO 51
  IF ~~ THEN REPLY #101024 /* ~Oh, very well. Go.~ */ GOTO 51
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BFALDO~ 331
  IF ~  Global("X#BelginRobbed","GLOBAL",1)
Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN GOTO 47
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BXZAR~ 277
  IF ~  Global("X#BelginRobbed","GLOBAL",0)
Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN GOTO 46
  IF ~  InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BELDOT~ 368
END

IF ~~ THEN BEGIN 46 // from: 45.19 44.19 43.19 42.19
  SAY #101005 /* ~You have already taken all that I have. I have little more to give, but what I have is yours.~ */
  IF ~~ THEN REPLY #101009 /* ~Regardless of what our agreement was, what is done is done. You promised a reward, and I expect you to deliver.~ */ GOTO 48
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",1)
~ THEN REPLY #101010 /* ~It could not be helped. The bounty hunters are no longer troubling you, and that fulfills our part of the bargain.~ */ GOTO 48
  IF ~  InParty("safana")
InMyArea("safana")
!StateCheck("safana",CD_STATE_NOTVALID)
~ THEN REPLY #101011 /* ~Fine. Safana, kill him.~ */ GOTO 48
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN REPLY #101012 /* ~Fine. Montaron, here is your new toy. Kill him when you have finished playing.~ */ GOTO 48
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN REPLY #101013 /* ~Fine. Xzar, have you ever found out what sound a liver landing on the floor makes? Could you please demonstrate?~ */ GOTO 48
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN REPLY #101014 /* ~Fine. Garrick, kill him.~ */ GOTO 48
  IF ~  InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN REPLY #101015 /* ~Fine. Eldoth, kill him.~ */ GOTO 48
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN REPLY #101016 /* ~Fine. Faldorn, kill him.~ */ GOTO 48
  IF ~  InParty("kagain")
InMyArea("kagain")
!StateCheck("kagain",CD_STATE_NOTVALID)
~ THEN REPLY #101017 /* ~Fine. Kagain, kill him.~ */ GOTO 48
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN REPLY #101018 /* ~Fine. Edwin, kill him.~ */ GOTO 48
  IF ~  InParty("tiax")
InMyArea("tiax")
!StateCheck("tiax",CD_STATE_NOTVALID)
~ THEN REPLY #101019 /* ~Fine. Tiax, kill him.~ */ GOTO 48
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN REPLY #101020 /* ~Fine. Viconia, he is yours. Kill him. Slowly.~ */ GOTO 48
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN REPLY #101021 /* ~Fine. Shar-Teel, kill him.~ */ GOTO 48
  IF ~~ THEN REPLY #101022 /* ~Bah. So you did. Begone!~ */ GOTO 51
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",1)
~ THEN REPLY #101023 /* ~There has been enough death. I am done with it. Take your life, and go.~ */ GOTO 51
  IF ~~ THEN REPLY #101024 /* ~Oh, very well. Go.~ */ GOTO 51
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BFALDO~ 331
  IF ~  Global("X#BelginRobbed","GLOBAL",1)
Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN GOTO 47
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BXZAR~ 277
END

IF ~~ THEN BEGIN 47 // from: 46.17 45.17 44.17 43.17 42.17
  SAY #101007 /* ~You attempted to rob me and then blackmailed me, but you did finally deliver. I should be grateful, I suppose... here is everything I own.~ */
  IF ~~ THEN REPLY #101009 /* ~Regardless of what our agreement was, what is done is done. You promised a reward, and I expect you to deliver.~ */ GOTO 48
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",1)
~ THEN REPLY #101010 /* ~It could not be helped. The bounty hunters are no longer troubling you, and that fulfills our part of the bargain.~ */ GOTO 48
  IF ~  InParty("safana")
InMyArea("safana")
!StateCheck("safana",CD_STATE_NOTVALID)
~ THEN REPLY #101011 /* ~Fine. Safana, kill him.~ */ GOTO 48
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN REPLY #101012 /* ~Fine. Montaron, here is your new toy. Kill him when you have finished playing.~ */ GOTO 48
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN REPLY #101013 /* ~Fine. Xzar, have you ever found out what sound a liver landing on the floor makes? Could you please demonstrate?~ */ GOTO 48
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN REPLY #101014 /* ~Fine. Garrick, kill him.~ */ GOTO 48
  IF ~  InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN REPLY #101015 /* ~Fine. Eldoth, kill him.~ */ GOTO 48
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN REPLY #101016 /* ~Fine. Faldorn, kill him.~ */ GOTO 48
  IF ~  InParty("kagain")
InMyArea("kagain")
!StateCheck("kagain",CD_STATE_NOTVALID)
~ THEN REPLY #101017 /* ~Fine. Kagain, kill him.~ */ GOTO 48
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN REPLY #101018 /* ~Fine. Edwin, kill him.~ */ GOTO 48
  IF ~  InParty("tiax")
InMyArea("tiax")
!StateCheck("tiax",CD_STATE_NOTVALID)
~ THEN REPLY #101019 /* ~Fine. Tiax, kill him.~ */ GOTO 48
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN REPLY #101020 /* ~Fine. Viconia, he is yours. Kill him. Slowly.~ */ GOTO 48
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN REPLY #101021 /* ~Fine. Shar-Teel, kill him.~ */ GOTO 48
  IF ~~ THEN REPLY #101022 /* ~Bah. So you did. Begone!~ */ GOTO 51
  IF ~  Global("X#TiaxQuestBattle","GLOBAL",1)
~ THEN REPLY #101023 /* ~There has been enough death. I am done with it. Take your life, and go.~ */ GOTO 51
  IF ~~ THEN REPLY #101024 /* ~Oh, very well. Go.~ */ GOTO 51
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BFALDO~ 331
END

IF ~~ THEN BEGIN 48 // from: 47.12 47.11 47.10 47.9 47.8 47.7 47.6 47.5 47.4 47.3 47.2 47.1 47.0 46.12 46.11 46.10 46.9 46.8 46.7 46.6 46.5 46.4 46.3 46.2 46.1 46.0 45.12 45.11 45.10 45.9 45.8 45.7 45.6 45.5 45.4 45.3 45.2 45.1 45.0 44.12 44.11 44.10 44.9 44.8 44.7 44.6 44.5 44.4 44.3 44.2 44.1 44.0 43.12 43.11 43.10 43.9 43.8 43.7 43.6 43.5 43.4 43.3 43.2 43.1 43.0 42.12 42.11 42.10 42.9 42.8 42.7 42.6 42.5 42.4 42.3 42.2 42.1 42.0 41.6 40.6 39.6
  SAY #101026 /* ~But this cannot be! I have little to offer, and am of no threat to you!~ */
  IF ~~ THEN GOTO 50
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BMONTA~ 265
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BVICON~ 263
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BEDWIN~ 310
  IF ~  InParty("tiax")
InMyArea("tiax")
!StateCheck("tiax",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BTIAX~ 294
  IF ~  InParty("tiax")
InMyArea("tiax")
!StateCheck("tiax",CD_STATE_NOTVALID)
~ THEN GOTO 49
END

IF ~~ THEN BEGIN 49 // from: 48.5
  SAY #101027 /* ~Telliax, wakeup! You must remember me... please...~ */
  IF ~~ THEN GOTO 50
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BMONTA~ 265
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BVICON~ 263
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BEDWIN~ 310
  IF ~  InParty("tiax")
InMyArea("tiax")
!StateCheck("tiax",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BTIAX~ 294
END

IF ~~ THEN BEGIN 50 // from: 49.0 48.0
  SAY #101032 /* ~Baervan preserve me! I beg you, do not do this!~ */
  IF ~~ THEN REPLY #101033 /* ~Ah, isn't that nice. A prayer to your god before death. Quite fitting, actually. Except perhaps you should have prayed to me.~ */ DO ~SetGlobal("X#BelginBattle","GLOBAL",1)
ReputationInc(-1)
SetGlobal("X#TiaxQuest","GLOBAL",20)
~ EXIT
  IF ~  InParty("tiax")
InMyArea("tiax")
!StateCheck("tiax",CD_STATE_NOTVALID)
~ THEN REPLY #101034 /* ~Well Tiax, he is your mentor. Your call.~ */ EXTERN ~_TIAXJ~ 48
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN REPLY #101035 /* ~Nice final words, but I am sure you will be saying a few more before you are gone. Viconia, he is yours. Kill him. Slowly.~ */ DO ~SetGlobal("X#BelginBattle","GLOBAL",1)
ReputationInc(-1)
SetGlobal("X#TiaxQuest","GLOBAL",20)
~ EXIT
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN REPLY #101012 /* ~Fine. Montaron, here is your new toy. Kill him when you have finished playing.~ */ DO ~SetGlobal("X#BelginBattle","GLOBAL",1)
ReputationInc(-1)
SetGlobal("X#TiaxQuest","GLOBAL",20)
~ EXIT
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN REPLY #101013 /* ~Fine. Xzar, have you ever found out what sound a liver landing on the floor makes? Could you please demonstrate?~ */ DO ~SetGlobal("X#BelginBattle","GLOBAL",1)
ReputationInc(-1)
SetGlobal("X#TiaxQuest","GLOBAL",20)
~ EXIT
  IF ~~ THEN REPLY #101036 /* ~Belgin, you just don't seem to understand Gallows humor. Of course we are not going to kill you. Just give me the coin and let's be done with this.~ */ GOTO 51
END

IF ~~ THEN BEGIN 51 // from: 50.5 47.15 47.14 47.13 46.15 46.14 46.13 45.15 45.14 45.13 44.15 44.14 44.13 43.15 43.14 43.13 42.15 42.14 42.13 41.4 41.1 40.4 40.1 39.4 39.1
  SAY #101037 /* ~I appreciate what you have done here. I can go back to my life, and for that I am grateful.~ */
  IF ~~ THEN REPLY #29028 /* ~A pleasure doing business with you.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",20)
ActionOverride("x#belgin",EscapeArea())
ActionOverride("x#belgin",GivePartyGold(1000))
~ EXIT
  IF ~~ THEN REPLY #101041 /* ~I am glad we could help you.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",20)
ActionOverride("x#belgin",EscapeArea())
ActionOverride("x#belgin",GivePartyGold(1000))
~ EXIT
  IF ~~ THEN REPLY #101042 /* ~Business is concluded. Now we'll just kill you for fun.~ */ DO ~SetGlobal("X#BelginBattle","GLOBAL",1)
ReputationInc(-1)
SetGlobal("X#TiaxQuest","GLOBAL",20)
ActionOverride("x#belgin",GivePartyGold(1000))
~ EXIT
  IF ~~ THEN REPLY #101043 /* ~Yeah, as long as it's over. Get lost.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",20)
ActionOverride("x#belgin",EscapeArea())
ActionOverride("x#belgin",GivePartyGold(1000))
~ EXIT
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN DO ~ActionOverride("x#belgin",GivePartyGold(1000))
~ EXTERN ~_BFALDO~ 332
  IF ~  Global("X#BelginRobbed","GLOBAL",1)
Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN DO ~ActionOverride("x#belgin",GivePartyGold(1000))
~ GOTO 54
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN DO ~ActionOverride("x#belgin",GivePartyGold(1000))
~ EXTERN ~_BXZAR~ 278
  IF ~  Global("X#BelginRobbed","GLOBAL",0)
Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN DO ~ActionOverride("x#belgin",GivePartyGold(1000))
~ GOTO 53
  IF ~  InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN DO ~ActionOverride("x#belgin",GivePartyGold(1000))
~ EXTERN ~_BELDOT~ 369
  IF ~  Global("X#BelginRobbed","GLOBAL",1)
Global("X#TiaxQuestBlackmail","GLOBAL",0)
~ THEN DO ~ActionOverride("x#belgin",GivePartyGold(1000))
~ GOTO 52
  IF ~  InParty("tiax")
InMyArea("tiax")
!StateCheck("tiax",CD_STATE_NOTVALID)
Global("X#TiaxQuestCyric","GLOBAL",2)
~ THEN DO ~ActionOverride("x#belgin",GivePartyGold(1000))
~ EXTERN ~_BTIAX~ 295
END

IF ~~ THEN BEGIN 52 // from: 51.9
  SAY #101039 /* ~Given how we met, I was prepared for you to doublecross me. I am glad that you chose to help, instead.~ */
  IF ~~ THEN REPLY #29028 /* ~A pleasure doing business with you.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",20)
ActionOverride("x#belgin",EscapeArea())
~ EXIT
  IF ~~ THEN REPLY #101041 /* ~I am glad we could help you.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",20)
ActionOverride("x#belgin",EscapeArea())
~ EXIT
  IF ~~ THEN REPLY #101042 /* ~Business is concluded. Now we'll just kill you for fun.~ */ DO ~SetGlobal("X#BelginBattle","GLOBAL",1)
ReputationInc(-1)
SetGlobal("X#TiaxQuest","GLOBAL",20)
~ EXIT
  IF ~~ THEN REPLY #101043 /* ~Yeah, as long as it's over. Get lost.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",20)
ActionOverride("x#belgin",EscapeArea())
~ EXIT
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BFALDO~ 332
  IF ~  Global("X#BelginRobbed","GLOBAL",1)
Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN GOTO 54
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BXZAR~ 278
  IF ~  Global("X#BelginRobbed","GLOBAL",0)
Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN GOTO 53
  IF ~  InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BELDOT~ 369
END

IF ~~ THEN BEGIN 53 // from: 52.7 51.7
  SAY #101005 /* ~You have already taken all that I have. I have little more to give, but what I have is yours.~ */
  IF ~~ THEN REPLY #29028 /* ~A pleasure doing business with you.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",20)
ActionOverride("x#belgin",EscapeArea())
~ EXIT
  IF ~~ THEN REPLY #101041 /* ~I am glad we could help you.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",20)
ActionOverride("x#belgin",EscapeArea())
~ EXIT
  IF ~~ THEN REPLY #101042 /* ~Business is concluded. Now we'll just kill you for fun.~ */ DO ~SetGlobal("X#BelginBattle","GLOBAL",1)
ReputationInc(-1)
SetGlobal("X#TiaxQuest","GLOBAL",20)
~ EXIT
  IF ~~ THEN REPLY #101043 /* ~Yeah, as long as it's over. Get lost.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",20)
ActionOverride("x#belgin",EscapeArea())
~ EXIT
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BFALDO~ 332
  IF ~  Global("X#BelginRobbed","GLOBAL",1)
Global("X#TiaxQuestBlackmail","GLOBAL",1)
~ THEN GOTO 54
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BXZAR~ 278
END

IF ~~ THEN BEGIN 54 // from: 53.5 52.5 51.5
  SAY #101007 /* ~You attempted to rob me and then blackmailed me, but you did finally deliver. I should be grateful, I suppose... here is everything I own.~ */
  IF ~~ THEN REPLY #29028 /* ~A pleasure doing business with you.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",20)
ActionOverride("x#belgin",EscapeArea())
GiveGoldForce(2000)
~ EXIT
  IF ~~ THEN REPLY #101041 /* ~I am glad we could help you.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",20)
ActionOverride("x#belgin",EscapeArea())
GiveGoldForce(2000)
~ EXIT
  IF ~~ THEN REPLY #101042 /* ~Business is concluded. Now we'll just kill you for fun.~ */ DO ~SetGlobal("X#BelginBattle","GLOBAL",1)
ReputationInc(-1)
SetGlobal("X#TiaxQuest","GLOBAL",20)
GiveGoldForce(2000)
~ EXIT
  IF ~~ THEN REPLY #101043 /* ~Yeah, as long as it's over. Get lost.~ */ DO ~SetGlobal("X#TiaxQuest","GLOBAL",20)
ActionOverride("x#belgin",EscapeArea())
GiveGoldForce(2000)
~ EXIT
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN DO ~GiveGoldForce(2000)
~ EXTERN ~_BFALDO~ 332
END
