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

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

IF WEIGHT #2 /* Triggers after states #: 2 54 even though they appear after this state */
~  Global("X#JCleanQuayle","GLOBAL",1)
~ THEN BEGIN 0 // from:
  SAY #87081 /* ~Hmph! You are superfluous to my well being and I can't say I'll miss being confronted with your Orcish face and Troll-like breath each morning!  Good riddance to stupid rubbish!~ */
  IF ~~ THEN DO ~LeaveParty()
EscapeArea()
~ EXIT
END

IF WEIGHT #3 /* Triggers after states #: 2 54 even though they appear after this state */
~  Global("X#JCleanQuayle","GLOBAL",1)
~ THEN BEGIN 1 // from:
  SAY #87082 /* ~Please don't leave me out here! Do you hear buzzards? I hear buzzards.~ */
  IF ~~ THEN DO ~LeaveParty()
SetDialogue("_QUAYLP")
~ EXIT
END

IF WEIGHT #1 /* Triggers after states #: 54 even though they appear after this state */
~  Global("X#QuFriendTalk","GLOBAL",1)
~ THEN BEGIN 2 // from:
  SAY #94819 /* ~So, I bet you're glad of your good fortune in running into me. Why, I've surely improved the intellect of this party, not to mention the good looks, a hundred fold.~ */
  IF ~~ THEN REPLY #94820 /* ~I have no time for this, gnome.~ */ DO ~SetGlobal("X#QuFriendTalk","GLOBAL",2)
~ GOTO 3
  IF ~~ THEN REPLY #94821 /* ~Of course, Quayle. I'm glad to have you around. I really don't know what I'd do without you!~ */ DO ~SetGlobal("X#QuFriendTalk","GLOBAL",2)
~ GOTO 4
  IF ~~ THEN REPLY #94822 /* ~You really do have a high opinion of yourself. How do you get that hat on with an ego that big?~ */ DO ~SetGlobal("X#QuFriendTalk","GLOBAL",2)
~ GOTO 5
END

IF ~~ THEN BEGIN 3 // from: 4.0 2.0
  SAY #94823 /* ~Oh, get you! Somebody got up on the wrong side of bed this morning!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from: 2.1
  SAY #94824 /* ~Well, it's always nice to be appreciated... I'm glad you have the good sense to realise how important I am.~ */
  IF ~~ THEN REPLY #94825 /* ~Actually, that was sarcasm. Couldn't you tell?~ */ GOTO 3
  IF ~~ THEN REPLY #94822 /* ~You really do have a high opinion of yourself. How do you get that hat on with an ego that big?~ */ GOTO 5
END

IF ~~ THEN BEGIN 5 // from: 4.1 2.2
  SAY #94826 /* ~I, uh, have a special lotion.~ */
  IF ~~ THEN REPLY #94827 /* ~Actually, I wasn't expecting an answer. Well, not that answer.~ */ GOTO 6
  IF ~~ THEN REPLY #94828 /* ~Ehh... Never mind.~ */ EXIT
END

IF ~~ THEN BEGIN 6 // from: 5.0
  SAY #94829 /* ~Well, with a brain this big, the hat does chafe. I would offer you some of the lotion but, y'know, I think it'd be wasted on you.~ */
  IF ~~ THEN REPLY #94830 /* ~Right. Uh, time to keep moving, I think.~ */ EXIT
END

IF ~~ THEN BEGIN 7 // from:
  SAY #98307 /* ~Hey! I resent that!~ */
  IF ~~ THEN EXTERN ~_JAHEIJ~ 60
END

IF ~~ THEN BEGIN 8 // from:
  SAY #98419 /* ~Impressive in size to be sure, but you have to consider just how and why something that big could ever get down here... And I think I, for one, will prove adequate to any tests of wisdom. Say, who and what are you, anyway?~ */
  IF ~~ THEN EXTERN ~_APPAR~ 1
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_APPAR~ 2
END

IF ~~ THEN BEGIN 9 // from:
  SAY #98421 /* ~That’s fine. I don’t make mistakes. Well, not often, anyhow.~ */
  IF ~~ THEN REPLY #83691 /* ~I am not afraid of traps or the monsters that live within.~ */ EXTERN ~_BAYARD~ 4
  IF ~~ THEN REPLY #83692 /* ~I am certain that I can handle any creature in this place.~ */ EXTERN ~_BAYARD~ 5
  IF ~~ THEN REPLY #83693 /* ~You seem quite certain this place is dangerous. What makes you so sure, and why have you abandoned your friends to it?~ */ EXTERN ~_BAYARD~ 9
END

IF ~~ THEN BEGIN 10 // from:
  SAY #98422 /* ~Say, what’s the name? Actually, you probably shouldn’t answer that question.~ */
  IF ~~ THEN REPLY #77668 /* ~Ahhh, I think we had better get away from this woman quickly.  Okay Carsa, thanks for everything.  Good luck on the jar thing.~ */ EXTERN ~_CARSA~ 7
  IF ~~ THEN REPLY #77669 /* ~Just give us the jar Carsa.  We'll know what to do with it.  Don't worry.~ */ EXTERN ~_CARSA~ 5
END

IF ~~ THEN BEGIN 11 // from:
  SAY #98423 /* ~Hey! Me, too.~ */
  IF ~~ THEN REPLY #84354 /* ~Who are you exactly, and what are you doing on an ice island in the middle of the ocean?~ */ EXTERN ~_GARAN~ 1
  IF ~~ THEN REPLY #84355 /* ~We are the party of <CHARNAME>, and have come to find Shandalar's stolen cloak.~ */ EXTERN ~_GARAN~ 2
  IF ~~ THEN REPLY #84356 /* ~I am Dinklemus Littlelog, and have come here in search of the holy groundhog.~ */ EXTERN ~_GARAN~ 3
  IF ~~ THEN REPLY #84357 /* ~We're trapped here, just like you.  We angered a mage of great power and he transported us here as punishment.~ */ EXTERN ~_GARAN~ 4
END

IF ~~ THEN BEGIN 12 // from:
  SAY #98424 /* ~Ah, the old return-our-missing-comrade ploy. I do so love a good return-our-missing-comrade ploy.~ */
  IF ~~ THEN DO ~TakePartyItem("_MISC82")
AddexperienceParty(1500)
SetGlobal("MACFirewineKnights","GLOBAL",1)
EraseJournalEntry(77714)
EraseJournalEntry(77643)
EraseJournalEntry(77645)
ActionOverride("knight1",DestroySelf())
ActionOverride("knight2",DestroySelf())
ActionOverride("knight3",DestroySelf())
ActionOverride("knight4",DestroySelf())
ActionOverride("knight5",DestroySelf())
ActionOverride("knight6",DestroySelf())
~ SOLVED_JOURNAL #88911 /* ~Ghostly knights in Firewine

I returned the ancient suit of armor to the knights, who seemed eager to have it.  They spoke of a "brother traitor" and of being free... it seems I have released them from a timeless curse.~ */ EXIT
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KNIGHT~ 2
END

IF ~~ THEN BEGIN 13 // from:
  SAY #98465 /* ~Well, he doesn’t seem to have much upstairs, but I guess the same could be said for most of the other people I must associate with on a daily basis... Hey, no offence, guys.~ */
  IF ~~ THEN DO ~ChangeEnemyAlly(Myself,ALLY)
ApplySpell(Myself,CHARM_HERO)
~ EXIT
  IF ~~ THEN EXTERN ~_HACK~ 3
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIJ~ 24
END

IF ~~ THEN BEGIN 14 // from:
  SAY #98476 /* ~I’ve often wondered that myself, actually.~ */
  IF ~~ THEN REPLY #84393 /* ~Um... because you find it?~ */ EXTERN ~_DEZKIEL~ 1
  IF ~~ THEN REPLY #84394 /* ~I have no time for your riddles! I seek a cloak that belongs to Shandalar!~ */ EXTERN ~_DEZKIEL~ 2
  IF ~~ THEN REPLY #84395 /* ~This place has addled your senses. No doubt you will be no friendlier than any of the others here.~ */ EXTERN ~_DEZKIEL~ 3
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DEZKIEL~ 14
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALORAJ~ 32
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DEZKIEL~ 13
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALORAJ~ 31
END

IF ~~ THEN BEGIN 15 // from:
  SAY #98482 /* ~The Gibbering Twelve? What sort of name is that?~ */
  IF ~~ THEN REPLY #83212 /* ~Excuse me? I've never heard of the Gibbering Twelve or, for that matter, this Unmanned fellow.~ */ EXTERN ~_DRADEE~ 4
  IF ~~ THEN REPLY #83213 /* ~What do you mean? We found your hut and came in through the door.~ */ EXTERN ~_DRADEE~ 5
  IF ~~ THEN REPLY #83214 /* ~What are you talking about and who are you?~ */ EXTERN ~_DRADEE~ 6
  IF ~~ THEN REPLY #83215 /* ~Are you intoxicated, sir?~ */ EXTERN ~_DRADEE~ 7
  IF ~  InParty("xan")
InMyArea("xan")
!StateCheck("xan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_XANJ~ 115
END

IF ~~ THEN BEGIN 16 // from:
  SAY #98482 /* ~The Gibbering Twelve? What sort of name is that?~ */
  IF ~~ THEN REPLY #83212 /* ~Excuse me? I've never heard of the Gibbering Twelve or, for that matter, this Unmanned fellow.~ */ EXTERN ~_DRADEE~ 4
  IF ~~ THEN REPLY #83213 /* ~What do you mean? We found your hut and came in through the door.~ */ EXTERN ~_DRADEE~ 5
  IF ~~ THEN REPLY #83214 /* ~What are you talking about and who are you?~ */ EXTERN ~_DRADEE~ 6
  IF ~~ THEN REPLY #83215 /* ~Are you intoxicated, sir?~ */ EXTERN ~_DRADEE~ 7
  IF ~  InParty("xan")
InMyArea("xan")
!StateCheck("xan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_XANJ~ 116
END

IF ~~ THEN BEGIN 17 // from:
  SAY #99952 /* ~That goes to prove that the intellect of an individual is inversely proportional to his size. Look at me, and look at Minsc... QED.~ */
  IF ~~ THEN DO ~ActionOverride("larze",Enemy())
~ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 69
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 73
END

IF ~~ THEN BEGIN 18 // from:
  SAY #100825 /* ~So many people always want to speak to you... Why not me? I’m smarter than you are.~ */
  IF ~~ THEN REPLY #81798 /* ~How is it that you know my name?~ */ EXTERN ~_ADDY~ 1
  IF ~~ THEN REPLY #81799 /* ~If you would speak, then speak. What is it that leaves you so anxious?~ */ EXTERN ~_ADDY~ 2
END

IF ~~ THEN BEGIN 19 // from:
  SAY #100826 /* ~Stupidity?!? You may have one up over us now, but in the long run, I’ll show you who’s stupid!~ */
  IF ~~ THEN EXTERN ~_ANGELO~ 4
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ANGELO~ 12
END

IF ~~ THEN BEGIN 20 // from:
  SAY #100828 /* ~Oh! Well, sir, I consider it my duty to help those of less mental fortitude than I, but I’m sure we-~ */
  IF ~PartyHasItem("_SCRL2K")
~ THEN REPLY #82289 /* ~Take a look at these documents we have; Sarevok is the one who tried to kill you, had Entar killed and nearly killed Eltan.~ */ EXTERN ~_BELT~ 7
  IF ~~ THEN REPLY #82290 /* ~Sarevok's the one who set you up to be killed. You have to kill him, now!~ */ EXTERN ~_BELT~ 9
  IF ~PartyHasItem("_SCRL3F")
~ THEN REPLY #84756 /* ~We have Sarevok's diary!  Take a look through it!  Sarevok is the one who tried to kill you, had Entar killed and nearly killed Eltan!~ */ EXTERN ~_BELT~ 7
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN GOTO 21
END

IF ~~ THEN BEGIN 21 // from: 20.3
  SAY #100829 /* ~Hey! Listen to me! Stop paying attention to <CHARNAME>!~ */
  IF ~PartyHasItem("_SCRL2K")
~ THEN REPLY #82289 /* ~Take a look at these documents we have; Sarevok is the one who tried to kill you, had Entar killed and nearly killed Eltan.~ */ EXTERN ~_BELT~ 7
  IF ~~ THEN REPLY #82290 /* ~Sarevok's the one who set you up to be killed. You have to kill him, now!~ */ EXTERN ~_BELT~ 9
  IF ~PartyHasItem("_SCRL3F")
~ THEN REPLY #84756 /* ~We have Sarevok's diary!  Take a look through it!  Sarevok is the one who tried to kill you, had Entar killed and nearly killed Eltan!~ */ EXTERN ~_BELT~ 7
END

IF ~~ THEN BEGIN 22 // from:
  SAY #100830 /* ~Ha! My guess is he’s just jealous of the power, such as I command.~ */
  IF ~~ THEN EXTERN ~_BENTAN~ 8
END

IF ~~ THEN BEGIN 23 // from:
  SAY #100831 /* ~Hi there!~ */
  IF ~~ THEN REPLY #78070 /* ~And who might you be?~ */ EXTERN ~_BLANE~ 1
  IF ~~ THEN REPLY #78071 /* ~Get out of my way.~ */ EXTERN ~_BLANE~ 2
END

IF ~~ THEN BEGIN 24 // from:
  SAY #100832 /* ~The Mermaid and Undercellars, though, it can prove a most ‘educational’ place to visit, <CHARNAME>. I’d certainly recommend it if you want to learn some, uh, new tricks.~ */
  IF ~~ THEN REPLY #79749 /* ~Can you tell us what you have to offer here?~ */ DO ~StartStore("_TAV0114",LastTalkedToBy(Myself))
~ EXIT
  IF ~~ THEN REPLY #69534 /* ~Goodbye.~ */ EXIT
  IF ~Global("X#SkieBORK","GLOBAL",0)
InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SkieBORK","GLOBAL",1)~ EXTERN ~_SKIEJ~ 58
  IF ~Global("X#EdwinBork","GLOBAL",0)
InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#EdwinBork","GLOBAL",1)~ EXTERN ~_BORK~ 5
  IF ~Global("X#AloraBork1","GLOBAL",0)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#AloraBork1","GLOBAL",1)~ EXTERN ~_ALORAJ~ 76
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BORK~ 10
END

IF ~~ THEN BEGIN 25 // from:
  SAY #100834 /* ~Are you going to ask for my autograph? Say, <CHARNAME>, is he going to ask for my autograph? I get that a lot. Goes with the territory. Mental territory, of course, I don’t actually own any land of my own, yet.~ */
  IF ~~ THEN EXTERN ~_BREVLI~ 1
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BREVLI~ 46
END

IF ~~ THEN BEGIN 26 // from:
  SAY #100836 /* ~Seems everyone’s got an errand boy to send messages these days. Say, perhaps I should find myself one... There’s enough kids round here, I’m sure people wouldn’t miss one or two... Did I say that out loud? You must’ve been hearing things.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CAEDMO~ 9
END

IF ~~ THEN BEGIN 27 // from:
  SAY #100838 /* ~I’d prefer to think of myself as a mind for hire as opposed to an axe for hire.~ */
  IF ~~ THEN REPLY #81805 /* ~Yes, that would be us.~ */ EXTERN ~_DABRON~ 2
  IF ~~ THEN REPLY #81807 /* ~Got the wrong people, fella.~ */ EXTERN ~_DABRON~ 1
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DABRON~ 11
END

IF ~~ THEN BEGIN 28 // from:
  SAY #100840 /* ~Hey there!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 29 // from:
  SAY #100841 /* ~A reasonable sum, and while, perhaps, not as high as I’d usually charge for my services... I would suggest we accept. <CHARNAME>?~ */
  IF ~~ THEN REPLY #74474 /* ~We don't feel up to this kind of subterfuge, sorry.~ */ EXTERN ~_DELTAN~ 5
  IF ~~ THEN REPLY #74475 /* ~2,000 gold?!? Consider us hired!~ */ EXTERN ~_DELTAN~ 6
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DELTAN~ 19
END

IF ~~ THEN BEGIN 30 // from:
  SAY #100843 /* ~Somehow, your odious breath fails to lend credence to your argument, oaf.~ */
  IF ~~ THEN REPLY #78014 /* ~Look guy, we're not gonna give you any money, now bug off.~ */ EXTERN ~_DRUNK~ 3
  IF ~~ THEN REPLY #78015 /* ~Okay, have it; have it all.~ */ EXTERN ~_DRUNK~ 1
  IF ~~ THEN REPLY #78016 /* ~I guess if you're a lich we're going to have to kill you!~ */ EXTERN ~_DRUNK~ 3
END

IF ~~ THEN BEGIN 31 // from:
  SAY #100844 /* ~Vagrancy?!? Excuse me! It has been scientifically proven that, uh, sleeping out-of-doors can be beneficial to one’s mental prowess! And I am ample proof of that, should you wish to put it to a test, ya big tin-head!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FFSLEEP~ 4
END

IF ~~ THEN BEGIN 32 // from:
  SAY #100846 /* ~Probably me. Can we play? Let’s play.~ */
  IF ~~ THEN EXIT
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GAMES~ 1
END

IF ~~ THEN BEGIN 33 // from:
  SAY #100848 /* ~<CHARNAME>, that means we can make twice as much money as we put in! That’s a sure-fire profit! Do you see?~ */
  IF ~PartyGoldGT(0)
~ THEN REPLY #77106 /* ~Wager 1 gold.~ */ DO ~TakePartyGold(1)
~ EXTERN ~_GAMES5~ 1
  IF ~PartyGoldGT(1)
~ THEN REPLY #77107 /* ~Wager 2 gold.~ */ DO ~TakePartyGold(2)
~ EXTERN ~_GAMES5~ 2
  IF ~~ THEN REPLY #61551 /* ~No thanks.~ */ EXTERN ~_GAMES5~ 4
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GAMES5~ 6
END

IF ~~ THEN BEGIN 34 // from:
  SAY #100850 /* ~Listen, pal, I’m happy for you, but I don’t want to get too close... I don’t really go in for that kinda thing. Know what I’m saying?~ */
  IF ~~ THEN EXIT
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GHORAK~ 6
END

IF ~~ THEN BEGIN 35 // from:
  SAY #100852 /* ~I think she should eat less cheese before she goes to bed at night.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_LANTAN~ 3
END

IF ~~ THEN BEGIN 36 // from:
  SAY #100854 /* ~Naturally I know a thing or two about that sort of spell, and he does speak the truth... Only powerful magic will save him. I’d help, of course, but I find those particular spells, uh, give me a headache.~ */
  IF ~~ THEN REPLY #81274 /* ~We don't have the money and we're not interested in dealing with an assassin.~ */ EXTERN ~_LOTHAN~ 6
  IF ~~ THEN REPLY #81275 /* ~Sorry, but you can find someone else; we can find this antidote on our own.~ */ EXTERN ~_LOTHAN~ 6
  IF ~~ THEN REPLY #81276 /* ~We'll help you, take us to this Diviner.~ */ EXTERN ~_LOTHAN~ 7
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_LOTHAN~ 15
END

IF ~~ THEN BEGIN 37 // from:
  SAY #101755 /* ~Though he's not quite up to my level, he is a fairly intelligent character, <CHARNAME>. I mean, for a human, of course, anything he's written is probably worth at least a quick peek.~ */
  IF ~~ THEN EXTERN ~X#GARAR~ 10
END

IF ~~ THEN BEGIN 38 // from: _TIAXJ:64.1
  SAY #101769 /* ~Hey, Garrick, you forgot to mention me! I mean, I *am* undoubtedly the one this group should be presenting as a figurehead...~ */
  IF ~~ THEN EXTERN ~X#GARWYL~ 2
END

IF ~~ THEN BEGIN 39 // from:
  SAY #103176 /* ~Oh, boy, yes, please!~ */
  IF ~~ THEN REPLY #81766 /* ~Get away from me you psycho.  I'm just here to enjoy a beer.~ */ EXTERN ~_DESRET~ 1
  IF ~~ THEN REPLY #81767 /* ~What's your name woman, and what's this whole 'entropy' crap you're going on about?~ */ EXTERN ~_DESRET~ 2
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 141
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 135
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CORANJ~ 328
END

IF ~~ THEN BEGIN 40 // from:
  SAY #103254 /* ~Simple indeed! I could've done something easy as that when I was but knee-high to a gibberling! Of course, I was a very advanced child.~ */
  IF ~~ THEN REPLY #79479 /* ~How much are we going to be paid to do you this service?~ */ EXTERN ~_DEGROD~ 4
  IF ~~ THEN REPLY #79480 /* ~How do we turn them from stone back to flesh?~ */ EXTERN ~_DEGROD~ 5
  IF ~~ THEN REPLY #79481 /* ~How did you come by this information?~ */ EXTERN ~_DEGROD~ 3
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DYNAHJ~ 176
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CORANJ~ 575
END

IF ~~ THEN BEGIN 41 // from:
  SAY #103375 /* ~Well, uh, that's my excuse anyway.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GALILE~ 17
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DYNAHJ~ 266
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GALILE~ 16
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DYNAHJ~ 265
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GALILE~ 15
END

IF ~~ THEN BEGIN 42 // from:
  SAY #103374 /* ~Oh, I completely agree with you! So many louts demand instant answers to all kinds of questions, while the true learned such as myself, know that patience is required, due to the consideration that must be given to each and every variable factor...~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GALILE~ 20
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DYNAHJ~ 268
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GALILE~ 19
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DYNAHJ~ 267
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GALILE~ 18
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN GOTO 43
END

IF ~~ THEN BEGIN 43 // from: 42.6
  SAY #103375 /* ~Well, uh, that's my excuse anyway.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GALILE~ 20
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DYNAHJ~ 268
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GALILE~ 19
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DYNAHJ~ 267
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GALILE~ 18
END

IF ~~ THEN BEGIN 44 // from:
  SAY #103380 /* ~Certainly my type of lady!~ */
  IF ~~ THEN EXIT
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BCORAN~ 362
END

IF ~~ THEN BEGIN 45 // from:
  SAY #103380 /* ~Certainly my type of lady!~ */
  IF ~~ THEN EXIT
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BCORAN~ 362
END

IF ~~ THEN BEGIN 46 // from:
  SAY #103390 /* ~Actually, uh, I think that smell might be me. But I'm glad that you like it!~ */
  IF ~~ THEN DO ~EraseJournalEntry(85266)
SetGlobal("HelpArkion","GLOBAL",1)
TakePartyItem("_MISC80")
GivePartyGold(250)
AddexperienceParty(1800)
~ SOLVED_JOURNAL #88945 /* ~A corpse for Arkion

I delivered a corpse to Arkion the necromancer, as requested.  He rewarded me with some gold for my trouble.~ */ EXIT
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ARKION~ 19
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~_XZARJ~ 236
  IF ~  InParty("quayle")
InMyArea("quayle")
!StateCheck("quayle",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ARKION~ 18
END

IF ~~ THEN BEGIN 47 // from:
  SAY #103581 /* ~It is nice to be recognised for my importance, for once!~ */
  IF ~~ THEN DO ~EraseJournalEntry(85165)
EraseJournalEntry(85174)
SetGlobal("TalkedToThief","GLOBAL",1)
SetGlobal("TalkedToAlatos","GLOBAL",1)
~ EXTERN ~_ALATOS~ 1
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALATOS~ 36
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALORAJ~ 130
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALATOS~ 35
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALORAJ~ 129
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALATOS~ 34
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALORAJ~ 128
END

IF ~~ THEN BEGIN 48 // from:
  SAY #103618 /* ~Sounds like an interesting relationship you have there.~ */
  IF ~~ THEN REPLY #80056 /* ~So you're one of his bimbos.  Who cares?  Defend yourself!~ */ EXTERN ~_CYTHAN~ 2
  IF ~~ THEN REPLY #80057 /* ~I doubt you'll ever be his 'favored one.'  Sarevok is evil to the core... help us defeat him, and we'll let you go free.~ */ EXTERN ~_CYTHAN~ 3
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 203
END

IF ~~ THEN BEGIN 49 // from:
  SAY #103636 /* ~Hey, I'm not <PRO_HISHER> father's child, leave me out of this! I've never even met <PRO_HISHER> father!~ */
  IF ~~ THEN REPLY #81510 /* ~You knew my father?~ */ EXTERN ~_ENTILL~ 1
  IF ~~ THEN REPLY #81511 /* ~Who has sent you? The Iron Throne?~ */ EXTERN ~_ENTILL~ 2
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ENTILL~ 18
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VICONJ~ 241
END

IF ~~ THEN BEGIN 50 // from:
  SAY #103640 /* ~Well, you're certainly right about that one.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 51 // from:
  SAY #103640 /* ~Well, you're certainly right about that one.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 52 // from:
  SAY #103663 /* ~Such an amazing show! I wonder how he does it. I'm sure I could figure it out one bored afternoon.~ */
  IF ~~ THEN DO ~CreateCreature("_OOPAH",[1282.3222],0)
~ EXIT
END

IF ~~ THEN BEGIN 53 // from:
  SAY #103663 /* ~Such an amazing show! I wonder how he does it. I'm sure I could figure it out one bored afternoon.~ */
  IF ~~ THEN DO ~CreateCreature("_OOPAH",[1282.3222],0)
~ EXIT
END

IF WEIGHT #0 ~  Global("X#XAQURE","GLOBAL",1)
~ THEN BEGIN 54 // from:
  SAY #113191 /* ~I see that you are in desperate need of sage advice on the ways of love, <CHARNAME>. As the most intelligent gnome on Faerun, I have wisely decided to bestow it upon you.~ */
  IF ~~ THEN EXTERN ~_BXANNN~ 391
END

IF ~~ THEN BEGIN 55 // from:
  SAY #113196 /* ~First, there must be something special about you. You are a simple <RACE> - this is bad. Were you a Drow, or an Avariel, things would have been easier. But as it is, you'll need to think of a feature that sets you apart from other members of your species, so your lover would see you in a different light. A vulnerable innocence, a tragic trauma in the past, perhaps someone's death - if you were an orphan, it would be better, still. There should be a mystery about you, too... say, if you told everyone that you didn't know your true parents, and an abominable monster hunted you with no reason whatsoever? You could wield mysterious powers, as well...~ */
  IF ~~ THEN GOTO 56
END

IF ~~ THEN BEGIN 56 // from: 55.0
  SAY #113197 /* ~Oh. But you already have all that, don't you?~ */
  IF ~~ THEN REPLY #113198 /* ~Yes, Quayle, I do. Thanks for the advice, though.~ */ GOTO 57
  IF ~~ THEN REPLY #113199 /* ~You've told me nothing new, gnome. Begone!~ */ GOTO 57
  IF ~~ THEN REPLY #113200 /* ~Now that you've said it, I've started to feel really uncomfortable.~ */ GOTO 57
END

IF ~~ THEN BEGIN 57 // from: 56.2 56.1 56.0
  SAY #113201 /* ~Never mind, <CHARNAME>! My supreme intelligence has never failed me before, and it will not fail me again! I'll give you heaps and tones of advice, just you wait! And in the meantime, take Xan, here - my extraordinary intuition tells me that to hook him, you need no tips at all!~ */
  IF ~~ THEN EXTERN ~_BXANNN~ 392
END

IF ~~ THEN BEGIN 58 // from:
  SAY #113203 /* ~No. In fact, I have an excellent idea: how about I tutor you in the ways of love, Xan?~ */
  IF ~~ THEN EXTERN ~_BXANNN~ 393
END

IF ~~ THEN BEGIN 59 // from:
  SAY #113207 /* ~I pity you, <CHARNAME>. Obviously, you lack the brains to grasp my supreme knowledge and follow my gentle guidance.~ */
  IF ~~ THEN GOTO 60
END

IF ~~ THEN BEGIN 60 // from: 59.0
  SAY #113208 /* ~Xan, perhaps you have reconsidered, and need some advice?~ */
  IF ~~ THEN EXTERN ~_BXANNN~ 394
END

IF ~~ THEN BEGIN 61 // from:
  SAY #77084 /* ~Your loss.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 ~  IsGabber(Player1)
~ THEN BEGIN 62 // from:
  SAY #115949 /* ~*All three feet of Quayle radiate an air of intellectual and spiritual superiority. You have been wandering about what such a self-important person can say of his past. Perhaps it's time that you finally got your answers.*~ [X#BLANK] */
  IF ~~ THEN REPLY #115950 /* ~*You decide that you cannot be bothered, lest you learn things you do not want to know about Quayle.*~ */ EXIT
  IF ~  Global("X#QUCHdone","GLOBAL",1)
RandomNum(4,1)
~ THEN REPLY #115951 /* ~So, Quayle, can you tell me more about yourself?~ */ GOTO 91
  IF ~  Global("X#QUCHdone","GLOBAL",1)
RandomNum(4,2)
~ THEN REPLY #115951 /* ~So, Quayle, can you tell me more about yourself?~ */ GOTO 92
  IF ~  Global("X#QUCHdone","GLOBAL",1)
RandomNum(4,3)
~ THEN REPLY #115951 /* ~So, Quayle, can you tell me more about yourself?~ */ GOTO 93
  IF ~  Global("X#QUCHdone","GLOBAL",1)
RandomNum(4,4)
~ THEN REPLY #115951 /* ~So, Quayle, can you tell me more about yourself?~ */ GOTO 94
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
RandomNum(5,1)
~ THEN REPLY #115952 /* ~*You ask Quayle lots of personal questions.*~ */ GOTO 88
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
RandomNum(5,2)
~ THEN REPLY #115952 /* ~*You ask Quayle lots of personal questions.*~ */ GOTO 91
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
RandomNum(5,3)
~ THEN REPLY #115952 /* ~*You ask Quayle lots of personal questions.*~ */ GOTO 92
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
RandomNum(5,4)
~ THEN REPLY #115952 /* ~*You ask Quayle lots of personal questions.*~ */ GOTO 93
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
RandomNum(5,5)
~ THEN REPLY #115952 /* ~*You ask Quayle lots of personal questions.*~ */ GOTO 94
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
CheckStatGT(Player1,15,INT)
RandomNum(2,1)
~ THEN REPLY #115953 /* ~*You proceed with asking inquisitive questions about Quayle's past.* ~ */ GOTO 88
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
CheckStatGT(Player1,15,INT)
RandomNum(2,2)
~ THEN REPLY #115953 /* ~*You proceed with asking inquisitive questions about Quayle's past.* ~ */ GOTO 91
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,INT)
RandomNum(5,1)
~ THEN REPLY #115953 /* ~*You proceed with asking inquisitive questions about Quayle's past.* ~ */ GOTO 88
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,INT)
RandomNum(5,2)
~ THEN REPLY #115953 /* ~*You proceed with asking inquisitive questions about Quayle's past.* ~ */ GOTO 91
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,INT)
RandomNum(5,3)
~ THEN REPLY #115953 /* ~*You proceed with asking inquisitive questions about Quayle's past.* ~ */ GOTO 92
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,INT)
RandomNum(5,4)
~ THEN REPLY #115953 /* ~*You proceed with asking inquisitive questions about Quayle's past.* ~ */ GOTO 93
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,INT)
RandomNum(5,5)
~ THEN REPLY #115953 /* ~*You proceed with asking inquisitive questions about Quayle's past.* ~ */ GOTO 94
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
CheckStatGT(Player1,15,WIS)
RandomNum(2,1)
~ THEN REPLY #115954 /* ~*You talk about Quayle's problems and hopes, in a friendly and kind manner, in hopes of making Quayle confide in you.*~ */ GOTO 88
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
CheckStatGT(Player1,15,WIS)
RandomNum(2,2)
~ THEN REPLY #115954 /* ~*You talk about Quayle's problems and hopes, in a friendly and kind manner, in hopes of making Quayle confide in you.*~ */ GOTO 92
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,WIS)
RandomNum(5,1)
~ THEN REPLY #115954 /* ~*You talk about Quayle's problems and hopes, in a friendly and kind manner, in hopes of making Quayle confide in you.*~ */ GOTO 88
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,WIS)
RandomNum(5,2)
~ THEN REPLY #115954 /* ~*You talk about Quayle's problems and hopes, in a friendly and kind manner, in hopes of making Quayle confide in you.*~ */ GOTO 91
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,WIS)
RandomNum(5,3)
~ THEN REPLY #115954 /* ~*You talk about Quayle's problems and hopes, in a friendly and kind manner, in hopes of making Quayle confide in you.*~ */ GOTO 92
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,WIS)
RandomNum(5,4)
~ THEN REPLY #115954 /* ~*You talk about Quayle's problems and hopes, in a friendly and kind manner, in hopes of making Quayle confide in you.*~ */ GOTO 93
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,WIS)
RandomNum(5,5)
~ THEN REPLY #115954 /* ~*You talk about Quayle's problems and hopes, in a friendly and kind manner, in hopes of making Quayle confide in you.*~ */ GOTO 94
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
CheckStatGT(Player1,15,CHR)
RandomNum(2,1)
~ THEN REPLY #115955 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Quayle into telling you more about himself.* ~ */ GOTO 88
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
CheckStatGT(Player1,15,CHR)
RandomNum(2,2)
~ THEN REPLY #115955 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Quayle into telling you more about himself.* ~ */ GOTO 93
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,CHR)
RandomNum(5,1)
~ THEN REPLY #115955 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Quayle into telling you more about himself.* ~ */ GOTO 88
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,CHR)
RandomNum(5,2)
~ THEN REPLY #115955 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Quayle into telling you more about himself.* ~ */ GOTO 91
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,CHR)
RandomNum(5,3)
~ THEN REPLY #115955 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Quayle into telling you more about himself.* ~ */ GOTO 93
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,CHR)
RandomNum(5,4)
~ THEN REPLY #115955 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Quayle into telling you more about himself.* ~ */ GOTO 92
  IF ~  !Global("X#QUCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,CHR)
RandomNum(5,5)
~ THEN REPLY #115955 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Quayle into telling you more about himself.* ~ */ GOTO 94
  IF ~  RandomNum(8,1)
~ THEN REPLY #115956 /* ~Why have you decided to travel with us?~ */ GOTO 64
  IF ~  RandomNum(8,2)
~ THEN REPLY #115956 /* ~Why have you decided to travel with us?~ */ GOTO 65
  IF ~  RandomNum(8,3)
~ THEN REPLY #115956 /* ~Why have you decided to travel with us?~ */ GOTO 66
  IF ~  RandomNum(8,4)
~ THEN REPLY #115956 /* ~Why have you decided to travel with us?~ */ GOTO 67
  IF ~  RandomNum(8,5)
~ THEN REPLY #115956 /* ~Why have you decided to travel with us?~ */ GOTO 68
  IF ~  RandomNum(8,6)
~ THEN REPLY #115956 /* ~Why have you decided to travel with us?~ */ GOTO 69
  IF ~  RandomNum(8,7)
~ THEN REPLY #115956 /* ~Why have you decided to travel with us?~ */ GOTO 70
  IF ~  RandomNum(8,8)
~ THEN REPLY #115956 /* ~Why have you decided to travel with us?~ */ GOTO 71
  IF ~  RandomNum(8,1)
~ THEN REPLY #115957 /* ~Will you stop giving me useless advice?~ */ GOTO 72
  IF ~  RandomNum(8,2)
~ THEN REPLY #115957 /* ~Will you stop giving me useless advice?~ */ GOTO 73
  IF ~  RandomNum(8,3)
~ THEN REPLY #115957 /* ~Will you stop giving me useless advice?~ */ GOTO 74
  IF ~  RandomNum(8,4)
~ THEN REPLY #115957 /* ~Will you stop giving me useless advice?~ */ GOTO 75
  IF ~  RandomNum(8,5)
~ THEN REPLY #115957 /* ~Will you stop giving me useless advice?~ */ GOTO 76
  IF ~  RandomNum(8,6)
~ THEN REPLY #115957 /* ~Will you stop giving me useless advice?~ */ GOTO 77
  IF ~  RandomNum(8,7)
~ THEN REPLY #115957 /* ~Will you stop giving me useless advice?~ */ GOTO 78
  IF ~  RandomNum(8,8)
~ THEN REPLY #115957 /* ~Will you stop giving me useless advice?~ */ GOTO 79
  IF ~  RandomNum(8,1)
~ THEN REPLY #115958 /* ~You've really an amazing brain, Quayle.~ */ GOTO 80
  IF ~  RandomNum(8,2)
~ THEN REPLY #115958 /* ~You've really an amazing brain, Quayle.~ */ GOTO 81
  IF ~  RandomNum(8,3)
~ THEN REPLY #115958 /* ~You've really an amazing brain, Quayle.~ */ GOTO 82
  IF ~  RandomNum(8,4)
~ THEN REPLY #115958 /* ~You've really an amazing brain, Quayle.~ */ GOTO 83
  IF ~  RandomNum(8,5)
~ THEN REPLY #115958 /* ~You've really an amazing brain, Quayle.~ */ GOTO 84
  IF ~  RandomNum(8,6)
~ THEN REPLY #115958 /* ~You've really an amazing brain, Quayle.~ */ GOTO 85
  IF ~  RandomNum(8,7)
~ THEN REPLY #115958 /* ~You've really an amazing brain, Quayle.~ */ GOTO 86
  IF ~  RandomNum(8,8)
~ THEN REPLY #115958 /* ~You've really an amazing brain, Quayle.~ */ GOTO 87
  IF ~~ THEN REPLY #115959 /* ~Quayle, your voice is... strange.~ */ GOTO 63
END

IF ~~ THEN BEGIN 63 // from: 62.55
  SAY #100238 /* ~*coughs*~ */
  IF ~~ THEN DO ~SetName(9500)
SetPlayerSound(Myself,88300,INITIAL_MEETING)
SetPlayerSound(Myself,88301,MORALE)
SetPlayerSound(Myself,88302,HAPPY)
SetPlayerSound(Myself,88303,UNHAPPY_ANNOYED)
SetPlayerSound(Myself,88304,UNHAPPY_SERIOUS)
SetPlayerSound(Myself,88305,UNHAPPY_BREAKING_POINT)
SetPlayerSound(Myself,88306,LEADER)
SetPlayerSound(Myself,88307,TIRED)
SetPlayerSound(Myself,88308,BORED)
SetPlayerSound(Myself,88309,BATTLE_CRY1)
SetPlayerSound(Myself,88309,BATTLE_CRY2)
SetPlayerSound(Myself,88309,BATTLE_CRY3)
SetPlayerSound(Myself,88309,BATTLE_CRY4)
SetPlayerSound(Myself,88309,BATTLE_CRY5)
SetPlayerSound(Myself,88310,DAMAGE)
SetPlayerSound(Myself,88311,DYING)
SetPlayerSound(Myself,88312,HURT)
SetPlayerSound(Myself,88313,AREA_FOREST)
SetPlayerSound(Myself,88314,AREA_CITY)
SetPlayerSound(Myself,88315,AREA_DUNGEON)
SetPlayerSound(Myself,88316,AREA_DAY)
SetPlayerSound(Myself,88317,AREA_NIGHT)
SetPlayerSound(Myself,88318,SELECT_COMMON1)
SetPlayerSound(Myself,88319,SELECT_COMMON2)
SetPlayerSound(Myself,88320,SELECT_COMMON3)
SetPlayerSound(Myself,88318,SELECT_COMMON4)
SetPlayerSound(Myself,88319,SELECT_COMMON5)
SetPlayerSound(Myself,88320,SELECT_COMMON6)
SetPlayerSound(Myself,88321,SELECT_ACTION1)
SetPlayerSound(Myself,88322,SELECT_ACTION2)
SetPlayerSound(Myself,88323,SELECT_ACTION3)
SetPlayerSound(Myself,88321,SELECT_ACTION4)
SetPlayerSound(Myself,88322,SELECT_ACTION5)
SetPlayerSound(Myself,88323,SELECT_ACTION6)
SetPlayerSound(Myself,88321,SELECT_ACTION7)
SetPlayerSound(Myself,88328,INTERACTION1)
SetPlayerSound(Myself,88329,INTERACTION2)
SetPlayerSound(Myself,88330,INTERACTION3)
SetPlayerSound(Myself,88331,INTERACTION4)
SetPlayerSound(Myself,88332,INTERACTION5)
SetPlayerSound(Myself,88333,INSULT)
SetPlayerSound(Myself,88334,45)
SetPlayerSound(Myself,88335,COMPLIMENT1)
SetPlayerSound(Myself,88336,REACT_TO_DIE_GENERAL)
SetPlayerSound(Myself,88337,REACT_TO_DIE_SPECIFIC)
SetPlayerSound(Myself,88338,RESPONSE_TO_INSULT1)
SetPlayerSound(Myself,88339,RESPONSE_TO_INSULT2)
SetPlayerSound(Myself,88340,RESPONSE_TO_INSULT3)
SetPlayerSound(Myself,88318,DIALOG_DEFAULT)
SetPlayerSound(Myself,88318,SELECT_RARE1)
SetPlayerSound(Myself,88319,SELECT_RARE2)
SetPlayerSound(Myself,115960,EXISTANCE5)
~ EXIT
END

IF ~~ THEN BEGIN 64 // from: 62.31
  SAY #115961 /* ~Oh, there was no lack of those who would beg for me to join their party, I assure you. You must consider yourself lucky I chose yours.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 65 // from: 62.32
  SAY #115962 /* ~Well, you are not so hopelessly dense as others. Do you know that one idiot *refused* to take me in? Preposterous!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 66 // from: 62.33
  SAY #115963 /* ~Partly because I am still hoping to beat some sense into your poor, miniscule head. How come that you have a brain that small?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 67 // from: 62.34
  SAY #115964 /* ~No idea… er, no, of course I have an idea! I have an answer to every question! It was… it was a whim of mine. Yes, that's it.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 68 // from: 62.35
  SAY #115965 /* ~Only the most stupid and ungrateful person would stoop so low as to ask such a question to the one of my vast and magnificent intelligence. Has it not occurred to you, my poor, misguided friend, that I may take offence at your words and simply leave?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 69 // from: 62.36
  SAY #115966 /* ~Because you seemed eager to listen to my advice and to partake of my wisdom. I see that I was not mistaken.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 70 // from: 62.37
  SAY #115967 /* ~It was your lucky day, my dear <MANWOMAN>. Don't ask yourself why it has happened, just thank the heavens - and me.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 71 // from: 62.38
  SAY #115968 /* ~It is only temporary, I am sure. Soon, I'll find a group whose members will be more appreciative of my intelligent advice.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 72 // from: 62.39
  SAY #115969 /* ~You never listen, in any case. Your loss.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 73 // from: 62.40
  SAY #115970 /* ~My poor <CHARNAME>! Your brain simply does not have the power to comprehend my advice, does it?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 74 // from: 62.41
  SAY #115971 /* ~Never mind, I'll just give it to someone else. Hey, you! Ah, it was just a shadow. No matter. Hey, you!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 75 // from: 62.42
  SAY #115972 /* ~I'll ask you to keep your tone civil! Why, you've insulted me so many times that it's a wonder why I am still staying with you!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 76 // from: 62.43
  SAY #115973 /* ~No, <CHARNAME>, I will not. You will learn to appreciate it.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 77 // from: 62.44
  SAY #115974 /* ~Don't lose hope! Just listen harder, and you will stop considering it 'useless'.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 78 // from: 62.45
  SAY #115975 /* ~What did you just say? Something stupid, I'm sure.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 79 // from: 62.46
  SAY #115976 /* ~Useless? Is it your metaphor of 'vastly superior'?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 80 // from: 62.47
  SAY #115977 /* ~*Quayle preens proudly.*~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 81 // from: 62.48
  SAY #115978 /* ~I knew you'd notice some day! Even one with your limited intelligence could not pass such a fact by!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 82 // from: 62.49
  SAY #115979 /* ~That I do.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 83 // from: 62.50
  SAY #115980 /* ~And the most handsome features, do not forget that!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 84 // from: 62.51
  SAY #115981 /* ~I have always said that I was the most intelligent gnome on Faerun. Good for you to have realised it, too.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 85 // from: 62.52
  SAY #115982 /* ~You've yet to see my moves with ladies. My brain is at its best with them.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 86 // from: 62.53
  SAY #115983 /* ~Certainly, <CHARNAME>. I'm glad you agree.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 87 // from: 62.54
  SAY #115984 /* ~And I have the most fascinating nose, too!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 88 // from: 62.26 62.24 62.19 62.17 62.12 62.10 62.5
  SAY #88360 /* ~You will find that I make a most magnificent friend!~ */
  IF ~~ THEN GOTO 89
END

IF ~~ THEN BEGIN 89 // from: 88.0
  SAY #115985 /* ~Indeed, just listen to my wisdom and instruction, and you will win a great deal of knowledge. I am a priest of Baervar Cloakshadow, and a great mage besides. I, ah... mastered sorcery so quickly that the narrow-minded commoners in my village made me leave as soon as I had come of age. They could not tolerate a youngster teaching them how to do things properly, you see...~ */
  IF ~~ THEN GOTO 90
END

IF ~~ THEN BEGIN 90 // from: 89.0
  SAY #115986 /* ~But I am glad - I was too talented to remain in the backwater. I have apprenticed under Gifos, and he himself said that I cannot be bothered with learning as all others do, so I am better off on my own acquiring the practical knowledge of magic while adventuring. Yes, he did. So now I do just that - and, to tell you the truth, I think I am now at the level when I myself can teach anyone... bah! I could have taught in the Luskan's Host Tower... as a minimum - years ago, if not for envy and intrigues...~ */
  IF ~~ THEN DO ~SetGlobal("X#QUCHdone","GLOBAL",1)
~ EXIT
END

IF ~~ THEN BEGIN 91 // from: 62.27 62.20 62.13 62.11 62.6 62.1
  SAY #115987 /* ~You do not deserve a single whiff of my enormous brain... Wait! Where are you going?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 92 // from: 62.29 62.21 62.18 62.14 62.7 62.2
  SAY #115988 /* ~I am the most intelligent being on Toril... Can you feel my amazing brain?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 93 // from: 62.28 62.25 62.22 62.15 62.8 62.3
  SAY #115987 /* ~You do not deserve a single whiff of my enormous brain... Wait! Where are you going?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 94 // from: 62.30 62.23 62.16 62.9 62.4
  SAY #115988 /* ~I am the most intelligent being on Toril... Can you feel my amazing brain?~ */
  IF ~~ THEN EXIT
END
