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

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

IF WEIGHT #26 /* Triggers after states #: 5 19 27 42 57 67 77 92 104 105 115 116 117 118 119 120 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #87124 /* ~Sorry I followed ya, but I never get out of Candlekeep and those monks are such a bore.  Never any decent coin in their pockets neither.  I... I saw Gorion, and I am SO sorry!  Kinda figured something bad might happen to you out here.
~ */
  IF ~~ THEN REPLY #87125 /* ~How could you have known?  Gorion did not even tell me.~ */ GOTO 1
  IF ~~ THEN REPLY #87126 /* ~I do not want you looking over my shoulder as I travel.  Take your nosey little self back to the keep before Winthrop sees you are gone!~ */ GOTO 2
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #87127 /* ~I... accidentally... read a letter on his desk the other day.  Can't remember exactly what it said, but he might still have... it might be on his... his body.  Anyway, I'm not gonna let you wander around out here all alone.  Never let a friend down, no sir!  Stick with you until you say otherwise, I will!~ */
  IF ~~ THEN DO ~JoinParty()
~ EXIT
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #87128 /* ~Well... that's just fine!  But even though you might not think so, you need me.  So despite anything you say, I'm coming with you.  So there!~ */
  IF ~~ THEN DO ~JoinParty()
~ EXIT
END

IF ~~ THEN BEGIN 3 // from:
  SAY #87129 /* ~I s'pose I'll be going. We're friends and all, but I guess I'll just wait 'till you change yer tune. I'll be around when you do.~ */
  IF ~~ THEN DO ~LeaveParty()
SetDialogue("_IMOENP")
~ EXIT
END

IF WEIGHT #27 /* Triggers after states #: 5 19 27 42 57 67 77 92 104 105 115 116 117 118 119 120 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("X#JCleanImoen","GLOBAL",1)
~ THEN BEGIN 4 // from:
  SAY #87122 /* ~Well good!  You've changed since we were friends anyway.  Not nearly as much fun now.  Should have stayed in Candlekeep, instead of wasting time with you gully pennies.~ */
  IF ~~ THEN DO ~LeaveParty()
~ EXIT
END

IF WEIGHT #10 /* Triggers after states #: 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("X#ImFriendTalk","GLOBAL",2)
~ THEN BEGIN 5 // from:
  SAY #92165 /* ~So, <CHARNAME>, how ya doing?~ */
  IF ~~ THEN REPLY #92166 /* ~I'm fine, Imoen. Thanks for asking. You have something on your mind?~ */ DO ~SetGlobal("X#ImFriendTalk","GLOBAL",3)
SetGlobal("X#ImFriendCheck","GLOBAL",0)
RealSetGlobalTimer("X#ImFriendTalkTime","GLOBAL",SIX_HOURS)
~ GOTO 8
  IF ~~ THEN REPLY #92167 /* ~I've been better. Do *you* have something on your mind?~ */ DO ~SetGlobal("X#ImFriendTalk","GLOBAL",3)
SetGlobal("X#ImFriendCheck","GLOBAL",0)
RealSetGlobalTimer("X#ImFriendTalkTime","GLOBAL",SIX_HOURS)
~ GOTO 8
  IF ~~ THEN REPLY #92168 /* ~Don't bother me now, Imoen. Get back in line.~ */ DO ~SetGlobal("X#ImFriendTalk","GLOBAL",3)
SetGlobal("X#ImFriendCheck","GLOBAL",0)
RealSetGlobalTimer("X#ImFriendTalkTime","GLOBAL",SIX_HOURS)
~ GOTO 9
  IF ~~ THEN REPLY #92169 /* ~I still can't believe that Gorion is dead.~ */ DO ~SetGlobal("X#ImFriendTalk","GLOBAL",3)
SetGlobal("X#ImFriendCheck","GLOBAL",0)
RealSetGlobalTimer("X#ImFriendTalkTime","GLOBAL",SIX_HOURS)
~ GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.3
  SAY #92170 /* ~*sadly* Me too.~ */
  IF ~~ THEN GOTO 7
END

IF ~~ THEN BEGIN 7 // from: 6.0
  SAY #92171 /* ~Is that why you don't talk much lately? All quiet and stuff...~ */
  IF ~~ THEN REPLY #92172 /* ~Gorion is dead, mysterious assassins are after me, and I can't even start imagining how to survive another day. It all happened so suddenly!~ */ GOTO 13
  IF ~~ THEN REPLY #92173 /* ~Yes, and I have a lot more on my mind.~ */ GOTO 13
  IF ~~ THEN REPLY #92174 /* ~You were always the talkative one. I'm more the silent type, remember? Don't worry, I'm still the same old <CHARNAME>.~ */ GOTO 10
END

IF ~~ THEN BEGIN 8 // from: 5.1 5.0
  SAY #92175 /* ~Not really. Was wonderin' how you were feeling. Seeing if you were okay and all. You don't talk much lately... all quiet and stuff.~ */
  IF ~~ THEN REPLY #92172 /* ~Gorion is dead, mysterious assassins are after me, and I can't even start imagining how to survive another day. It all happened so suddenly!~ */ GOTO 13
  IF ~~ THEN REPLY #92176 /* ~I just have a lot on my mind. I'm still the same old <CHARNAME>. Don't worry.~ */ GOTO 10
  IF ~~ THEN REPLY #92174 /* ~You were always the talkative one. I'm more the silent type, remember? Don't worry, I'm still the same old <CHARNAME>.~ */ GOTO 10
END

IF ~~ THEN BEGIN 9 // from: 5.2
  SAY #92177 /* ~Hmph. I guess 'crabby' is the answer!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 10 // from: 8.2 8.1 7.2
  SAY #92178 /* ~Good. I'd hate to see this eat away at ya. We'll get him, you know. That guy, whoever he was, who killed your dad. We'll find out who he is, and pay him back good!~ */
  IF ~~ THEN GOTO 11
END

IF ~~ THEN BEGIN 11 // from: 10.0
  SAY #92179 /* ~And don't even think of ditching me, either. I know what I'm doing, and I'm in this as much as you. I liked Gorion, and you're my best friend.~ */
  IF ~~ THEN GOTO 12
END

IF ~~ THEN BEGIN 12 // from: 11.0
  SAY #92180 /* ~I'm your best friend too, whether you know it or not. You can count on me, and don't you forget it!~ */
  IF ~~ THEN REPLY #92181 /* ~I can't make any promises, Imoen. I intend to assemble the most efficient group possible. Your skills may end up being redundant.~ */ GOTO 16
  IF ~~ THEN REPLY #92182 /* ~What brings this on, Imoen? I don't think I've ever seen you act this way!~ */ GOTO 17
END

IF ~~ THEN BEGIN 13 // from: 8.0 7.1 7.0
  SAY #92183 /* ~I'd hate to see this eat away at ya. We'll get him, ya know. That guy, whoever he was, who killed your dad. We'll find out who he is, and pay him back good!~ */
  IF ~~ THEN GOTO 14
END

IF ~~ THEN BEGIN 14 // from: 13.0
  SAY #92179 /* ~And don't even think of ditching me, either. I know what I'm doing, and I'm in this as much as you. I liked Gorion, and you're my best friend.~ */
  IF ~~ THEN GOTO 15
END

IF ~~ THEN BEGIN 15 // from: 14.0
  SAY #92180 /* ~I'm your best friend too, whether you know it or not. You can count on me, and don't you forget it!~ */
  IF ~~ THEN REPLY #92181 /* ~I can't make any promises, Imoen. I intend to assemble the most efficient group possible. Your skills may end up being redundant.~ */ GOTO 16
  IF ~~ THEN REPLY #92182 /* ~What brings this on, Imoen? I don't think I've ever seen you act this way!~ */ GOTO 17
END

IF ~~ THEN BEGIN 16 // from: 15.0 12.0
  SAY #92184 /* ~Redundant? I'll show you redundant! You need me, no matter what you think. You won't be able to get rid of me so easy! Eh, don't mind me.~ */
  IF ~~ THEN GOTO 17
END

IF ~~ THEN BEGIN 17 // from: 16.0 15.1 12.1
  SAY #92185 /* ~I'm just mad, that's all... mad, sad and a little worried, I guess. I'll get over it. Heh. I was trying to make you feel better, and now I'm all worked up.~ */
  IF ~~ THEN GOTO 18
END

IF ~~ THEN BEGIN 18 // from: 17.0
  SAY #92186 /* ~Come on, let's go find an evil dragon's lair or something to loot. Um, on second thought, a hobgoblin cave is more your speed. Or maybe a xvart village? Hmmm. I'll have to think about this one...~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #11 /* Triggers after states #: 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("X#ImFriendTalk","GLOBAL",4)
~ THEN BEGIN 19 // from:
  SAY #92187 /* ~Here we are, traveling the good road. Some grand 'adventure' we're having, huh? Not exactly what we used to daydream about, but still, kinda exciting, I guess. I'd rather be out here, going places and doing things, than be stuck in Candlekeep, cleaning out stables and turning down beds.~ */
  IF ~~ THEN REPLY #92188 /* ~It has been interesting, to say the least. Not quite what I had in mind either, but it's not like I have a choice.~ */ DO ~SetGlobal("X#ImFriendTalk","GLOBAL",5)
SetGlobal("X#ImFriendCheck","GLOBAL",0)
~ GOTO 20
  IF ~~ THEN REPLY #92189 /* ~I don't know. I would've been happy in Candlekeep, I think. I'd rather have some peace and security right now, rather than all this hardship.~ */ DO ~SetGlobal("X#ImFriendTalk","GLOBAL",5)
SetGlobal("X#ImFriendCheck","GLOBAL",0)
~ GOTO 21
  IF ~~ THEN REPLY #92190 /* ~Yes, the whole world is out there. Power, wealth, all just waiting for me. I intend to grab as much as I can!~ */ DO ~SetGlobal("X#ImFriendTalk","GLOBAL",5)
SetGlobal("X#ImFriendCheck","GLOBAL",0)
~ GOTO 22
  IF ~~ THEN REPLY #92191 /* ~You're babbling again, Imoen. You know how much I hate it when you do that! Please, keep a lid on it.~ */ DO ~SetGlobal("X#ImFriendTalk","GLOBAL",5)
SetGlobal("X#ImFriendCheck","GLOBAL",0)
~ GOTO 23
END

IF ~~ THEN BEGIN 20 // from: 19.0
  SAY #92192 /* ~That's 'we' remember? And yeah, 'spose we don't have much choice at that. Still, we can do a lot of good, I think.~ */
  IF ~~ THEN GOTO 24
END

IF ~~ THEN BEGIN 21 // from: 19.1
  SAY #92193 /* ~I guess so. You worry too much, you old fiddle-faddle. As for me, I plan to have some fun!~ */
  IF ~~ THEN GOTO 24
END

IF ~~ THEN BEGIN 22 // from: 19.2
  SAY #92194 /* ~That's good enough for you, I guess. As for me, I plan to have some fun!~ */
  IF ~~ THEN GOTO 24
END

IF ~~ THEN BEGIN 23 // from: 25.2 25.1 24.1 19.3
  SAY #92195 /* ~Well! You're being rude today! Guess I'll just keep quiet and wait for ya to come beggin' for something from little old Imoen.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 24 // from: 22.0 21.0 20.0
  SAY #92196 /* ~Wonder if they'll make a tale of our adventures? Just think, one day folks will be in the common room of some inn, maybe even the Candlekeep Inn, and ask a bard to tell 'em a tale of 'Imoen the Quick and her trusty side-kick, <CHARNAME>!'~ */
  IF ~~ THEN REPLY #92197 /* ~'Side-kick'...!?~ */ GOTO 25
  IF ~~ THEN REPLY #92191 /* ~You're babbling again, Imoen. You know how much I hate it when you do that! Please, keep a lid on it.~ */ DO ~SetGlobal("X#IMPC2","LOCALS",1)
~ GOTO 23
END

IF ~~ THEN BEGIN 25 // from: 24.0
  SAY #92198 /* ~Oh, okay. We'll be partners, I 'spose. What ya think? 'Imoen the Quick' sounds good to you? Quick with the blade and wit! All the best heroes and heroines have handles. Hmmm, maybe 'Imoen the Terrible'? Nah, too dark. 'Imoen the Bold'? 'Imoen the Sly'? 'Imoen the Magnificent'? Hey that sounds pretty good!~ */
  IF ~~ THEN REPLY #92199 /* ~Um, how about 'Imoen the...'?~ */ GOTO 26
  IF ~~ THEN REPLY #92200 /* ~Uh-huh. Imoen, the Pinnacle of Annoyance, the Epitome of Vexation and the Champion of Besetment!~ */ GOTO 23
  IF ~~ THEN REPLY #92191 /* ~You're babbling again, Imoen. You know how much I hate it when you do that! Please, keep a lid on it.~ */ GOTO 23
END

IF ~~ THEN BEGIN 26 // from: 25.0
  SAY #92201 /* ~Shush you! I'm thinking! Where was I? I still kinda like 'Imoen the Quick'. Wonder if it's taken already...?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #23 /* Triggers after states #: 42 57 67 77 92 105 115 116 117 119 120 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("X#ImoenBereg","GLOBAL",1)
~ THEN BEGIN 27 // from:
  SAY #92202 /* ~Well here we are! Beregost. Whatcha think?~ */
  IF ~~ THEN REPLY #92203 /* ~I haven't seen enough of it yet to have much of an opinion.~ */ DO ~SetGlobal("X#ImoenBereg","GLOBAL",2)
~ GOTO 28
  IF ~~ THEN REPLY #92204 /* ~Too many people for me. I'm not very fond of cities.~ */ DO ~SetGlobal("X#ImoenBereg","GLOBAL",2)
~ GOTO 29
  IF ~~ THEN REPLY #92205 /* ~Looks great to me. What do you think we should do first?~ */ DO ~SetGlobal("X#ImoenBereg","GLOBAL",2)
~ GOTO 30
  IF ~~ THEN REPLY #92206 /* ~The only thing I'm interested in right now is a warm room with a soft bed and a roof over my head.~ */ DO ~SetGlobal("X#ImoenBereg","GLOBAL",2)
~ GOTO 31
  IF ~~ THEN REPLY #92207 /* ~You see one town, you've seen them all.~ */ DO ~SetGlobal("X#ImoenBereg","GLOBAL",2)
~ GOTO 41
END

IF ~~ THEN BEGIN 28 // from: 27.0
  SAY #92208 /* ~We'll see what she has for us then! Uh... better let me do the talking, <CHARNAME>. A hayseed like you in a "big city" like this, oooh... pretty scary!~ */
  IF ~~ THEN REPLY #92209 /* ~Hayseed? When did you become so sophisticated, little Miss Worldly?~ */ GOTO 32
  IF ~~ THEN REPLY #92210 /* ~We'll avoid the scoundrels only to fall into the hands of the law, knowing you. Better let ME do the talking.~ */ GOTO 33
  IF ~~ THEN REPLY #92211 /* ~That's my plan! I'll just stand off to the side and look menacing.~ */ GOTO 34
END

IF ~~ THEN BEGIN 29 // from: 27.1
  SAY #92212 /* ~Ya just be anti-social then. We'll be better off if I do the talking, anyway. You'll just scare everyone away.~ */
  IF ~~ THEN REPLY #92213 /* ~Better that than the trouble you'll likely get us into. I think I better do the talking.~ */ GOTO 33
  IF ~  Gender(Player1,MALE)
~ THEN REPLY #92214 /* ~Sure, sure; and if your quick words, wit and charm aren't enough, I'll just glower menacingly.~ */ GOTO 34
  IF ~  Gender(Player1,FEMALE)
~ THEN REPLY #92215 /* ~Sure, sure; and if my good looks and your quick words aren't enough, I'll just glower menacingly. Truly, Imo, it's long past time you have learned to do that.~ */ GOTO 34
  IF ~~ THEN REPLY #92216 /* ~I'm not anti-social. I just hate people.~ */ GOTO 34
END

IF ~~ THEN BEGIN 30 // from: 35.0 34.0 33.0 32.0 27.2
  SAY #92217 /* ~Let's find a nice place and get some rooms. I haven't had a hot bath in ages! They say Feldepost's is a good inn; we should try there.~ */
  IF ~~ THEN GOTO 36
END

IF ~~ THEN BEGIN 31 // from: 27.3
  SAY #92218 /* ~You take the bed. I've got dibs on the bath! I haven't had a hot bath in ages! They say Feldepost's is a good inn; we should try to find rooms there.~ */
  IF ~~ THEN GOTO 36
END

IF ~~ THEN BEGIN 32 // from: 28.0
  SAY #92219 /* ~Oh, I've been all over with Winthrop before we came to Candlekeep. You should know that! But... heh, guess you're right. I was kinda little at the time.~ */
  IF ~~ THEN GOTO 30
END

IF ~~ THEN BEGIN 33 // from: 29.0 28.1
  SAY #92220 /* ~Whatever you say. I'm just teasin' anyway.~ */
  IF ~~ THEN GOTO 30
END

IF ~~ THEN BEGIN 34 // from: 29.3 29.2 29.1 28.2
  SAY #92221 /* ~You're smarter than ya look! Guess there's hope for you, after all, hehe.~ */
  IF ~~ THEN GOTO 30
END

IF ~~ THEN BEGIN 35 // from:
  SAY #92222 /* ~That was almost funny, <CHARNAME>. I must be rubbin' off on ya.~ */
  IF ~~ THEN GOTO 30
END

IF ~~ THEN BEGIN 36 // from: 31.0 30.0
  SAY #92223 /* ~After that, I'm going shopping. We need some supplies. Let's see...~ */
  IF ~~ THEN GOTO 37
END

IF ~~ THEN BEGIN 37 // from: 36.0
  SAY #92224 /* ~We need a new frying pan, since you ruined the one we have.~ */
  IF ~~ THEN REPLY #92225 /* ~I ruined? As I recall, YOU were the one who left it on the fire all night...~ */ GOTO 38
  IF ~~ THEN REPLY #92226 /* ~Whatever you say.~ */ GOTO 41
END

IF ~~ THEN BEGIN 38 // from: 37.0
  SAY #92227 /* ~Details, details. Was yer idea to have me cook. Um... what else? Some new blankets, soap, lantern oil, spare tent pegs... er... I think I kinda misplaced your hunting knife so we'll have to get a new one of those. I need some new clothes, too. My pink tunic got ripped in that last fight.~ */
  IF ~~ THEN REPLY #92228 /* ~Um... Imoen? ALL of your tunics are pink... and cloaks... and boots... and gloves...~ */ GOTO 39
  IF ~~ THEN REPLY #92229 /* ~Me, too! I wonder if they have any elvish jewelery? Ah, I *always* dreamed of buying something Evereska-made...~ */ GOTO 40
  IF ~~ THEN REPLY #92226 /* ~Whatever you say.~ */ GOTO 41
END

IF ~~ THEN BEGIN 39 // from: 38.0
  SAY #92230 /* ~But that was my favorite! Soooo... I'll need a new one! There's lots we need. Hope we have enough money...~ */
  IF ~~ THEN GOTO 40
END

IF ~~ THEN BEGIN 40 // from: 39.0 38.1
  SAY #92231 /* ~Well, c'mon, slowpoke. I wanna have a look around.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 41 // from: 38.2 37.1 27.4
  SAY #92232 /* ~Whatever you say, grouchy.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #12 /* Triggers after states #: 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("X#ImoenGift","GLOBAL",2)
~ THEN BEGIN 42 // from:
  SAY #92233 /* ~This is a good place to celebrate!~ */
  IF ~~ THEN REPLY #92234 /* ~Celebrate? What's the occasion?~ */ DO ~SetGlobal("X#ImoenGift","GLOBAL",3)
~ GOTO 44
  IF ~~ THEN REPLY #92235 /* ~What do you mean? What is there to celebrate?~ */ DO ~SetGlobal("X#ImoenGift","GLOBAL",3)
~ GOTO 44
  IF ~~ THEN REPLY #92236 /* ~Great! Let's have a party! Um... what are we celebrating, again?~ */ DO ~SetGlobal("X#ImoenGift","GLOBAL",3)
~ GOTO 44
  IF ~~ THEN REPLY #92237 /* ~What are you babbling about now, Imoen?~ */ DO ~SetGlobal("X#ImoenGift","GLOBAL",3)
~ GOTO 43
END

IF ~~ THEN BEGIN 43 // from: 42.3
  SAY #92238 /* ~What I'm "babbling" about, O Life of the Party, is...~ */
  IF ~~ THEN GOTO 44
END

IF ~~ THEN BEGIN 44 // from: 43.0 42.2 42.1 42.0
  SAY #92239 /* ~Your birthday, of course! Happy birthday, <CHARNAME>!~ */
  IF ~~ THEN REPLY #92240 /* ~Heh. I guess today is as good as any.~ */ GOTO 45
  IF ~~ THEN REPLY #92241 /* ~Hmmm... <DAYANDMONTH> is not my birthday, Imoen.~ */ GOTO 46
  IF ~~ THEN REPLY #92242 /* ~I'm in no mood to celebrate my "birthday" today, or any other day, for that matter.~ */ GOTO 47
END

IF ~~ THEN BEGIN 45 // from: 44.0
  SAY #92243 /* ~You bet!~ */
  IF ~~ THEN GOTO 48
END

IF ~~ THEN BEGIN 46 // from: 44.1
  SAY #92244 /* ~It could be! How do you know, huh? Today's as good as any I say! Besides...~ */
  IF ~~ THEN GOTO 48
END

IF ~~ THEN BEGIN 47 // from: 44.2
  SAY #92245 /* ~Suit yerself, 's yer loss. More cake for me then! Hehe!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 48 // from: 46.0 45.0
  SAY #92246 /* ~The nice thing about not knowing your birthday is that you can celebrate it whenever you want! Let other people have their boring old same-day-every-year birthdays. My way is more fun!~ */
  IF ~~ THEN GOTO 49
END

IF ~~ THEN BEGIN 49 // from: 48.0
  SAY #92247 /* ~Here! Take this. It's yer birthday present! Um... I know, we have lots of money and stuff, but I didn't want to spend *our* gold on *your* present. Soooo... I made it myself! Whatcha think?~ */
  IF ~~ THEN REPLY #92248 /* ~It's beautiful, Imoen! What is it?~ */ GOTO 50
  IF ~~ THEN REPLY #92249 /* ~It's... um... er... what is it, exactly?~ */ GOTO 50
  IF ~~ THEN REPLY #92250 /* ~What is this... thing?~ */ GOTO 50
END

IF ~~ THEN BEGIN 50 // from: 49.2 49.1 49.0
  SAY #92251 /* ~It's a necklace, goofy! Or amulet, if ya like. Here. I'll put it on ya.~ */
  IF ~~ THEN GOTO 51
END

IF ~~ THEN BEGIN 51 // from: 50.0
  SAY #92252 /* ~It's perfect for you. Really brings out the color of your eyes. Goes well with any outfit, too! Hehe!~ */
  IF ~~ THEN GOTO 52
END

IF ~~ THEN BEGIN 52 // from: 51.0
  SAY #92253 /* ~And this part, here. These pieces? They were... it was Gorion's. I found it on his... that night, ya know? I woulda given it to ya earlier, but it was all broken. So sad, like that...~ */
  IF ~~ THEN GOTO 53
END

IF ~~ THEN BEGIN 53 // from: 52.0
  SAY #92254 /* ~So! I made a necklace out of it! It's got some pretty rocks, and some beads, and some nice silk string I've been saving... oh, lots of stuff! I hope you like it. Wear it, won't ya? It'll protect ya... Gorion's spirit and such.~ */
  IF ~~ THEN REPLY #92255 /* ~Perhaps. We should get moving!~ */ GOTO 54
  IF ~~ THEN REPLY #92256 /* ~It's lovely. I will wear it always, Imoen. Thank you very much.~ */ GOTO 55
  IF ~~ THEN REPLY #92257 /* ~I can't promise I'll wear it, but I'll keep it safe. Thank you, Imoen.~ */ GOTO 55
  IF ~~ THEN REPLY #92258 /* ~Thank you, Imoen. But you know what I think? There is someone who needs protection more than I... I shall give it to... that person. Thank you, Imoen.~ */ GOTO 55
END

IF ~~ THEN BEGIN 54 // from: 53.0
  SAY #92259 /* ~Not before we've had your party, I hope!~ */
  IF ~~ THEN GOTO 56
END

IF ~~ THEN BEGIN 55 // from: 53.3 53.2 53.1
  SAY #92260 /* ~Sure thing! Heck, 'twas nuthin'.~ */
  IF ~~ THEN GOTO 56
END

IF ~~ THEN BEGIN 56 // from: 55.0 54.0
  SAY #92261 /* ~This calls for a round of drinks! And some cake! Oooh... and candles too!~ */
  IF ~~ THEN DO ~GiveItemCreate("X#IAMUL",Player1,1,1,0)
~ EXIT
END

IF WEIGHT #13 /* Triggers after states #: 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("X#ImoenDreamResponse2","GLOBAL",1)
~ THEN BEGIN 57 // from:
  SAY #92262 /* ~'Bout time you woke up! Uh... you okay, <CHARNAME>? You look kinda pale, like you've seen a ghost. You have some bad dreams, or something? Wouldn't surprise me.~ */
  IF ~~ THEN REPLY #92263 /* ~Dream isn't the word, Imoen. Nightmare is more like it.~ */ DO ~SetGlobal("X#ImoenDreamResponse2","GLOBAL",2)
~ GOTO 58
  IF ~~ THEN REPLY #92264 /* ~Dreams? Yes. More strange than bad, really.~ */ DO ~SetGlobal("X#ImoenDreamResponse2","GLOBAL",2)
~ GOTO 59
  IF ~~ THEN REPLY #92265 /* ~Just some bad dreams, Imoen. Probably just something I ate. Like your cooking!~ */ DO ~SetGlobal("X#ImoenDreamResponse2","GLOBAL",2)
~ GOTO 60
  IF ~~ THEN REPLY #92266 /* ~It's nothing I wish to talk about.~ */ DO ~SetGlobal("X#ImoenDreamResponse2","GLOBAL",2)
~ GOTO 61
END

IF ~~ THEN BEGIN 58 // from: 57.0
  SAY #92267 /* ~Sure sounded like it, alright!~ */
  IF ~~ THEN GOTO 62
END

IF ~~ THEN BEGIN 59 // from: 57.1
  SAY #92268 /* ~Huh. Well, they sounded bad to me!~ */
  IF ~~ THEN GOTO 62
END

IF ~~ THEN BEGIN 60 // from: 57.2
  SAY #92269 /* ~Ha. Yer a funny one. Told ya I couldn't cook. Serves you right! But these didn't sound like just any old bad dreams...~ */
  IF ~~ THEN GOTO 62
END

IF ~~ THEN BEGIN 61 // from: 62.0 57.3
  SAY #92270 /* ~Well, okay. Just remember, you can tell me anything, alright? Suit yerself, though. As for me, I'm gonna take a nap first chance I get. Could hardly sleep last night with all your carrying on.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 62 // from: 60.0 59.0 58.0
  SAY #92271 /* ~You were tossin' and turnin'... mumblin' in yer sleep too. Loudly! Kept me up half the night, you did. Anything you want to talk about?~ */
  IF ~~ THEN REPLY #92272 /* ~No. No I don't.~ */ GOTO 61
  IF ~  ReputationGT(Player1,9)
~ THEN REPLY #92273 /* ~Yes. That would make me feel better, I think. I was back in Candlekeep, only... *you relate your dream*~ */ GOTO 63
  IF ~  ReputationLT(Player1,10)
~ THEN REPLY #92273 /* ~Yes. That would make me feel better, I think. I was back in Candlekeep, only... *you relate your dream*~ */ GOTO 64
  IF ~  ReputationGT(Player1,9)
~ THEN REPLY #92274 /* ~Might as well. I was back in Candlekeep, only... *you relate your dream*~ */ GOTO 63
  IF ~  ReputationLT(Player1,10)
~ THEN REPLY #92274 /* ~Might as well. I was back in Candlekeep, only... *you relate your dream*~ */ GOTO 64
END

IF ~~ THEN BEGIN 63 // from: 62.3 62.1
  SAY #92275 /* ~Sounds kinda creepy. Still, I'm glad Gorion seemed happy in your dream. I... I don't know why, but I'm also glad you took the other path. Anyway, no harm done, I guess? It was just a dream... right?~ */
  IF ~~ THEN REPLY #92276 /* ~Yes... just a dream.~ */ GOTO 66
  IF ~~ THEN REPLY #92277 /* ~Not just a dream, Imoen. I'm different, somehow. I can heal people. All I have to do is touch them.~ */ GOTO 65
  IF ~  OR(8)
Class(Player1,PALADIN)
Class(Player1,DRUID)
Class(Player1,FIGHTER_DRUID)
Class(Player1,FIGHTER_CLERIC)
Class(Player1,CLERIC_MAGE)
Class(Player1,RANGER)
Class(Player1,CLERIC_THIEF)
Class(Player1,CLERIC_RANGER)
~ THEN REPLY #92278 /* ~A dream yes, but also something more. I have a healing touch, though an ability not from my deity. It comes from within me.~ */ GOTO 65
END

IF ~~ THEN BEGIN 64 // from: 62.4 62.2
  SAY #92279 /* ~Sounds creepy to me... really creepy! I don't like the sound of it at all! Poor <CHARNAME>... But it was just a dream, right? No harm done?~ */
  IF ~~ THEN REPLY #92276 /* ~Yes... just a dream.~ */ GOTO 66
  IF ~~ THEN REPLY #92280 /* ~Perhaps not, but I've gained something, a power. I'm able to draw the life force from something, wounding it, while at the same time healing myself.~ */ GOTO 65
  IF ~~ THEN REPLY #92281 /* ~Not at all. In fact, I feel invigorated! I've gained something as well, a power of a sort. I can now draw from the very life essence of a creature, healing myself in the process. Perhaps greater gifts await me in the future...~ */ GOTO 66
  IF ~  OR(6)
Class(Player1,MAGE_THIEF)
Class(Player1,BARD)
Class(Player1,MAGE)
Class(Player1,FIGHTER_MAGE)
Class(Player1,FIGHTER_MAGE_THIEF)
Class(Player1,CLERIC_MAGE)
~ THEN REPLY #92282 /* ~Harm? Not that I am aware of, no. I do, however, have a new... ability... I guess you could say. Not a spell, but something innate. I believe it is something very much like the Archmage Larloch's famous Minor Drain incantation. It allows me to wound a creature at range, while healing myself of damage, and, perhaps, even granting me extra vitality. Intriguing...~ */ GOTO 65
END

IF ~~ THEN BEGIN 65 // from: 64.3 64.1 63.2 63.1
  SAY #92283 /* ~Well... I guess that's useful at least. It sounds very strange, though, to wake up after some dream and just *know* you can do something magical.~ */
  IF ~~ THEN GOTO 66
END

IF ~~ THEN BEGIN 66 // from: 65.0 64.2 64.0 63.0
  SAY #92284 /* ~You just take it easy for a bit, okay? I'll get things packed.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #14 /* Triggers after states #: 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("X#ImoenDreamResponse4","GLOBAL",1)
~ THEN BEGIN 67 // from:
  SAY #92285 /* ~Good morning, <CHARNAME>. Didn't sound like you slept well last night. Me neither. More dreams, I guess?~ */
  IF ~~ THEN REPLY #92286 /* ~Yes, another dream. Do you wish to hear it?~ */ DO ~SetGlobal("X#ImoenDreamResponse4","GLOBAL",2)
~ GOTO 68
  IF ~~ THEN REPLY #92287 /* ~If you must know, yes. I suppose you want to hear it, don't you?~ */ DO ~SetGlobal("X#ImoenDreamResponse4","GLOBAL",2)
~ GOTO 68
  IF ~~ THEN REPLY #92288 /* ~Nah. I just couldn't sleep with all yer snorin'.~ */ DO ~SetGlobal("X#ImoenDreamResponse4","GLOBAL",2)
~ GOTO 69
  IF ~~ THEN REPLY #92289 /* ~It is nothing I wish to talk about. Pack up. We have much to do today.~ */ DO ~SetGlobal("X#ImoenDreamResponse4","GLOBAL",2)
~ GOTO 70
END

IF ~~ THEN BEGIN 68 // from: 71.1 71.0 67.1 67.0
  SAY #92290 /* ~I do. More daggers and strange voices?~ */
  IF ~  ReputationGT(Player1,9)
~ THEN REPLY #92291 /* ~Yes. I was in the bandit camp and... *you relay your dream to Imoen*~ */ GOTO 73
  IF ~  ReputationLT(Player1,10)
~ THEN REPLY #92291 /* ~Yes. I was in the bandit camp and... *you relay your dream to Imoen*~ */ GOTO 72
  IF ~~ THEN REPLY #92292 /* ~On second thought, I don't wish to talk about it. Let's just go. We've a lot to accomplish today.~ */ GOTO 70
END

IF ~~ THEN BEGIN 69 // from: 67.2
  SAY #92293 /* ~Hmmph. 'Tis your snoring more like it! You attract every monster fer miles, the moment yer head hits the pillow. It's a wonder we can ever rest outside of an inn. Puffguts has a sure cure for snoring. He used to give it to some of the guests. Ya want it?~ */
  IF ~~ THEN REPLY #92294 /* ~Let me guess: a cup of brandy. Right?~ */ GOTO 71
  IF ~~ THEN REPLY #92295 /* ~No way! Do not you understand that I am doing it on purpose? Let's go fight all those monsters my thunderous snoring had attracted!~ */ EXIT
  IF ~~ THEN REPLY #92296 /* ~Imoen! Just... bugger off.~ */ GOTO 70
END

IF ~~ THEN BEGIN 70 // from: 71.2 69.2 68.2 67.3
  SAY #92297 /* ~I 'spose yer right. I don't want to butt into your business. I'm just worried 'bout ya is all.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 71 // from: 69.0
  SAY #92298 /* ~Yep. And if that didn't do the trick, a pint of beer to wash it down! Come ta think of it... that's his cure fer everything! Seriously though, <CHARNAME>... you wanna talk about it?~ */
  IF ~~ THEN REPLY #92299 /* ~I suppose I should. Do you really want to hear it?~ */ GOTO 68
  IF ~~ THEN REPLY #92300 /* ~Actually, yes. Are you sure you want to hear it?~ */ GOTO 68
  IF ~~ THEN REPLY #92301 /* ~No. No, I don't. Sorry, Imoen. Let's just get going. We've got things to do, after all.~ */ GOTO 70
END

IF ~~ THEN BEGIN 72 // from: 68.1
  SAY #92302 /* ~That voice is scary, <CHARNAME>. I don't think you should listen to it. I just know it! Something about it is... I dunno... wrong. You need to fight it. I'll help you the best I can.~ */
  IF ~~ THEN GOTO 74
END

IF ~~ THEN BEGIN 73 // from: 68.0
  SAY #92303 /* ~That voice scares me, <CHARNAME>. Sounds like it scared you too. That's good. I don't trust it. Not at all. Nope. I don't. You keep fighting it, <CHARNAME>. I'll help ya, if I can.~ */
  IF ~~ THEN GOTO 74
END

IF ~~ THEN BEGIN 74 // from: 73.0 72.0
  SAY #92304 /* ~More powers too, I guess, huh?~ */
  IF ~~ THEN GOTO 75
END

IF ~~ THEN BEGIN 75 // from: 74.0
  SAY #92305 /* ~I thought so. Well... you just use 'em to do what you know is right. Gorion would like that. Me, too. Guess it doesn't matter where they come from.~ */
  IF ~~ THEN GOTO 76
END

IF ~~ THEN BEGIN 76 // from: 75.0
  SAY #92306 /* ~C'mon! I'll fetch ya somethin' to eat, while you... er... comb your hair or something. Yer a wreck!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #15 /* Triggers after states #: 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("X#IMPC8","GLOBAL",1)
~ THEN BEGIN 77 // from:
  SAY #92307 /* ~Wow. Tarnesh's spellbook is pretty neat! I think I can learn some o' this stuff.~ */
  IF ~~ THEN GOTO 78
END

IF ~~ THEN BEGIN 78 // from: 77.0
  SAY #92308 /* ~Look! Here's somethin'... Hey? Think I can turn ya into a frog?~ */
  IF ~~ THEN GOTO 79
END

IF ~~ THEN BEGIN 79 // from: 78.0
  SAY #92309 /* ~Hold on, lemme try...~ */
  IF ~~ THEN GOTO 80
END

IF ~~ THEN BEGIN 80 // from: 79.0
  SAY #92310 /* ~Manos! Potentis! PAH...!~ */
  IF ~~ THEN REPLY #92311 /* ~Whoa! Hold on, Imoen! You're no wizard. You shouldn't be fooling around with that. I don't want you to hurt yourself.~ */ DO ~SetGlobal("X#IMPC8","GLOBAL",2)
RealSetGlobalTimer("X#ImTarneshBook","GLOBAL",18000)
~ GOTO 81
  IF ~~ THEN REPLY #92312 /* ~Ha ha. Very funny, Imoen. That's party treasure. You shouldn't be messing around with that, you could ruin it. Now hand it over.~ */ DO ~SetGlobal("X#IMPC8","GLOBAL",2)
RealSetGlobalTimer("X#ImTarneshBook","GLOBAL",18000)
~ GOTO 82
  IF ~~ THEN REPLY #92313 /* ~Cut it out, Imoen! It would serve you right if YOU were the one to turn into a toad. Hand it over, or else.~ */ DO ~SetGlobal("X#IMPC8","GLOBAL",2)
RealSetGlobalTimer("X#ImTarneshBook","GLOBAL",18000)
~ GOTO 83
END

IF ~~ THEN BEGIN 81 // from: 80.0
  SAY #92314 /* ~Aw, don't worry about me. I was only kiddin'.~ */
  IF ~~ THEN GOTO 84
END

IF ~~ THEN BEGIN 82 // from: 80.1
  SAY #92315 /* ~Yeesh. Some sense of humor YOU have!~ */
  IF ~~ THEN GOTO 84
END

IF ~~ THEN BEGIN 83 // from: 80.2
  SAY #92316 /* ~Well... looks like someone's already turned YOU into something... a JERK! Thanks for the 'concern' though. Humph.~ */
  IF ~~ THEN GOTO 84
END

IF ~~ THEN BEGIN 84 // from: 83.0 82.0 81.0
  SAY #92317 /* ~Those 'spells' or whatever, the things in the back? They look kinda important. I won't mess with those.~ */
  IF ~~ THEN GOTO 85
END

IF ~~ THEN BEGIN 85 // from: 84.0
  SAY #92318 /* ~But these lil' old things in the front... Betcha even I could learn some of them. I'm gonna try, anyway.~ */
  IF ~~ THEN REPLY #92319 /* ~Well, I suppose it will be all right. Just be careful, okay?~ */ GOTO 86
  IF ~~ THEN REPLY #92320 /* ~I don't think that's a good idea, Imoen. Best to let someone who knows what they're doing take care of that.~ */ GOTO 88
  IF ~~ THEN REPLY #92321 /* ~No chance, Imoen. Hand it over. I won't ask again.~ */ GOTO 90
END

IF ~~ THEN BEGIN 86 // from: 85.0
  SAY #92322 /* ~Hey! I told ya! Dontcha worry 'bout me. I'm no dummy. I know what I'm doin'.~ */
  IF ~~ THEN GOTO 87
END

IF ~~ THEN BEGIN 87 // from: 86.0
  SAY #92323 /* ~I'll be 'slingin' spells' in no time. Haha!~ */
  IF ~~ THEN DO ~SetGlobal("X#IMGetsSpellbook","GLOBAL",1)
~ EXIT
END

IF ~~ THEN BEGIN 88 // from: 85.1
  SAY #92324 /* ~Spoil sport. I won't hurt your precious book. Here ya go...~ */
  IF ~~ THEN GOTO 89
END

IF ~~ THEN BEGIN 89 // from: 90.0 88.0
  SAY #92325 /* ~(I'll just take a peek when you aren't looking. So there!)~ */
  IF ~~ THEN REPLY #92326 /* ~For your own good, I'll put this somewhere out of sight. YOUR sight.~ */ DO ~SetGlobal("X#IMGetsSpellbook","GLOBAL",1)
~ EXIT
END

IF ~~ THEN BEGIN 90 // from: 85.2
  SAY #92327 /* ~Fine, you old sour puss! I didn't want the stupid thing, anyway. Here's your smelly old book back.~ */
  IF ~~ THEN GOTO 89
END

IF ~~ THEN BEGIN 91 // from:
  SAY #92328 /* ~(We'll just see about that. Gotta sleep sometime, heh.)~ */
  IF ~~ THEN REPLY #92329 /* ~I'll take that, thank you. Keep your hands off next time.~ */ DO ~SetGlobal("X#IMGetsSpellbook","GLOBAL",1)
~ EXIT
END

IF WEIGHT #16 /* Triggers after states #: 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("X#ImoenFIRE","GLOBAL",1)
~ THEN BEGIN 92 // from:
  SAY #92330 /* ~So that's Firewine Bridge!? Wow! Isn't it just so grand!? I wonder what it would have been like when it was actually in use.~ */
  IF ~~ THEN REPLY #92331 /* ~Bah! You've seen one bridge, you've seen them all!~ */ DO ~SetGlobal("X#ImoenFIRE","GLOBAL",2)
~ GOTO 93
  IF ~~ THEN REPLY #92332 /* ~Yes, it just goes to show you how grand things can withstand the test of time.~ */ DO ~SetGlobal("X#ImoenFIRE","GLOBAL",2)
~ GOTO 94
  IF ~~ THEN REPLY #92333 /* ~Yes, but it just goes to show you that humans and other races can do what they want, but nothing they do will last forever. Eventually everything will be forgotten and destroyed.~ */ DO ~SetGlobal("X#ImoenFIRE","GLOBAL",2)
~ GOTO 100
  IF ~~ THEN REPLY #92334 /* ~Didn't you read about it at Candlekeep, or were you sleeping that day?~ */ DO ~SetGlobal("X#ImoenFIRE","GLOBAL",2)
~ GOTO 102
  IF ~~ THEN REPLY #92335 /* ~I'm still wondering how they built it.~ */ DO ~SetGlobal("X#ImoenFIRE","GLOBAL",2)
~ GOTO 103
END

IF ~~ THEN BEGIN 93 // from: 92.0
  SAY #92336 /* ~Someone obviously woke up on the wrong side of <PRO_HISHER> blanket this morning.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 94 // from: 92.1
  SAY #92337 /* ~Yep. Hey I wonder if anything in Candlekeep would last this long?~ */
  IF ~~ THEN REPLY #92338 /* ~Nope. Most of the stuff wasn't built to last there.~ */ GOTO 95
  IF ~~ THEN REPLY #92339 /* ~Doubtful. Even the old books they have are constantly being rewritten, in fear they might get destroyed soon.~ */ GOTO 96
  IF ~~ THEN REPLY #92340 /* ~Who knows. I suppose it's possible.~ */ GOTO 97
  IF ~~ THEN REPLY #92341 /* ~I'm sure if anything's left it'll be that library.~ */ GOTO 98
END

IF ~~ THEN BEGIN 95 // from: 98.1 94.0
  SAY #92342 /* ~Guess you're right. That's a sobering thought.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 96 // from: 94.1
  SAY #92343 /* ~So that's why they sit there copying the same book over and over again. And here I thought it was to make sure they had spare copies in case someone needed one and they couldn't find the original.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 97 // from: 94.2
  SAY #92344 /* ~Heh, yea I'm sure it'd be ole Puffguts. He refuses to leave there, no matter what.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 98 // from: 94.3
  SAY #92345 /* ~Well I guess that's likely, since they have so many enchantments and whatnot on it. I betcha that's what's still keepin' it from crumblin' down.~ */
  IF ~~ THEN REPLY #92346 /* ~It's not that old. Sure, it was built before anyone we know was alive, but that's not that long ago.~ */ GOTO 99
  IF ~~ THEN REPLY #92347 /* ~Or stone-work. Magic is powerful, but it is unreliable.~ */ GOTO 95
END

IF ~~ THEN BEGIN 99 // from: 98.0
  SAY #92348 /* ~Uhm...I meant this bridge here. Not the library.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 100 // from: 92.2
  SAY #92349 /* ~Um... yeah...~ */
  IF ~  InParty("xan")
InMyArea("xan")
!StateCheck("xan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BXANNN~ 69
  IF ~  OR(3)
!InParty("xan")
!InMyArea("xan")
StateCheck("xan",CD_STATE_NOTVALID)
~ THEN GOTO 101
END

IF ~~ THEN BEGIN 101 // from: 100.1
  SAY #92350 /* ~I guess so... well, anyways, it still is a grand bridge.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 102 // from: 92.3
  SAY #92351 /* ~No, if I tried, I probably fell asleep. Most of those history books that try to tell history exactly as it was are too dry.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 103 // from: 92.4
  SAY #92349 /* ~Um... yeah...~ */
  IF ~  InParty("yeslick")
InMyArea("yeslick")
!StateCheck("yeslick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BYESLI~ 66
  IF ~  InParty("kagain")
OR(3)
!InParty("yeslick")
!InMyArea("yeslick")
StateCheck("yeslick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BKAGAI~ 79
  IF ~  OR(3)
!InParty("yeslick")
!InMyArea("yeslick")
StateCheck("yeslick",CD_STATE_NOTVALID)
OR(3)
!InParty("kagain")
!InMyArea("kagain")
StateCheck("kagain",CD_STATE_NOTVALID)
~ THEN EXIT
END

IF WEIGHT #24 /* Triggers after states #: 105 115 116 117 119 120 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("P#QuayleImoenCK","GLOBAL",1)
~ THEN BEGIN 104 // from:
  SAY #92352 /* ~Heya, Quayle! Come here for a second!~ */
  IF ~~ THEN DO ~SetGlobal("P#QuayleImoenCK","GLOBAL",2)
~ EXTERN ~_BQUAYL~ 65
END

IF WEIGHT #17 /* Triggers after states #: 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("X#IMGetsSpellbook","GLOBAL",2)
~ THEN BEGIN 105 // from:
  SAY #92353 /* ~*You look over at Imoen and notice that she picked up the assassin Tarnesh's spellbook, and is reading it.*~ */
  IF ~~ THEN REPLY #92354 /* ~Making any progress with that, Imoen?~ */ DO ~SetGlobal("X#IMGetsSpellbook","GLOBAL",3)
~ GOTO 106
  IF ~~ THEN REPLY #92355 /* ~I hope you're being careful with that, Imoen. I don't want you or anyone else to get hurt.~ */ DO ~SetGlobal("X#IMGetsSpellbook","GLOBAL",3)
~ GOTO 107
  IF ~~ THEN REPLY #92356 /* ~Imoen, leave that alone! What kind of trouble are you getting into, now?~ */ DO ~SetGlobal("X#IMGetsSpellbook","GLOBAL",3)
~ GOTO 107
  IF ~  !Class("imoen",MAGE_THIEF)
OR(6)
Class(Player1,MAGE_THIEF)
Class(Player1,BARD)
Class(Player1,MAGE)
Class(Player1,FIGHTER_MAGE)
Class(Player1,FIGHTER_MAGE_THIEF)
Class(Player1,CLERIC_MAGE)
~ THEN REPLY #92357 /* ~Imoen! Leave magic to those of us who are trained in arcane arts. When little rogues start fooling around with magic, they end up in trouble!~ */ DO ~SetGlobal("X#IMGetsSpellbook","GLOBAL",3)
~ GOTO 108
  IF ~~ THEN REPLY #92358 /* ~What are you reading, Imoen? Anything interesting?~ */ DO ~SetGlobal("X#IMGetsSpellbook","GLOBAL",3)
~ GOTO 109
  IF ~~ THEN REPLY #92359 /* ~Imoen. Put that away. I need you to be focused right now.~ */ DO ~SetGlobal("X#IMGetsSpellbook","GLOBAL",3)
~ GOTO 110
END

IF ~~ THEN BEGIN 106 // from: 105.0
  SAY #92360 /* ~Hmm? Oh! A little. I think.~ */
  IF ~~ THEN GOTO 111
END

IF ~~ THEN BEGIN 107 // from: 105.2 105.1
  SAY #92361 /* ~Quit worryin' already! I think I can understand some of it.~ */
  IF ~~ THEN GOTO 111
END

IF ~~ THEN BEGIN 108 // from: 105.3
  SAY #92362 /* ~O, <CHARNAME> the Great Archmage, thy... thy... he-he. Quit worryin' already! I think I can understand some of it.~ */
  IF ~~ THEN GOTO 111
END

IF ~~ THEN BEGIN 109 // from: 105.4
  SAY #92363 /* ~Hmm? Oh. Just readin' that guy Tarnesh's spellbook. I think I can understand some of it.~ */
  IF ~~ THEN GOTO 111
END

IF ~~ THEN BEGIN 110 // from: 105.5
  SAY #92364 /* ~Oh, all right. What a worry wart...~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 111 // from: 109.0 108.0 107.0 106.0
  SAY #92365 /* ~Though, this stuff IS kinda complicated...~ */
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
OR(3)
!InParty("edwin")
!InMyArea("edwin")
StateCheck("edwin",CD_STATE_NOTVALID)
OR(3)
!InParty("dynaheir")
!InMyArea("dynaheir")
StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BXZAR~ 58
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
OR(3)
!InParty("dynaheir")
!InMyArea("dynaheir")
StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BEDWIN~ 177
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BDYNAH~ 193
  IF ~  OR(3)
!InParty("xzar")
!InMyArea("xzar")
StateCheck("xzar",CD_STATE_NOTVALID)
OR(3)
!InParty("edwin")
!InMyArea("edwin")
StateCheck("edwin",CD_STATE_NOTVALID)
OR(3)
!InParty("dynaheir")
!InMyArea("dynaheir")
StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN GOTO 112
END

IF ~~ THEN BEGIN 112 // from: 111.3
  SAY #92366 /* ~Hey! I think I've got this one down pat. Yep. Easy as pie. Hold on, <CHARNAME>, this'll be fun...~ */
  IF ~~ THEN REPLY #92367 /* ~Why do I have a bad feeling about this?~ */ GOTO 113
  IF ~~ THEN REPLY #92368 /* ~*wait for her to finish the 'spell'*~ */ GOTO 113
END

IF ~~ THEN BEGIN 113 // from: 112.1 112.0
  SAY #92369 /* ~Watch this!~ */
  IF ~~ THEN GOTO 114
END

IF ~~ THEN BEGIN 114 // from: 113.0
  SAY #92370 /* ~Hex-o! Prest-o!
Um... shabadoo?
Ooops!~ */
  IF ~~ THEN DO ~ClearAllActions()
StartCutSceneMode()
StartCutScene("X#CANTRP")
~ EXIT
END

IF WEIGHT #18 /* Triggers after states #: 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("X#ImoenYesl1","GLOBAL",1)
~ THEN BEGIN 115 // from:
  SAY #92371 /* ~Heya, gramps!~ */
  IF ~~ THEN DO ~SetGlobal("X#ImoenYesl1","GLOBAL",2)
~ EXTERN ~_BYESLI~ 59
END

IF WEIGHT #19 /* Triggers after states #: 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("X#XanComplain","GLOBAL",2)
~ THEN BEGIN 116 // from:
  SAY #92416 /* ~So, what do ya think, Xan?~ */
  IF ~~ THEN DO ~SetGlobal("X#XanComplain","GLOBAL",3)
~ EXTERN ~_BXANNN~ 70
END

IF WEIGHT #20 /* Triggers after states #: 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("X#XanComplain","GLOBAL",4)
Global("X#IMXA4","GLOBAL",0)
~ THEN BEGIN 117 // from:
  SAY #92429 /* ~So, you ready to admit I was right?~ */
  IF ~~ THEN DO ~SetGlobal("X#XanComplain","GLOBAL",5)
SetGlobal("X#IMXA4","GLOBAL",1)
~ EXTERN ~_BXANNN~ 73
END

IF WEIGHT #25 /* Triggers after states #: 119 120 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("X#IMXA2","GLOBAL",1)
~ THEN BEGIN 118 // from:
  SAY #92776 /* ~Yea, I think this'll be a good place to try it. Hey, Xan, come here. I need you for a second.~ */
  IF ~~ THEN DO ~SetGlobal("X#IMXA2","GLOBAL",2)
~ EXTERN ~_BXANNN~ 83
END

IF WEIGHT #21 /* Triggers after states #: 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("X#IMXA2","GLOBAL",4)
~ THEN BEGIN 119 // from:
  SAY #92416 /* ~So, what do ya think, Xan?~ */
  IF ~~ THEN DO ~SetGlobal("X#IMXA2","GLOBAL",5)
~ EXTERN ~_BXANNN~ 86
END

IF WEIGHT #22 /* Triggers after states #: 180 197 232 235 236 270 300 319 324 506 even though they appear after this state */
~  Global("X#IMXA2","GLOBAL",7)
~ THEN BEGIN 120 // from:
  SAY #92429 /* ~So, you ready to admit I was right?~ */
  IF ~~ THEN DO ~SetGlobal("X#IMXA2","GLOBAL",8)
~ EXTERN ~_BXANNN~ 101
END

IF ~~ THEN BEGIN 121 // from: _MINSCJ:25.9
  SAY #99894 /* ~At least from us! *giggle*~ */
  IF ~~ THEN EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VITIAR~ 4
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VITIAR~ 3
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 27
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
InParty("ajantis")
~ THEN EXTERN ~_AJANTJ~ 189
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VITIAR~ 2
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 26
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VITIAR~ 1
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MONTAJ~ 49
END

IF ~~ THEN BEGIN 122 // from: _MINSCJ:46.5
  SAY #99925 /* ~Hey ya, big lug, tell Boo to stop warning <CHARNAME> about the traps! A girl gotta earn a living too, ya know!~ */
  IF ~~ THEN EXIT
  IF ~  !StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 49
  IF ~  !StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 48
  IF ~  !StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 123
  IF ~  !StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 47
END

IF ~~ THEN BEGIN 123 // from: _MINSCJ:47.3 _MINSCJ:46.3 122.3
  SAY #99927 /* ~You betcha!~ */
  IF ~~ THEN EXIT
  IF ~  !StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 49
  IF ~  !StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 48
END

IF ~~ THEN BEGIN 124 // from: _KEEPER:2.3
  SAY #100266 /* ~But Keeper! Gorion and <CHARNAME> were attacked just outside the keep, near the Coastway. Gorion... he... he's dead. <CHARNAME> just managed to escape. I saw it all!~ */
  IF ~~ THEN GOTO 125
END

IF ~~ THEN BEGIN 125 // from: 124.0
  SAY #100267 /* ~Don't you think you could make an exception? You've known <CHARNAME> for years!~ */
  IF ~~ THEN REPLY #100269 /* ~I could really use your help. I have no home, no guardian, and I need to get to the Friendly Arm Inn.~ */ EXTERN ~_KEEPER~ 16
  IF ~~ THEN REPLY #100270 /* ~I do not believe that you will not let me return. At least let Imoen in... I don't want her around.~ */ EXTERN ~_KEEPER~ 16
  IF ~~ THEN REPLY #100271 /* ~You have no right to bar my path.~ */ EXTERN ~_KEEPER~ 16
  IF ~  Global("X#GorionBuried","GLOBAL",0)
~ THEN REPLY #98355 /* ~I think Gorion would have wished to be buried in Candlekeep. Could you arrange it?~ */ EXTERN ~_KEEPER~ 15
  IF ~  Global("X#GorionBuried","GLOBAL",0)
~ THEN REPLY #100272 /* ~I will return to the Golden Way to bury my mentor myself. Imoen, though, may want to stay here. Will you let her, if she wants to?~ */ DO ~SetGlobal("X#PCBuryGorion","GLOBAL",1)
~ EXTERN ~_KEEPER~ 16
  IF ~  GlobalLT("Chapter","GLOBAL",4)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KEEPER~ 14
END

IF ~~ THEN BEGIN 126 // from: _KEEPER:17.0
  SAY #100276 /* ~Oh, no! <CHARNAME> and I are in this together, through thick and thin! Puffguts has my letter. And he taught me a thing or two... ol' Imoen can stay outta trouble!~ */
  IF ~~ THEN GOTO 127
END

IF ~~ THEN BEGIN 127 // from: 126.0
  SAY #100277 /* ~Tell him I love him, though, will ya? And tell him not to worry 'bout little old me.~ */
  IF ~~ THEN EXTERN ~_KEEPER~ 18
END

IF ~~ THEN BEGIN 128 // from: _FIREBE:1.1
  SAY #100279 /* ~Heya, Mr. E! Remember me? I'm the *second* kid of Candlekeep. We're goin' ta get ya book, no problem...~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToFirebead","GLOBAL",1)
~ UNSOLVED_JOURNAL #75398 /* ~A book for Firebead

I have met an old friend in Beregost!  Firebead Elvenhair, an elderly mage who visited the library at Candlekeep on occasion, has asked me to check out the stores in the area and purchase a copy of "The History of the Fateful Coin" for him, should I ever set eyes on it.  Confining as its walls could be, there are days when I miss Candlekeep with every bone and every ounce of flesh in my body.  This, I guess, is just going to be one of those days...~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 131
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 130
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 129
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FIREBE~ 7
END

IF ~~ THEN BEGIN 129 // from: 128.3 _FIREBE:7.3
  SAY #100281 /* ~Sure thin', sir! No more aprons and bonnets for Imoen the Magnificent. Well, unless someone offers me a dragon's treasure horde to wear one.~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToFirebead","GLOBAL",1)
~ UNSOLVED_JOURNAL #75398 /* ~A book for Firebead

I have met an old friend in Beregost!  Firebead Elvenhair, an elderly mage who visited the library at Candlekeep on occasion, has asked me to check out the stores in the area and purchase a copy of "The History of the Fateful Coin" for him, should I ever set eyes on it.  Confining as its walls could be, there are days when I miss Candlekeep with every bone and every ounce of flesh in my body.  This, I guess, is just going to be one of those days...~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 131
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 130
END

IF ~~ THEN BEGIN 130 // from: 129.2 128.2 _FIREBE:7.2
  SAY #100282 /* ~We're goin' ta get ya book, no problem, Mr. E... ~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToFirebead","GLOBAL",1)
~ UNSOLVED_JOURNAL #75398 /* ~A book for Firebead

I have met an old friend in Beregost!  Firebead Elvenhair, an elderly mage who visited the library at Candlekeep on occasion, has asked me to check out the stores in the area and purchase a copy of "The History of the Fateful Coin" for him, should I ever set eyes on it.  Confining as its walls could be, there are days when I miss Candlekeep with every bone and every ounce of flesh in my body.  This, I guess, is just going to be one of those days...~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 131
END

IF ~~ THEN BEGIN 131 // from: 130.1 129.1 128.1 _FIREBE:7.1
  SAY #100283 /* ~It's good to see a familiar face, eh, <CHARNAME>?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToFirebead","GLOBAL",1)
~ UNSOLVED_JOURNAL #75398 /* ~A book for Firebead

I have met an old friend in Beregost!  Firebead Elvenhair, an elderly mage who visited the library at Candlekeep on occasion, has asked me to check out the stores in the area and purchase a copy of "The History of the Fateful Coin" for him, should I ever set eyes on it.  Confining as its walls could be, there are days when I miss Candlekeep with every bone and every ounce of flesh in my body.  This, I guess, is just going to be one of those days...~ */ EXIT
END

IF ~~ THEN BEGIN 132 // from:
  SAY #100284 /* ~One thing I've learned is that you hear more interesting stories on the road than staying in an inn. *sighs* When I was er... staying in the inn, as soon as some traveller from afar would start a good tale, everyone else would shout for ale and food... and I never would hear the whole story. I had to fill in all the missin' bits on my own.~ */
  IF ~~ THEN REPLY #75859 /* ~What can you tell me of Beregost?~ */ EXTERN ~_RALEO~ 2
  IF ~~ THEN REPLY #75860 /* ~Have you been to the south? I hear tell of trouble in Nashkel?~ */ EXTERN ~_RALEO~ 6
  IF ~~ THEN REPLY #75861 /* ~Ahh, take a walk. I don't need your company.~ */ EXTERN ~_RALEO~ 1
END

IF ~~ THEN BEGIN 133 // from:
  SAY #100285 /* ~Less than brilliant?! Tee-hee, it's good t'adventure with friends! At least ya wouldn't call me 'less than brilliant' and get away with it!~ */
  IF ~~ THEN REPLY #75027 /* ~We don't like to be cheated, lady.  Good bye.~ */ DO ~SetGlobal("TalkedToGarrick","GLOBAL",2)
~ EXIT
  IF ~~ THEN REPLY #75028 /* ~Sure, we're still in.~ */ DO ~SetGlobal("TalkedToGarrick","GLOBAL",2)
SetGlobal("SilkePayment","GLOBAL",200)
~ EXTERN ~_SILKE~ 4
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SILKE~ 29
END

IF ~~ THEN BEGIN 134 // from: _GARRIC:7.2
  SAY #89694 /* ~Of course!~ */
  IF ~~ THEN REPLY #45498 /* ~No problem.~ */ DO ~JoinParty()
~ EXIT
  IF ~~ THEN REPLY #75018 /* ~We don't need anyone else right now.~ */ DO ~EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIC~ 14
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 135
END

IF ~~ THEN BEGIN 135 // from: 134.3
  SAY #100287 /* ~I mean, <CHARNAME>, he can join us, right? *giggles* He is cute, and he is a real bard! Someone's gotta write ballads about my beauty and bravery, ya know?~ */
  IF ~~ THEN REPLY #45498 /* ~No problem.~ */ DO ~JoinParty()
~ EXIT
  IF ~~ THEN REPLY #75018 /* ~We don't need anyone else right now.~ */ DO ~EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIC~ 14
END

IF ~~ THEN BEGIN 136 // from: _JAHEIR:5.5
  SAY #100289 /* ~Isn't it great, <CHARNAME>? We made it through the forest full of gibberlings and wolves, and now we are meeting *real* adventurers! Things are lookin' up!~ */
  IF ~~ THEN REPLY #87847 /* ~Your company would be welcome.~ */ EXTERN ~_JAHEIR~ 6
  IF ~~ THEN REPLY #87848 /* ~I would rather choose my own future and leave Gorion's past behind me.  I'll find my way on my own.~ */ EXTERN ~_JAHEIR~ 7
  IF ~InParty("xzar")
InParty("montaron")
~ THEN REPLY #87849 /* ~I'm already going to Nashkel.  My current companions wish to visit there as well.~ */ EXTERN ~_JAHEIR~ 8
  IF ~!InParty("xzar")
InParty("montaron")
~ THEN REPLY #87850 /* ~I'm already going to Nashkel.  One of my current acquaintances wishes to visit there as well.~ */ EXTERN ~_JAHEIR~ 14
  IF ~InParty("xzar")
!InParty("montaron")
~ THEN REPLY #87850 /* ~I'm already going to Nashkel.  One of my current acquaintances wishes to visit there as well.~ */ EXTERN ~_JAHEIR~ 8
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIR~ 15
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 137
END

IF ~~ THEN BEGIN 137 // from: 136.6
  SAY #100290 /* ~Hey, Auntie Jaheira, I am Imoen! A friend of <CHARNAME>'s... Actually, more like a guardian than a friend, ya know? Lookin' after <PRO_HIMHER>, and all that.~ */
  IF ~~ THEN REPLY #87847 /* ~Your company would be welcome.~ */ EXTERN ~_JAHEIR~ 6
  IF ~~ THEN REPLY #87848 /* ~I would rather choose my own future and leave Gorion's past behind me.  I'll find my way on my own.~ */ EXTERN ~_JAHEIR~ 7
  IF ~InParty("xzar")
InParty("montaron")
~ THEN REPLY #87849 /* ~I'm already going to Nashkel.  My current companions wish to visit there as well.~ */ EXTERN ~_JAHEIR~ 8
  IF ~!InParty("xzar")
InParty("montaron")
~ THEN REPLY #87850 /* ~I'm already going to Nashkel.  One of my current acquaintances wishes to visit there as well.~ */ EXTERN ~_JAHEIR~ 14
  IF ~InParty("xzar")
!InParty("montaron")
~ THEN REPLY #87850 /* ~I'm already going to Nashkel.  One of my current acquaintances wishes to visit there as well.~ */ EXTERN ~_JAHEIR~ 8
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIR~ 15
END

IF ~~ THEN BEGIN 138 // from: _FRIEND:0.5
  SAY #100292 /* ~Nope! But from the look of ya they must be on the dreadfully borin' side!~ */
  IF ~ReactionGT(LastTalkedToBy(Myself),HOSTILE_UPPER)
~ THEN REPLY #78330 /* ~There are rules?  What kind of rules?~ */ EXTERN ~_FRIEND~ 1
  IF ~ReactionLT(LastTalkedToBy(Myself),NEUTRAL_LOWER)
~ THEN REPLY #78330 /* ~There are rules?  What kind of rules?~ */ EXTERN ~_FRIEND~ 2
  IF ~~ THEN REPLY #78331 /* ~I know which rules suit me, and which ones don't.  I will follow those that suit the situation.~ */ EXTERN ~_FRIEND~ 3
  IF ~ReactionGT(LastTalkedToBy(Myself),HOSTILE_UPPER)
~ THEN REPLY #78332 /* ~Certainly.  Common sense rules the day within the Friendly Arm.~ */ EXTERN ~_FRIEND~ 4
  IF ~ReactionLT(LastTalkedToBy(Myself),NEUTRAL_LOWER)
~ THEN REPLY #78332 /* ~Certainly.  Common sense rules the day within the Friendly Arm.~ */ EXTERN ~_FRIEND~ 5
END

IF ~~ THEN BEGIN 139 // from: _JOIA:1.3
  SAY #100293 /* ~Of course we will bash some heads for ya! If ya want, we can make 'em hobgoblins come back t'ya and say they're sorry they took ya father's ring!~ */
  IF ~~ THEN REPLY #78499 /* ~I ain't got the time for this.~ */ EXTERN ~_JOIA~ 2
  IF ~~ THEN REPLY #26711 /* ~I will do as you ask.~ */ EXTERN ~_JOIA~ 4
  IF ~~ THEN REPLY #78500 /* ~What is in it for me?~ */ EXTERN ~_JOIA~ 5
END

IF ~~ THEN BEGIN 140 // from: _JOIA:3.3
  SAY #100294 /* ~*pushes you in the ribs* Our finesse is unappreciated here, my good <PRO_LADYLORD>.~ */
  IF ~~ THEN REPLY #33657 /* ~I will help you.~ */ EXTERN ~_JOIA~ 4
  IF ~~ THEN REPLY #43228 /* ~I have no time to help you.~ */ EXTERN ~_JOIA~ 2
  IF ~~ THEN REPLY #78503 /* ~What is in this for me?~ */ EXTERN ~_JOIA~ 5
END

IF ~~ THEN BEGIN 141 // from:
  SAY #100295 /* ~Heh. What a queer fellow.~ */
  IF ~~ THEN REPLY #86377 /* ~What a tool.~ */ DO ~EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHASE~ 4
END

IF ~~ THEN BEGIN 142 // from:
  SAY #100297 /* ~I'm glad you tried to talk him outta it, <CHARNAME>, even if he was just lookin' for attention.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHASE~ 5
END

IF ~~ THEN BEGIN 143 // from:
  SAY #100298 /* ~Ya could of at least tried to talk him out of it, <CHARNAME>, even if he was just lookin' for attention.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHASE~ 6
END

IF ~~ THEN BEGIN 144 // from:
  SAY #100300 /* ~Another caravan raided?! Wow, that's no good! Remember those Flamin' Fists passin' by Candlekeep last week? They said there was at least two missing! I think we should keep our eyes peeled, or we'll be killed by bandits fer nothin'!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BINKOS~ 1
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 145
END

IF ~~ THEN BEGIN 145 // from: 144.2
  SAY #100301 /* ~Excitin' though... Caravans, bandits, road... like an adventure from a book!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BINKOS~ 1
END

IF ~~ THEN BEGIN 146 // from:
  SAY #100303 /* ~Heya, I'm Imoen, and that's my friend <CHARNAME>. We just got out of Candlekeep, and are startin' out on a grand adventure, avenging that great mage and all... uhm, <CHARNAME>, why are ya standing with your mouth shut as a clam when the tide is out? Ya know more than I 'bout that fightin' thing, anyway. So go tell 'bout it! That's what adventurers do! Famous ones, anyway. Or how would they ever get into bards' songs?~ */
  IF ~~ THEN REPLY #86344 /* ~Stand away from me!  I've very little trust left after last night's events, and I'll not waste any on you!~ */ EXTERN ~_DESSLO~ 8
  IF ~~ THEN REPLY #86345 /* ~Could you help me?  My foster father and I were attacked last eve, and now I'm not sure where to go.~ */ EXTERN ~_DESSLO~ 9
  IF ~~ THEN REPLY #86346 /* ~I would have your assistance.  I was ambushed in the night and I require whatever you can give.~ */ EXTERN ~_DESSLO~ 2
  IF ~~ THEN REPLY #86347 /* ~You saw two people in the wood?  I was told to meet some friends at the Friendly Arm Inn.  Perhaps they and the ones you met are one in the same.~ */ EXTERN ~_DESSLO~ 1
  IF ~ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN REPLY #86348 /* ~Why are you in the woods?  I have heard nothing but how dangerous they are.~ */ EXTERN ~_DESSLO~ 5
  IF ~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN REPLY #86348 /* ~Why are you in the woods?  I have heard nothing but how dangerous they are.~ */ EXTERN ~_DESSLO~ 6
END

IF ~~ THEN BEGIN 147 // from:
  SAY #100304 /* ~Ya hear him? 'Like-minded companions'! That'd be me! Yer doin' alright, despite bein' thicker than Candlekeep's walls! Imoen the Magnificent is gonna make an adventurer out of ya yet!~ */
  IF ~~ THEN REPLY #86352 /* ~To you as well.~ */ EXTERN ~_DESSLO~ 4
  IF ~~ THEN REPLY #86353 /* ~Thanks for nothing.~ */ EXTERN ~_DESSLO~ 3
END

IF ~~ THEN BEGIN 148 // from:
  SAY #100305 /* ~Heh, I... or do I need ta say "Ti"? I mean if "you" is "thou"... or was it "thee"? Uhm... in any case I'm not desperate and not deranged. I'm excited! I am going to be a famous adventurer, like Elminster!~ */
  IF ~~ THEN REPLY #74721 /* ~Not to imply anything, but how do you measure up to your own standards?  Pestering strangers about their mental state doesn't seem all that well-adjusted to me.~ */ EXTERN ~_ELMIN1~ 3
  IF ~~ THEN REPLY #74722 /* ~A fair bit of desperate, actually.  Might you know the way to the Friendly Arm Inn?  I was told I might find some friends there.~ */ EXTERN ~_ELMIN1~ 2
  IF ~~ THEN REPLY #74723 /* ~I am not so stupid as to listen to strangers in the middle of nowhere, no matter how infirm they appear to be!  Off with you!~ */ EXTERN ~_ELMIN1~ 1
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ELMIN1~ 5
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 149
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ELMIN1~ 4
END

IF ~~ THEN BEGIN 149 // from: 148.4
  SAY #100307 /* ~Wait, wait! How d'ya know my name?~ */
  IF ~~ THEN REPLY #74721 /* ~Not to imply anything, but how do you measure up to your own standards?  Pestering strangers about their mental state doesn't seem all that well-adjusted to me.~ */ EXTERN ~_ELMIN1~ 3
  IF ~~ THEN REPLY #74722 /* ~A fair bit of desperate, actually.  Might you know the way to the Friendly Arm Inn?  I was told I might find some friends there.~ */ EXTERN ~_ELMIN1~ 2
  IF ~~ THEN REPLY #74723 /* ~I am not so stupid as to listen to strangers in the middle of nowhere, no matter how infirm they appear to be!  Off with you!~ */ EXTERN ~_ELMIN1~ 1
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ELMIN1~ 5
END

IF ~~ THEN BEGIN 150 // from:
  SAY #100309 /* ~Psst, <CHARNAME>, the mage speaks like he's layin' honey on bread, but I dunno... I don't like his eyes a single bit!~ */
  IF ~~ THEN REPLY #88196 /* ~I'd be grateful for any assistance.~ */ EXTERN ~_XZAR~ 7
  IF ~~ THEN REPLY #88197 /* ~I prefer to manage on my own.~ */ EXTERN ~_XZAR~ 4
  IF ~~ THEN REPLY #88198 /* ~I know you not and want none of your help!~ */ EXTERN ~_XZAR~ 18
END

IF ~~ THEN BEGIN 151 // from:
  SAY #100310 /* ~Um, <CHARNAME>, shouldn't we go to the Friendly Arm Inn first? We should probably find Gorion's friends, like he wanted you to.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #88209 /* ~Xzar and Montaron

Xzar and Montaron wish me to travel to Nashkel.~ */ EXTERN ~_MONTAR~ 10
END

IF ~~ THEN BEGIN 152 // from:
  SAY #100311 /* ~I don't like the looks of these two jokers, <CHARNAME>. Nope. I don't. Not at all.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #88209 /* ~Xzar and Montaron

Xzar and Montaron wish me to travel to Nashkel.~ */ EXTERN ~_MONTAR~ 7
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 153
END

IF ~~ THEN BEGIN 153 // from: 152.1
  SAY #100312 /* ~Let's get to the Friendly Arm Inn soon, huh? I'd like to have some people I can trust traveling with us.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #88209 /* ~Xzar and Montaron

Xzar and Montaron wish me to travel to Nashkel.~ */ EXTERN ~_MONTAR~ 7
END

IF ~~ THEN BEGIN 154 // from:
  SAY #100313 /* ~Hey, ya grouch... we weren't shoutin' at all. We are adventurers and understand such things, ya know. Tell him, <CHARNAME>.~ */
  IF ~~ THEN REPLY #74736 /* ~You seem quite at home out here.  What's the most dangerous thing you've seen?~ */ EXTERN ~_AOLN~ 1
  IF ~~ THEN REPLY #74737 /* ~What should I be wary of in this area?~ */ EXTERN ~_AOLN~ 2
  IF ~~ THEN REPLY #74738 /* ~Sorry to have disturbed you, I'll be on my way.~ */ EXTERN ~_AOLN~ 3
  IF ~~ THEN REPLY #74739 /* ~Let them hear!  I am more than able to handle whatever comes!~ */ EXTERN ~_AOLN~ 4
END

IF ~~ THEN BEGIN 155 // from:
  SAY #100314 /* ~Nine Hells, it's good ta be home! Winthrop, my ol' man!~ */
  IF ~~ THEN REPLY #78774 /* ~Where are they? Call them off, Winthrop, I didn't do anything!~ */ EXTERN ~_WINTHR2~ 1
  IF ~~ THEN REPLY #78775 /* ~Winthrop, you old fool! If I had an arrow for every one of these practical jokes you've played on me, I'd... I'd... I don't know, I'd have a lot of arrows! Well met, my friend.~ */ EXTERN ~_WINTHR2~ 4
  IF ~~ THEN REPLY #78776 /* ~You'll never take me alive!!!~ */ EXTERN ~_WINTHR2~ 6
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 156
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_WINTHR2~ 8
END

IF ~~ THEN BEGIN 156 // from: 155.3
  SAY #100316 /* ~I do... *her eyes water* I know... Oh, damn, I'm so glad to se ya, Puffguts!~ */
  IF ~~ THEN REPLY #78774 /* ~Where are they? Call them off, Winthrop, I didn't do anything!~ */ EXTERN ~_WINTHR2~ 1
  IF ~~ THEN REPLY #78775 /* ~Winthrop, you old fool! If I had an arrow for every one of these practical jokes you've played on me, I'd... I'd... I don't know, I'd have a lot of arrows! Well met, my friend.~ */ EXTERN ~_WINTHR2~ 4
  IF ~~ THEN REPLY #78776 /* ~You'll never take me alive!!!~ */ EXTERN ~_WINTHR2~ 6
END

IF ~~ THEN BEGIN 157 // from:
  SAY #100317 /* ~Puffguts, <PRO_HESHE> hasn't changed a touch! And we've been up to... up to so many things... I promise I'll come tell ya all that this bore would miss out!~ */
  IF ~~ THEN REPLY #78778 /* ~I've been trying to get to the bottom of this metal crisis. A merchants' guild is involved, somehow: Iron Throne. Do you know anything about them?~ */ EXTERN ~_WINTHR2~ 2
  IF ~~ THEN REPLY #78779 /* ~Wearing out your cheap merchandise, what else?~ */ EXTERN ~_WINTHR2~ 3
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_WINTHR2~ 9
END

IF ~~ THEN BEGIN 158 // from:
  SAY #100319 /* ~*giggles* It's sure fun ta see <PRO_HIMHER> jump at an innocent joke... Just like good ol' times...~ */
  IF ~~ THEN DO ~StartStore("_INN2616",LastTalkedToBy(Myself))
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_WINTHR2~ 10
END

IF ~~ THEN BEGIN 159 // from: _HULL2:0.3
  SAY #100321 /* ~Oh, Hull, so many things have happened since... both good and bad... but nothin' was worse than ol' Gorion's being killed. <CHARNAME>, I think we should drink to his memory, while we're here in Candlekeep with our friends.~ */
  IF ~~ THEN REPLY #78702 /* ~That night's all a blur. We were ambushed and he told me to run, so I did.~ */ EXTERN ~_HULL2~ 1
  IF ~~ THEN REPLY #78703 /* ~I need your help, Hull.~ */ EXTERN ~_HULL2~ 2
  IF ~~ THEN REPLY #78704 /* ~Thanks for taking care of his remains, Hull. I didn't have the means. Someday we'll sit down over a mug of ale and I'll tell you about it.~ */ EXTERN ~_HULL2~ 5
END

IF ~~ THEN BEGIN 160 // from: _FULLER2:0.3
  SAY #100322 /* ~*A* tale?! Thousands, more like! The things we've seen and done... would get even Nessa excited!~ */
  IF ~~ THEN REPLY #78750 /* ~I don't know, I guess I just took the long route home: The Friendly Arm, Beregost, Nashkel, Baldur's Gate...~ */ EXTERN ~_FULLER2~ 1
  IF ~~ THEN REPLY #78751 /* ~Killing more kobolds than you could ever imagine. Hey, you wouldn't happen to need a few rusty old short swords, would you, because I've got tons.~ */ EXTERN ~_FULLER2~ 2
  IF ~~ THEN REPLY #78752 /* ~I've been trying to get to the bottom of this metal crisis. I haven't put it all together yet but the Iron Throne has their hand in it somehow.~ */ EXTERN ~_FULLER2~ 3
END

IF ~~ THEN BEGIN 161 // from: _FULLER2:3.1
  SAY #100323 /* ~We sure know what we're doin'! And take it from me, Fuller, those Iron Throne people are the villains here!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 162 // from:
  SAY #100324 /* ~What kinda freak would want some gold, and then run away like a madwoman once she was offered money? ~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~Global("SafArkush5","GLOBAL",0)
InParty("safana")
InMyArea("safana")
!StateCheck("safana",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("SafArkush5","GLOBAL",1)~ EXTERN ~_SAFANJ~ 6
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ARKUSH~ 12
END

IF ~~ THEN BEGIN 163 // from:
  SAY #100326 /* ~What in the Hells is her problem? I can't believe she'd get so worked up 'bout not telling ya 'bout yer past, an' all. Why'd she go and attack us, instead of jus' running away? ~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
  IF ~Global("SafArkush8","GLOBAL",0)
InParty("safana")
InMyArea("safana")
!StateCheck("safana",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("SafArkush8","GLOBAL",1)~ EXTERN ~_SAFANJ~ 7
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ARKUSH~ 13
END

IF ~~ THEN BEGIN 164 // from:
  SAY #100328 /* ~*smacks <CHARNAME> on the head* Idiot! Why didn't you consult with me, first? Didn't ya think for a moment he might be tryin' to scam ya? I should know, after all.~ */
  IF ~~ THEN DO ~GiveItem("_POTN25",LastTalkedToBy)
TakePartyGold(25)
EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
!Class(Player1,THIEF_ALL)
~ THEN EXTERN ~_BORDA~ 6
END

IF ~~ THEN BEGIN 165 // from:
  SAY #100328 /* ~*smacks <CHARNAME> on the head* Idiot! Why didn't you consult with me, first? Didn't ya think for a moment he might be tryin' to scam ya? I should know, after all.~ */
  IF ~~ THEN DO ~GiveItem("_SCRL16",LastTalkedToBy)
TakePartyGold(25)
EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
!Class(Player1,THIEF_ALL)
~ THEN EXTERN ~_BORDA~ 7
END

IF ~~ THEN BEGIN 166 // from:
  SAY #100328 /* ~*smacks <CHARNAME> on the head* Idiot! Why didn't you consult with me, first? Didn't ya think for a moment he might be tryin' to scam ya? I should know, after all.~ */
  IF ~~ THEN DO ~GiveItem("_SCRL10",LastTalkedToBy)
TakePartyGold(100)
EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
!Class(Player1,THIEF_ALL)
~ THEN EXTERN ~_BORDA~ 8
END

IF ~~ THEN BEGIN 167 // from:
  SAY #100330 /* ~*smacks <CHARNAME> on the head* Idiot! Why did you buy that? Are you dense or something? Didn't ya think for a moment he might be tryin' to scam ya? And that's after boasting how clever a thief you're an'all!~ */
  IF ~~ THEN DO ~GiveItem("_POTN25",LastTalkedToBy)
TakePartyGold(25)
EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Class(Player1,THIEF_ALL)
~ THEN EXTERN ~_BORDA~ 9
END

IF ~~ THEN BEGIN 168 // from:
  SAY #100330 /* ~*smacks <CHARNAME> on the head* Idiot! Why did you buy that? Are you dense or something? Didn't ya think for a moment he might be tryin' to scam ya? And that's after boasting how clever a thief you're an'all!~ */
  IF ~~ THEN DO ~GiveItem("_SCRL16",LastTalkedToBy)
TakePartyGold(25)
EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Class(Player1,THIEF_ALL)
~ THEN EXTERN ~_BORDA~ 10
END

IF ~~ THEN BEGIN 169 // from:
  SAY #100330 /* ~*smacks <CHARNAME> on the head* Idiot! Why did you buy that? Are you dense or something? Didn't ya think for a moment he might be tryin' to scam ya? And that's after boasting how clever a thief you're an'all!~ */
  IF ~~ THEN DO ~GiveItem("_SCRL10",LastTalkedToBy)
TakePartyGold(100)
EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Class(Player1,THIEF_ALL)
~ THEN EXTERN ~_BORDA~ 11
END

IF ~~ THEN BEGIN 170 // from:
  SAY #100331 /* ~Can you say creeeeeeeeepy...~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CARSA~ 9
END

IF ~~ THEN BEGIN 171 // from:
  SAY #100332 /* ~Wow, we are famous, <CHARNAME>!~ */
  IF ~~ THEN REPLY #74837 /* ~Well, that's us, I guess. You've got a good eye. Now who is this person that wants so much to see us?~ */ EXTERN ~_CHLOE~ 1
  IF ~~ THEN REPLY #74838 /* ~I suppose you're right, little one. Now, this person who sent you, they're in the Jovial Juggler... Could you tell me where that is?~ */ EXTERN ~_CHLOE~ 3
  IF ~~ THEN REPLY #74839 /* ~Thank you, child. You have earned your gold piece. I will go to the Jovial Juggler and meet with your benefactor as soon as I am able.~ */ EXTERN ~_CHLOE~ 4
END

IF ~~ THEN BEGIN 172 // from:
  SAY #100333 /* ~That is creepy. I definitely don't wanna have anyone copy me! I'm the only one allowed to be Imoen after all.~ */
  IF ~~ THEN REPLY #100334 /* ~Yeah. One of you is more than enough.~ */ GOTO 173
  IF ~~ THEN REPLY #100335 /* ~Don't worry. Who would want to copy you, anyway?~ */ GOTO 173
  IF ~~ THEN REPLY #100336 /* ~Don't worry. I won't let that happen.~ */ GOTO 174
END

IF ~~ THEN BEGIN 173 // from: 172.1 172.0
  SAY #100337 /* ~Hey! What's that s'posed to mean?~ */
  IF ~~ THEN REPLY #79934 /* ~Who are these people?~ */ EXTERN ~_DRATAN~ 5
  IF ~~ THEN REPLY #79935 /* ~Well, mark my eyes now and mark them well. If they go all quicksilver when I come back down, take that dagger from your belt and gouge the offending eye from my skull quick as lightning, because it won't be my own. I don't know what's going on but you're right: it's creepy and, had I a choice, I'd want no part of it.~ */ EXTERN ~_DRATAN~ 6
END

IF ~~ THEN BEGIN 174 // from: 172.2
  SAY #100338 /* ~Thanks. You better not attack the wrong one, though. Got it?~ */
  IF ~~ THEN REPLY #100339 /* ~Don't worry. No one would be able to mistake some copy for the real you.~ */ GOTO 175
  IF ~~ THEN REPLY #100340 /* ~Don't worry. I'd know the real one from a shapeshifter copy any day.~ */ GOTO 176
END

IF ~~ THEN BEGIN 175 // from: 174.0
  SAY #100341 /* ~Somehow that doesn't make me feel better, y'know.~ */
  IF ~~ THEN REPLY #79934 /* ~Who are these people?~ */ EXTERN ~_DRATAN~ 5
  IF ~~ THEN REPLY #79935 /* ~Well, mark my eyes now and mark them well. If they go all quicksilver when I come back down, take that dagger from your belt and gouge the offending eye from my skull quick as lightning, because it won't be my own. I don't know what's going on but you're right: it's creepy and, had I a choice, I'd want no part of it.~ */ EXTERN ~_DRATAN~ 6
END

IF ~~ THEN BEGIN 176 // from: 174.1
  SAY #100342 /* ~Thanks. That makes me feel a little better. I'll do the same for you, 'kay?~ */
  IF ~~ THEN REPLY #79934 /* ~Who are these people?~ */ EXTERN ~_DRATAN~ 5
  IF ~~ THEN REPLY #79935 /* ~Well, mark my eyes now and mark them well. If they go all quicksilver when I come back down, take that dagger from your belt and gouge the offending eye from my skull quick as lightning, because it won't be my own. I don't know what's going on but you're right: it's creepy and, had I a choice, I'd want no part of it.~ */ EXTERN ~_DRATAN~ 6
END

IF ~~ THEN BEGIN 177 // from: _HALFGU:3.1
  SAY #100343 /* ~Ugh! I'll leave this one to <CHARNAME>. I was never good at this kind of riddle.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 178 // from: _JAHEIR:7.1
  SAY #100344 /* ~What?! Wait a second here! Why did we come all this way, and now you're turning your back on them? They're like our family, y'know!~ */
  IF ~~ THEN REPLY #100345 /* ~I have my reasons.~ */ GOTO 228
  IF ~~ THEN REPLY #100346 /* ~I don't want to get them involved. They have enough to worry about.~ */ GOTO 229
END

IF ~~ THEN BEGIN 179 // from: _JENKAL:2.3
  SAY #100347 /* ~Guess halflings really are sensitive about their height.~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JENKAL~ 6
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ALORAJ~ 84
END

IF WEIGHT #1 /* Triggers after states #: 506 even though they appear after this state */
~  Global("X#ImoenJenkal2","GLOBAL",1)
~ THEN BEGIN 180 // from:
  SAY #100349 /* ~So, um, why do halflings hate kobolds so much?~ */
  IF ~~ THEN DO ~SetGlobal("X#ImoenJenkal2","GLOBAL",2)
~ EXIT
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ImoenJenkal2","GLOBAL",2)
~ EXTERN ~_BALORA~ 258
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ImoenJenkal2","GLOBAL",2)
~ EXTERN ~_BIMOEN~ 395
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ImoenJenkal2","GLOBAL",2)
~ EXTERN ~_BALORA~ 257
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ImoenJenkal2","GLOBAL",2)
~ EXTERN ~_BMONTA~ 259
END

IF ~~ THEN BEGIN 181 // from: _KIRIAN:1.3
  SAY #100354 /* ~Yer pourin' oil on the coals here, sis. <CHARNAME> has the temperament of a wild cat!~ */
  IF ~~ THEN REPLY #77943 /* ~What are you talking about, little girl, we've much more experience than the rag-tag band of yours you call an adventuring party.~ */ EXTERN ~_KIRIAN~ 4
  IF ~~ THEN REPLY #77944 /* ~Watch your mouth, lest I smash it.~ */ EXTERN ~_KIRIAN~ 3
  IF ~~ THEN REPLY #77945 /* ~Ya, ya, say what you want, we'll be going now.~ */ EXTERN ~_KIRIAN~ 2
END

IF ~~ THEN BEGIN 182 // from: _KIRIAN:1.4
  SAY #100355 /* ~Yer pourin' oil on the coals here, sis. <CHARNAME> has the temperament of a wild bull!~ */
  IF ~~ THEN REPLY #77943 /* ~What are you talking about, little girl, we've much more experience than the rag-tag band of yours you call an adventuring party.~ */ EXTERN ~_KIRIAN~ 4
  IF ~~ THEN REPLY #77944 /* ~Watch your mouth, lest I smash it.~ */ EXTERN ~_KIRIAN~ 3
  IF ~~ THEN REPLY #77945 /* ~Ya, ya, say what you want, we'll be going now.~ */ EXTERN ~_KIRIAN~ 2
END

IF ~~ THEN BEGIN 183 // from: _KISSIQ:2.1
  SAY #100356 /* ~Okay. This I gotta see. Err, hear.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KISSIQ~ 3
END

IF ~~ THEN BEGIN 184 // from: _KERRAC:2.4
  SAY #100358 /* ~A new world!? Wow! That sounds so exciting! I'd like to go there someday!~ */
  IF ~~ THEN REPLY #100359 /* ~Come on, Imoen! I thought you were smarter than that! He's just pulling your leg.~ */ GOTO 185
  IF ~~ THEN REPLY #100360 /* ~I still say he's got his facts messed up somehow. A new world there may be, but his explanation is that of a lunatic.~ */ GOTO 186
  IF ~~ THEN REPLY #100361 /* ~I don't know about that. Maybe there is a new world on the other side, maybe there isn't. I doubt we'll ever know, let alone set foot on it.~ */ GOTO 187
  IF ~~ THEN REPLY #100362 /* ~Well, if what he says is true, perhaps someday we will set foot on it. I'd like to, as well.~ */ GOTO 189
END

IF ~~ THEN BEGIN 185 // from: 184.0
  SAY #100363 /* ~I dunno. He sounded kinda serious.~ */
  IF ~~ THEN REPLY #100364 /* ~Of course! How else is he to fool simpletons?~ */ GOTO 192
  IF ~~ THEN REPLY #100365 /* ~Yeah, maybe because he's a raving loon!~ */ GOTO 186
  IF ~~ THEN REPLY #100366 /* ~Perhaps. But I highly doubt it.~ */ GOTO 186
END

IF ~~ THEN BEGIN 186 // from: 185.2 185.1 184.1
  SAY #100367 /* ~Well... maybe yer right. That did kinda sound farfetched, what he said.~ */
  IF ~~ THEN REPLY #81489 /* ~Your New World is no hero's quest but rather a blind fool's errand. I have read that between the brutality of the Flaming Fist and the witless terror of Amn, your precious New World has been coated with the blood of its innocents ten times over!~ */ EXTERN ~_KERRAC~ 3
  IF ~~ THEN REPLY #81490 /* ~Your ravings breathe with more fantasy than fact! I will stick to my theories of dimensions and portals for, if nothing else, they contain a greater potential for truth than your fictions!~ */ EXTERN ~_KERRAC~ 4
  IF ~~ THEN REPLY #81491 /* ~Hurrah to your New World, then, Kerrachus, whatever shape it takes. Alas, I cannot tarry here. Perhaps we'll talk another day.~ */ EXTERN ~_KERRAC~ 5
  IF ~Global("X#GarKer","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GarKer","GLOBAL",1)~ EXTERN ~_GARRIJ~ 86
END

IF ~~ THEN BEGIN 187 // from: 184.2
  SAY #100368 /* ~*sigh* Yea. I guess yer right. It's really a shame, though. Really.~ */
  IF ~~ THEN GOTO 188
END

IF ~~ THEN BEGIN 188 // from: 191.0 187.0
  SAY #100369 /* ~I'd really like to see what could be on an unexplored area of this world! Maybe they have a race of humans with pink hair! Wouldn't that be the greatest!?~ */
  IF ~~ THEN REPLY #81489 /* ~Your New World is no hero's quest but rather a blind fool's errand. I have read that between the brutality of the Flaming Fist and the witless terror of Amn, your precious New World has been coated with the blood of its innocents ten times over!~ */ EXTERN ~_KERRAC~ 3
  IF ~~ THEN REPLY #81490 /* ~Your ravings breathe with more fantasy than fact! I will stick to my theories of dimensions and portals for, if nothing else, they contain a greater potential for truth than your fictions!~ */ EXTERN ~_KERRAC~ 4
  IF ~~ THEN REPLY #81491 /* ~Hurrah to your New World, then, Kerrachus, whatever shape it takes. Alas, I cannot tarry here. Perhaps we'll talk another day.~ */ EXTERN ~_KERRAC~ 5
  IF ~Global("X#GarKer","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GarKer","GLOBAL",1)~ EXTERN ~_GARRIJ~ 86
END

IF ~~ THEN BEGIN 189 // from: 184.3
  SAY #100370 /* ~That's the spirit! No place is too remote! No place too unknown! No place too dangerous for us!~ */
  IF ~~ THEN GOTO 190
END

IF ~~ THEN BEGIN 190 // from: 189.0
  SAY #100371 /* ~Well, as long as there's a place where a girl can freshen up from time to time at least.~ */
  IF ~~ THEN GOTO 191
END

IF ~~ THEN BEGIN 191 // from: 190.0
  SAY #100372 /* ~Anyway...~ */
  IF ~~ THEN GOTO 188
END

IF ~~ THEN BEGIN 192 // from: 185.0
  SAY #100373 /* ~Well I gue-~ */
  IF ~~ THEN GOTO 193
END

IF ~~ THEN BEGIN 193 // from: 192.0
  SAY #100374 /* ~*elbows <CHARNAME>* I am not a *simpleton*!~ */
  IF ~~ THEN REPLY #81489 /* ~Your New World is no hero's quest but rather a blind fool's errand. I have read that between the brutality of the Flaming Fist and the witless terror of Amn, your precious New World has been coated with the blood of its innocents ten times over!~ */ EXTERN ~_KERRAC~ 3
  IF ~~ THEN REPLY #81490 /* ~Your ravings breathe with more fantasy than fact! I will stick to my theories of dimensions and portals for, if nothing else, they contain a greater potential for truth than your fictions!~ */ EXTERN ~_KERRAC~ 4
  IF ~~ THEN REPLY #81491 /* ~Hurrah to your New World, then, Kerrachus, whatever shape it takes. Alas, I cannot tarry here. Perhaps we'll talk another day.~ */ EXTERN ~_KERRAC~ 5
  IF ~Global("X#GarKer","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GarKer","GLOBAL",1)~ EXTERN ~_GARRIJ~ 86
END

IF ~~ THEN BEGIN 194 // from: _KYLEE:0.1
  SAY #100375 /* ~*giggles* Naked without his dagger? I'd say so! These miners, they don't wear much, huh.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #77325 /* ~Investigating the Nashkel mines

Other adventurers have apparently tried to clear out the mines, with little success.~ */ EXIT
END

IF ~~ THEN BEGIN 195 // from: _LAVLEAD:1.1
  SAY #100376 /* ~Whatcha do that for? We're no guards, but well, I guess I don't really like the term mercenaries, either.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 196 // from: _LAVLEAD:3.2
  SAY #100377 /* ~You didn't have to be so stingy. I mean, I like keeping the money I have, but it was only a hundred coins, and it was for a good cause. You're really a miser if you won't help them out when we have that kinda money!~ */
  IF ~  OR(3)
!InParty("ajantis")
!InMyArea("ajantis")
StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXIT
  IF ~  PartyGoldGT(99)
InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
Global("X#AjantisHelpRill","GLOBAL",0)
~ THEN EXTERN ~_AJANTJ~ 111
END

IF WEIGHT #2 /* Triggers after states #: 506 even though they appear after this state */
~  Global("X#ImoenLaryssa2","GLOBAL",1)
~ THEN BEGIN 197 // from:
  SAY #100378 /* ~Poor woman. I feel sorry for her, even if she did attack us. She was only trying to protect someone she cared for, even if it was misguided.~ */
  IF ~~ THEN DO ~SetGlobal("X#ImoenLaryssa2","GLOBAL",2)
~ EXIT
END

IF ~~ THEN BEGIN 198 // from: _MINSC:52.2 _MINSC:51.2 _MINSC:50.2 _MINSC:49.2 _MINSC:48.2 _MINSC:47.2 _MINSC:46.2 _MINSC:45.2 _MINSC:44.2 _MINSC:43.2 _MINSC:42.2 _MINSC:41.2 _MINSC:40.2 _MINSC:39.2 _MINSC:38.2 _MINSC:37.2 _MINSC:36.2 _MINSC:35.2 _MINSC:34.2 _MINSC:33.2 _MINSC:32.2 _MINSC:31.2 _MINSC:30.2 _MINSC:29.2 _MINSC:28.2 _MINSC:27.2 _MINSC:26.2 _MINSC:5.2 468.2 467.2 466.2 465.2 464.2 463.2 462.2 461.2 460.2 459.2 458.2 457.2
  SAY #100379 /* ~Wow. A damsel in distress, and a brave warrior to come rescue her. I wish that would happen to me.~ */
  IF ~~ THEN REPLY #100381 /* ~Maybe you'll get lucky someday. ~ */ GOTO 201
  IF ~~ THEN REPLY #100382 /* ~Hey, you got me!~ */ GOTO 200
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
!Class(Player1,MAGE_ALL)
!Class(Player1,CLERIC_ALL)
!Class(Player1,BARD_ALL)
!Class(Player1,DRUID_ALL)
~ THEN GOTO 199
END

IF ~~ THEN BEGIN 199 // from: 198.2
  SAY #100380 /* ~Actually, no, I don't. I don't mind the brave warrior, as long as he's handsome, but the part about being in danger I could do without.~ */
  IF ~~ THEN REPLY #100381 /* ~Maybe you'll get lucky someday. ~ */ GOTO 201
  IF ~~ THEN REPLY #100382 /* ~Hey, you got me!~ */ GOTO 200
END

IF ~~ THEN BEGIN 200 // from: 199.1 198.1
  SAY #100383 /* ~*giggles* Heh. You really are a kidder! I was talking about someone more romantic than you. ~ */
  IF ~~ THEN EXTERN ~_MINSC~ 24
END

IF ~~ THEN BEGIN 201 // from: 199.0 198.0
  SAY #100385 /* ~*giggles* Didn't I just say that I don't want it, silly?~ */
  IF ~~ THEN EXTERN ~_MINSC~ 25
END

IF ~~ THEN BEGIN 202 // from: _NALIN:4.1
  SAY #100386 /* ~See, aren't ya glad you listened to my idea to bring him here, instead of turning him in for the bounty? Now we've gotten double the reward money!~ */
  IF ~~ THEN REPLY #100387 /* ~Hey, that was my idea!~ */ GOTO 203
  IF ~~ THEN REPLY #100388 /* ~Heh. Yeah, you're right, Imoen. Glad I took *your* advice.~ */ GOTO 204
  IF ~~ THEN REPLY #100389 /* ~I think you got it backwards. *You* wanted the money for his bounty.~ */ GOTO 205
END

IF ~~ THEN BEGIN 203 // from: 202.0
  SAY #100390 /* ~Heh. Yeah, I'll let you believe that.~ */
  IF ~~ THEN EXTERN ~_NALIN~ 8
END

IF ~~ THEN BEGIN 204 // from: 202.1
  SAY #100392 /* ~I don't think I like the way ya said that...~ */
  IF ~~ THEN EXTERN ~_NALIN~ 9
END

IF ~~ THEN BEGIN 205 // from: 202.2
  SAY #100393 /* ~Me? Yeah, I like money and all, but not at the expense of some innocent person's life. Even I have ta draw the line somewhere, y'know.~ */
  IF ~~ THEN GOTO 206
END

IF ~~ THEN BEGIN 206 // from: 205.0
  SAY #100394 /* ~I don't know where ya got this crazy idea from, but it's not funny.~ */
  IF ~~ THEN EXTERN ~_NALIN~ 10
END

IF ~~ THEN BEGIN 207 // from: _NIKOLA:8.1
  SAY #100395 /* ~He's right. Yer even startin' to creep me out now.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
!Class("imoen",MAGE_ALL)
~ THEN EXTERN ~_NIKOLA~ 9
END

IF ~~ THEN BEGIN 208 // from:
  SAY #100397 /* ~Aghh! Will you shut this moron up, already! What does a girl have ta do to get some peace and quiet around here!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 209 // from:
  SAY #100398 /* ~Hold on here a sec! What the hell are ya talkin' about? What kinda reputation you trying to give me, huh?~ */
  IF ~~ THEN DO ~CreateCreature("_CORSONE",[4677.625],0)
CreateCreature("_BEARCA",[4371.625],0)
CreateCreature("_BEARCA",[4122.648],0)
Enemy()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_OSMADI~ 3
END

IF ~~ THEN BEGIN 210 // from:
  SAY #100400 /* ~Yeah! You go walk away, you charlatan!~ */
  IF ~~ THEN EXTERN ~_PALLON~ 6
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 212
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 211
END

IF ~~ THEN BEGIN 211 // from: 210.2
  SAY #100401 /* ~I can say things like that, link it to some mumbo-jumbo about star alignments and other stuff too, you know, and make it sound just vague enough to cover almost any circumstance.~ */
  IF ~~ THEN EXTERN ~_PALLON~ 6
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 212
END

IF ~~ THEN BEGIN 212 // from: 211.1 210.1
  SAY #100402 /* ~Wait a second here... hmm...~ */
  IF ~~ THEN EXTERN ~_PALLON~ 6
END

IF ~~ THEN BEGIN 213 // from:
  SAY #100404 /* ~You don't really believe that, do ya, <CHARNAME>?~ */
  IF ~~ THEN EXTERN ~_PALLON~ 7
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 215
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 214
END

IF ~~ THEN BEGIN 214 // from: 213.2
  SAY #100401 /* ~I can say things like that, link it to some mumbo-jumbo about star alignments and other stuff too, you know, and make it sound just vague enough to cover almost any circumstance.~ */
  IF ~~ THEN EXTERN ~_PALLON~ 7
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 215
END

IF ~~ THEN BEGIN 215 // from: 214.1 213.1
  SAY #100402 /* ~Wait a second here... hmm...~ */
  IF ~~ THEN EXTERN ~_PALLON~ 7
END

IF ~~ THEN BEGIN 216 // from:
  SAY #100405 /* ~Huh, this guy throws a hissy fit 'cause a few words broke the silence of the woods? I wanna see him in Puffguts' kitchens on the night of the Midsummer feast! He'd probably lose his mind and start screaming or somethin'. Heh, he'd fit right in!~ */
  IF ~~ THEN REPLY #86448 /* ~Of course you can't hear a word you're thinking. You have to say it out loud, first.~ */ EXTERN ~_PERMID~ 1
  IF ~~ THEN REPLY #86449 /* ~A heist? That's not particularly noble or, uh, legal of you...~ */ EXTERN ~_PERMID~ 2
END

IF ~~ THEN BEGIN 217 // from:
  SAY #100406 /* ~Wow, this is beautiful! D'ya think someone'll make our statues one day, <CHARNAME>? Seeing how we're 'bout to become great heroes and all?~ */
  IF ~~ THEN REPLY #77218 /* ~If it is so important, then I shall guard you as best I can. Yes.~ */ EXTERN ~_PRISM~ 4
  IF ~~ THEN REPLY #77219 /* ~Your safety is no concern of mine.  I don't fancy trying to get between a bounty hunter and his bounty.~ */ EXTERN ~_PRISM~ 5
  IF ~~ THEN REPLY #77220 /* ~Perhaps you should fear me more than Greywolf. Perhaps I am seeking the bounty as well.~ */ EXTERN ~_PRISM~ 2
END

IF ~~ THEN BEGIN 218 // from:
  SAY #100407 /* ~*kicks you really hard* You stupid monkey! What did you do that for! We could have easily taken him. Next time, we come across some kind of bandits like them, I'll be the negotiator, y'hear? ~ */
  IF ~~ THEN DO ~TakePartyGold(1000000)
Shout(2)
EscapeArea()
~ UNSOLVED_JOURNAL #78084 /* ~Tazok and the bandits

I have encountered some of the raiders that currently plague the coast.  Iron and gold were what they wished, but the iron was the main target of their mission.~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_RAIKEN~ 21
END

IF ~~ THEN BEGIN 219 // from:
  SAY #100409 /* ~Did ya hear that!? Sarevok! Sounds kinda fishy to me, dontcha think?~ */
  IF ~~ THEN EXTERN ~_TETHTO2~ 3
END

IF ~~ THEN BEGIN 220 // from:
  SAY #100407 /* ~*kicks you really hard* You stupid monkey! What did you do that for! We could have easily taken him. Next time, we come across some kind of bandits like them, I'll be the negotiator, y'hear? ~ */
  IF ~~ THEN DO ~TakePartyGold(1000000)
Shout(2)
EscapeArea()
~ UNSOLVED_JOURNAL #78084 /* ~Tazok and the bandits

I have encountered some of the raiders that currently plague the coast.  Iron and gold were what they wished, but the iron was the main target of their mission.~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_TEVEN~ 23
END

IF ~~ THEN BEGIN 221 // from:
  SAY #100411 /* ~Wait! What the... Come on, how many thieves are there in this party, and we still get robbed that easily? Not my fault, though. Someone else had to insist <PRO_HESHE> could keep it safer than me.~ */
  IF ~~ THEN DO ~TakePartyGold(100)
EscapeArea()
~ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN DO ~TakePartyGold(100)
SetGlobal("X#MinscVitiare","GLOBAL",1)
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Class(Player1,THIEF_ALL)
OR(3)
!InParty("minsc")
!InMyArea("minsc")
StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VITIAR~ 6
END

IF ~~ THEN BEGIN 222 // from:
  SAY #100412 /* ~Wait! What the... I should have seen this coming. Letting you keep the money while we were at the carnival was a bad idea. But no... someone had to insist <PRO_HESHE> could keep it safer than me, the one who knows what to look for!~ */
  IF ~~ THEN DO ~TakePartyGold(100)
EscapeArea()
~ EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN DO ~TakePartyGold(100)
SetGlobal("X#MinscVitiare","GLOBAL",1)
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
!Class(Player1,THIEF_ALL)
OR(3)
!InParty("minsc")
!InMyArea("minsc")
StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VITIAR~ 7
END

IF ~~ THEN BEGIN 223 // from:
  SAY #100413 /* ~To think all he wanted was a book so he could teach. Makes you kinda wonder.~ */
  IF ~~ THEN DO ~AddexperienceParty(1000)
TakePartyItem("_BOOK54")
SetGlobal("MACUlcasterJournal","GLOBAL",1)
EraseJournalEntry(76942)
EraseJournalEntry(74891)
EraseJournalEntry(75714)
~ SOLVED_JOURNAL #76946 /* ~Ulcaster's ghost

I retrieved a book from the ruins of the Ulcaster School, and it seemed to restore some clarity to the specter of Ulcaster himself.  He still haunts this place, but he is perhaps a little closer to letting go.~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ULCAST~ 7
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 224
END

IF ~~ THEN BEGIN 224 // from: 223.2
  SAY #100414 /* ~Oh! <CHARNAME>, you'll get whatever I want so I can rest in peace if I die, right?~ */
  IF ~~ THEN DO ~AddexperienceParty(1000)
TakePartyItem("_BOOK54")
SetGlobal("MACUlcasterJournal","GLOBAL",1)
EraseJournalEntry(76942)
EraseJournalEntry(74891)
EraseJournalEntry(75714)
~ SOLVED_JOURNAL #76946 /* ~Ulcaster's ghost

I retrieved a book from the ruins of the Ulcaster School, and it seemed to restore some clarity to the specter of Ulcaster himself.  He still haunts this place, but he is perhaps a little closer to letting go.~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ULCAST~ 7
END

IF ~~ THEN BEGIN 225 // from:
  SAY #100416 /* ~Where?!~ */
  IF ~~ THEN DO ~TakePartyGold(35)
EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ZHURLO~ 7
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 226
END

IF ~~ THEN BEGIN 226 // from: 225.2
  SAY #100417 /* ~Oh, Hades, he picked your pocket, <CHARNAME>, while ya were gawkin' 'round!~ */
  IF ~~ THEN DO ~TakePartyGold(35)
EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ZHURLO~ 7
END

IF ~~ THEN BEGIN 227 // from:
  SAY #100419 /* ~Huh, so much ado 'bout some stupid boots! And ya know what, <CHARNAME>, in those boots he'd only become better at stealin', so let's keep our eyes on our money while we're 'round here.~ */
  IF ~~ THEN DO ~AddexperienceParty(300)
TakePartyItem("_BOOT02")
GivePartyGold(1000000)
SetGlobal("HelpZhurlong","GLOBAL",1)
EraseJournalEntry(75882)
~ SOLVED_JOURNAL #75887 /* ~Zhurlong's missing boots

Well, Zhurlong is making progress in our ongoing joint therapy sessions.  He has confessed his kleptomaniac tendencies, and has even gone so far as to return the gold that he has stolen from me thus far.  Most surprising, however, has been his offer of 100 gp above and beyond what was actually due.  Sadly, he referred to it as a down payment on my pocket...  Nevertheless, with time, I still hold out hope that he might be cured.~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ZHURLO~ 8
END

IF ~~ THEN BEGIN 228 // from: 178.0
  SAY #100420 /* ~Oh, look who's all important now!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 229 // from: 178.1
  SAY #100421 /* ~And what about me? Hmm? ~ */
  IF ~~ THEN REPLY #100422 /* ~I couldn't stop you from coming, even if I tried.~ */ GOTO 231
  IF ~~ THEN REPLY #100423 /* ~Someone has to baby-sit you.~ */ GOTO 230
END

IF ~~ THEN BEGIN 230 // from: 229.1
  SAY #100424 /* ~*sticks out her tongue* Is that so? We'll just see who has to sleep outdoors next time with a large rock under them!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 231 // from: 229.0
  SAY #100425 /* ~That's right! But it's for your own good, ya know.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 506 even though they appear after this state */
~  Global("X#IMForeshadow","GLOBAL",1)
~ THEN BEGIN 232 // from:
  SAY #100426 /* ~Can we go there someday? Huh, <CHARNAME>? It sounds like fun!~ */
  IF ~~ THEN REPLY #100427 /* ~Absolutely not!~ */ DO ~SetGlobal("X#IMForeshadow","GLOBAL",2)
~ GOTO 233
  IF ~~ THEN REPLY #100428 /* ~Perhaps. We'll have to see what fortune favors.~ */ DO ~SetGlobal("X#IMForeshadow","GLOBAL",2)
~ GOTO 234
  IF ~~ THEN REPLY #100429 /* ~Of course! I wouldn't miss it for the world!~ */ DO ~SetGlobal("X#IMForeshadow","GLOBAL",2)
~ GOTO 234
END

IF ~~ THEN BEGIN 233 // from: 232.0
  SAY #100430 /* ~Boo! You're no fun! I thought we were s'posed to be adventuring!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 234 // from: 232.2 232.1
  SAY #100431 /* ~Great! That means I'll have ta start making plans for it!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #4 /* Triggers after states #: 506 even though they appear after this state */
~  Global("X#IMDiamond","GLOBAL",1)
~ THEN BEGIN 235 // from:
  SAY #100432 /* ~Wow! And Winthrop used ta tell me that diamonds don't grow on trees! Sure, in Candlekeep they don't! Hey, <CHARNAME>, cheer up! Tymora favours us, seems ta me.~ */
  IF ~~ THEN DO ~SetGlobal("X#IMDiamond","GLOBAL",2)
~ EXIT
END

IF WEIGHT #5 /* Triggers after states #: 506 even though they appear after this state */
~  Global("X#IMGBody","GLOBAL",1)
PartyHasItem("_SCRL3Z")
~ THEN BEGIN 236 // from:
  SAY #100433 /* ~Is that... Gorion?~ */
  IF ~~ THEN REPLY #100434 /* ~Yes. He died saving me from some... thing.~ */ DO ~SetGlobal("X#IMGBody","GLOBAL",2)
~ GOTO 238
  IF ~~ THEN REPLY #100435 /* ~Yes, it *was* Gorion. He died while protecting me from an attack.~ */ DO ~SetGlobal("X#IMGBody","GLOBAL",2)
~ GOTO 238
  IF ~~ THEN REPLY #100436 /* ~*push the body with a toe of your foot* Right. The *great* mage Gorion! Could not even stand his ground against a couple of ogres and a scare-crow!~ */ DO ~SetGlobal("X#IMGBody","GLOBAL",2)
~ GOTO 237
END

IF ~~ THEN BEGIN 237 // from: 236.2
  SAY #100437 /* ~Hey! You were hiding yer butt under a bush while he was fighting all these monsters, weren't ya?~ */
  IF ~~ THEN GOTO 238
END

IF ~~ THEN BEGIN 238 // from: 237.0 236.1 236.0
  SAY #100438 /* ~Don'tcha even know what attacked you? Whatever it was, looks like it was vicious.~ */
  IF ~~ THEN REPLY #100439 /* ~I was scared out of my wits! What do you expect?~ */ GOTO 239
  IF ~~ THEN REPLY #100440 /* ~It was too dark to see much, but it was humanoid, although I couldn't see a face. His eyes glowed, though... like hells' fire! And he would have gone straight for me if Gorion, gods rest his soul, had not barred his way!~ */ GOTO 240
  IF ~~ THEN REPLY #100441 /* ~I can't remember much about last night... or... much about the attacker. But I do remember that he... that it spoke.~ */ GOTO 241
  IF ~~ THEN REPLY #100442 /* ~Ogres, some girl with a mace, and a huge man in spiked armour. I did not stick around long enough to take a closer look, you know. With Gorion shouting at me to run, that man demanding my head and all...~ */ GOTO 240
END

IF ~~ THEN BEGIN 239 // from: 238.0
  SAY #100443 /* ~Really? I'm glad I wasn't right there. I've seen you get surprised and jump before, but never ever afraid. I-I don't even want to think 'bout what could scare you.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 240 // from: 238.3 238.1
  SAY #100444 /* ~I see. Hmm... so he wasn't after Gorion, but you.~ */
  IF ~~ THEN GOTO 242
END

IF ~~ THEN BEGIN 241 // from: 238.2
  SAY #100445 /* ~So ya remember what it said?~ */
  IF ~~ THEN REPLY #100446 /* ~Not really, just that it wanted to kill me.~ */ GOTO 244
  IF ~~ THEN REPLY #100447 /* ~Well, it did not say much... besides, obviously, wanting my corpse to be where Gorion's is now, or at least alongside it, it mentioned it had been looking for me.~ */ GOTO 246
END

IF ~~ THEN BEGIN 242 // from: 240.0
  SAY #100448 /* ~I don't like this, <CHARNAME>, don't like it at all.~ */
  IF ~~ THEN REPLY #100449 /* ~I don't either, but I have to find out what's going on, and why I was attacked. I don't want to drag you into this, though, Imoen.~ */ GOTO 248
  IF ~~ THEN REPLY #100450 /* ~I don't either, but what's done is done. Gorion's spirit won't come back now. I doubt even a High Cleric of Helm could restore him to life with a body this torn up. No, we'd best move on now, Imoen.~ */ GOTO 250
  IF ~~ THEN REPLY #100451 /* ~I didn't want Gorion to die, but I will avenge him, Imoen. Just you wait.~ */ GOTO 252
  IF ~~ THEN REPLY #100452 /* ~Heh, things are just starting to get interesting. Don't get me wrong, I wish Gorion were here, but this is how great adventures start, Imoen!~ */ GOTO 254
  IF ~~ THEN REPLY #100453 /* ~Have I asked your opinion, brat?~ */ GOTO 243
END

IF ~~ THEN BEGIN 243 // from: 242.4
  SAY #100454 /* ~Nope, 'cause you're so stupid!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 244 // from: 241.0
  SAY #100455 /* ~That seemed obvious, from what you've said earlier.~ */
  IF ~~ THEN GOTO 245
END

IF ~~ THEN BEGIN 245 // from: 244.0
  SAY #100456 /* ~*shrugging her shoulders and grinning* Well, we'll just have ta deal with 'em when it they come again, but this time, it'll be their bodies rottin' in the sun.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 246 // from: 241.1
  SAY #100457 /* ~Well, aren't ya the popular one?~ */
  IF ~~ THEN GOTO 247
END

IF ~~ THEN BEGIN 247 // from: 246.0
  SAY #100458 /* ~Sorry, just tryin' to liven things up here. Anyways, if that thing was lookin' for ya, it'll come for ya 'gain. Don'tcha worry, though! This time, with Imoen the Magnificent at your side, you can't lose!~ */
  IF ~~ THEN REPLY #100459 /* ~Heh. Thanks, Imoen.~ */ EXIT
  IF ~~ THEN REPLY #100460 /* ~Imoen the *Mag*nificent?~ */ GOTO 255
  IF ~  Class(Player1,THIEF_ALL)
~ THEN REPLY #100461 /* ~Magnificent? You're okay, but I wouldn't go that far.~ */ GOTO 261
  IF ~  !Class(Player1,THIEF_ALL)
Gender(Player1,MALE)
~ THEN REPLY #100461 /* ~Magnificent? You're okay, but I wouldn't go that far.~ */ GOTO 259
  IF ~  !Class(Player1,THIEF_ALL)
Gender(Player1,FEMALE)
~ THEN REPLY #100461 /* ~Magnificent? You're okay, but I wouldn't go that far.~ */ GOTO 257
  IF ~~ THEN REPLY #100462 /* ~And can Imoen the Magnificent liven up *this* thing here? *point at Gorion's body*~ */ GOTO 251
END

IF ~~ THEN BEGIN 248 // from: 242.0
  SAY #100463 /* ~Leave? And if I did, who would keep ya entertained? Who would keep your spirits lifted in the darkest hour? And who would keep up the practical jokes?~ */
  IF ~~ THEN GOTO 249
END

IF ~~ THEN BEGIN 249 // from: 248.0
  SAY #100464 /* ~Leave! Hah! You'll have ta force me ta leave ya now!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 250 // from: 242.1
  SAY #100465 /* ~Are you sure? At least we could give him a proper burial, y'know. It's not like I like doin' it, but I know I'd like someone to bury me, as well.~ */
  IF ~~ THEN REPLY #100466 /* ~I suppose you are right.~ */ GOTO 335
  IF ~~ THEN REPLY #100467 /* ~Imoen, it's just a body. Let it rot.~ */ EXIT
  IF ~~ THEN REPLY #100468 /* ~No... I am too afraid to stay here for long. The man in black and his cohorts may well return searching for me. Let us move.~ */ EXIT
END

IF ~~ THEN BEGIN 251 // from: 247.5
  SAY #100469 /* ~No... no, I can't. But speakin' of bodies... The least we could do is t'give Gorion a proper burial, y'know. It's not like I like doin' it, but I know I'd like someone to bury me, as well.~ */
  IF ~~ THEN REPLY #100466 /* ~I suppose you are right.~ */ GOTO 335
  IF ~~ THEN REPLY #100467 /* ~Imoen, it's just a body. Let it rot.~ */ EXIT
  IF ~~ THEN REPLY #100468 /* ~No... I am too afraid to stay here for long. The man in black and his cohorts may well return searching for me. Let us move.~ */ EXIT
END

IF ~~ THEN BEGIN 252 // from: 242.2
  SAY #100470 /* ~Right, then! I'll be with ya all the way!~ */
  IF ~~ THEN GOTO 253
END

IF ~~ THEN BEGIN 253 // from: 252.0
  SAY #100471 /* ~But you think first we should bury Gorion? I mean, it's not proper to leave him out like this.~ */
  IF ~~ THEN REPLY #100466 /* ~I suppose you are right.~ */ GOTO 335
  IF ~~ THEN REPLY #100467 /* ~Imoen, it's just a body. Let it rot.~ */ EXIT
  IF ~~ THEN REPLY #100468 /* ~No... I am too afraid to stay here for long. The man in black and his cohorts may well return searching for me. Let us move.~ */ EXIT
END

IF ~~ THEN BEGIN 254 // from: 242.3
  SAY #100472 /* ~Right... well, before we start this adventure, shouldn't you bury Gorion, at least what's left of him?~ */
  IF ~~ THEN REPLY #100473 /* ~I suppose you're right. Besides, all great adventures start off after burying someone you cared for.~ */ GOTO 262
  IF ~~ THEN REPLY #100474 /* ~Yes, you are right, Imoen. Let us bury Gorion.~ */ GOTO 335
  IF ~~ THEN REPLY #100475 /* ~*Suddenly you cannot speak, tears welling in your eyes. You nod your agreement.*~ */ GOTO 263
  IF ~~ THEN REPLY #100467 /* ~Imoen, it's just a body. Let it rot.~ */ EXIT
  IF ~~ THEN REPLY #100468 /* ~No... I am too afraid to stay here for long. The man in black and his cohorts may well return searching for me. Let us move.~ */ EXIT
END

IF ~~ THEN BEGIN 255 // from: 247.1
  SAY #100476 /* ~'Course! It's the perfect name for me, someone who has so many talents!~ */
  IF ~~ THEN GOTO 256
END

IF ~~ THEN BEGIN 256 // from: 255.0
  SAY #100477 /* ~Well let's be off then. It just wouldn't do to have this magnificent talent of mine wasted, y'know?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 257 // from: 247.4
  SAY #100478 /* ~OKAY!? Perhaps ya don't remember how many times they showed ya the evidence for a prank you never committed, or the times your possessions would go missing only to be found somewhere else in your room, or the time your dress turned transparent in the middle of the town square? I'm sure the guards at Candlekeep could remember that last one. Prolly even some of them crusty ole scholars, as well. That took lots of planning, strategy and finesse...~ */
  IF ~~ THEN GOTO 258
END

IF ~~ THEN BEGIN 258 // from: 257.0
  SAY #100479 /* ~*giggling* Just thinking of that...~ */
  IF ~~ THEN REPLY #100480 /* ~*blushing* I-I don't know what you're talking about. It must have been someone else...~ */ GOTO 264
  IF ~~ THEN REPLY #100481 /* ~*fuming red-angry* THAT WAS YOU!? COME HERE, BEFORE YOU REGRET IT.~ */ GOTO 265
  IF ~~ THEN REPLY #100482 /* ~So, you pulled a few on me when we were young. Big stinking deal. We are grown-ups now, Imoen, and we have to commit *real* deeds to call ourselves Magnificent.~ */ GOTO 264
  IF ~~ THEN REPLY #100483 /* ~And what about that time when all the forks in Mr. Winthrop's inn went missing, and everyone thought it was your fault? And that favorite book of yours, which you could not open no matter how you tried? Or the carpet that rolled itself up every time you tried to hit it with your beater? Ha! I got you a couple of times, too!~ */ GOTO 264
END

IF ~~ THEN BEGIN 259 // from: 247.3
  SAY #100484 /* ~OKAY!? Perhaps ya don't remember how many times they showed ya the evidence for a prank you never committed, or the times your possessions would go missing only to be found somewhere else in your room, or the time you dropped your trousers in the middle of the town square? I'm sure almost everyone remembers that. The guards got a good laugh, as did many of those... er... younger-than-one-hundred-years-old-last-supper girls! Even that one you sorta had a crush on... um... what's her name? Ah, doesn't matter.~ */
  IF ~~ THEN GOTO 260
END

IF ~~ THEN BEGIN 260 // from: 259.0
  SAY #100479 /* ~*giggling* Just thinking of that...~ */
  IF ~~ THEN REPLY #100480 /* ~*blushing* I-I don't know what you're talking about. It must have been someone else...~ */ GOTO 264
  IF ~~ THEN REPLY #100481 /* ~*fuming red-angry* THAT WAS YOU!? COME HERE, BEFORE YOU REGRET IT.~ */ GOTO 265
  IF ~~ THEN REPLY #100482 /* ~So, you pulled a few on me when we were young. Big stinking deal. We are grown-ups now, Imoen, and we have to commit *real* deeds to call ourselves Magnificent.~ */ GOTO 264
  IF ~~ THEN REPLY #100483 /* ~And what about that time when all the forks in Mr. Winthrop's inn went missing, and everyone thought it was your fault? And that favorite book of yours, which you could not open no matter how you tried? Or the carpet that rolled itself up every time you tried to hit it with your beater? Ha! I got you a couple of times, too!~ */ GOTO 264
END

IF ~~ THEN BEGIN 261 // from: 247.2
  SAY #100485 /* ~*glare* OKAY!? Listen, I know you were always trying to best me, y'know, but you know why you were always the one blamed, and never me? Why you were the one stuck doing all those extra chores, and not me? Well, do ya?~ */
  IF ~~ THEN REPLY #100486 /* ~I did kind of wonder.~ */ GOTO 267
  IF ~~ THEN REPLY #100487 /* ~Doesn't matter anymore. 'Sides now we're out here, and there's no one else to go to...~ */ GOTO 268
  IF ~~ THEN REPLY #100488 /* ~It's not exactly true, Imoen. What about that time when all the forks in Mr. Winthrop's inn went missing, and everyone thought it was your fault? And that favorite book of yours, which you could not open no matter how you tried? Or the carpet that rolled itself up every time you tried to hit it with your beater? Ha! I got you a couple of times too! But... we're not in Candlekeep anymore, Imoen. There's no one else here to go to... so let us not waste our time with silly contests.~ */ GOTO 268
END

IF ~~ THEN BEGIN 262 // from: 254.0
  SAY #100489 /* ~*rolls eyes* Whatever...~ */
  IF ~~ THEN GOTO 335
END

IF ~~ THEN BEGIN 263 // from: 254.2
  SAY #100490 /* ~You... you poor soul... I'm sorry... but I think we should bury Gorion, <CHARNAME>.~ */
  IF ~~ THEN GOTO 335
END

IF ~~ THEN BEGIN 264 // from: 260.3 260.2 260.0 258.3 258.2 258.0
  SAY #100491 /* ~Heh. Well, say what you want. I am Imoen the Magnificent.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 265 // from: 260.1 258.1
  SAY #100492 /* ~*sweatdrop* Um, well, I gotta go... somewhere. See ya!~ */
  IF ~~ THEN DO ~SetGlobal("X#IMORUN","GLOBAL",1)
ActionOverride("imoen",JumpToPoint([3498.3684]))
MoveViewPoint([3498.3684],INSTANT)
~ EXIT
END

IF WEIGHT #28 /* Triggers after states #: 270 300 319 324 506 even though they appear after this state */
~  Global("X#IMORUN","GLOBAL",2)
~ THEN BEGIN 266 // from:
  SAY #100493 /* ~*panting* 'Kay, you... win... for... now... But... see...now... you... don't... so... depressed... You... should... be... thanking... me...~ */
  IF ~~ THEN DO ~SetGlobal("X#IMORUN","GLOBAL",3)
~ EXIT
END

IF ~~ THEN BEGIN 267 // from: 261.0
  SAY #100494 /* ~Well, you can keep on wonderin', cause Imoen the Magnificent never reveals her secrets, unless there's something in it for her. And then she doesn't reveal ALL of her secrets.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 268 // from: 261.2 261.1
  SAY #100495 /* ~*sweatdrop* Y'know that was all kids' stuff, don'tcha? You wouldn't hold a grudge against me this long?~ */
  IF ~~ THEN REPLY #100496 /* ~No, but don't think you can get away with the stuff you do now so easily.~ */ EXIT
  IF ~  !Alignment(Player1,LAWFUL_GOOD)
~ THEN REPLY #100497 /* ~Perhaps. We'll see. It depends on how good of a helper you are.~ */ GOTO 269
END

IF ~~ THEN BEGIN 269 // from: 268.1
  SAY #100498 /* ~Uhm... I don't like that term, 'helper'...~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #6 /* Triggers after states #: 506 even though they appear after this state */
~  Global("X#IMGBodyFinal","GLOBAL",1)
~ THEN BEGIN 270 // from:
  SAY #100499 /* ~Is that... Is that the letter Gorion was carrying?~ */
  IF ~~ THEN REPLY #100434 /* ~Yes. He died saving me from some... thing.~ */ DO ~SetGlobal("X#IMGBodyFinal","GLOBAL",2)
SetGlobal("X#KeepBuryGorion","GLOBAL",2)
SetGlobal("X#PCBuryGorion","GLOBAL",2)
~ GOTO 272
  IF ~~ THEN REPLY #100500 /* ~Yes, it was on Gorion's body. He died while protecting me from an attack.~ */ DO ~SetGlobal("X#IMGBodyFinal","GLOBAL",2)
SetGlobal("X#KeepBuryGorion","GLOBAL",2)
SetGlobal("X#PCBuryGorion","GLOBAL",2)
~ GOTO 272
  IF ~~ THEN REPLY #100501 /* ~Right. The *great* mage Gorion! Could not even stand his ground against a couple of ogres and a scare-crow!~ */ DO ~SetGlobal("X#IMGBodyFinal","GLOBAL",2)
SetGlobal("X#KeepBuryGorion","GLOBAL",2)
SetGlobal("X#PCBuryGorion","GLOBAL",2)
~ GOTO 271
END

IF ~~ THEN BEGIN 271 // from: 270.2
  SAY #100437 /* ~Hey! You were hiding yer butt under a bush while he was fighting all these monsters, weren't ya?~ */
  IF ~~ THEN GOTO 272
END

IF ~~ THEN BEGIN 272 // from: 271.0 270.1 270.0
  SAY #100502 /* ~Don'tcha even know what attacked you?~ */
  IF ~~ THEN REPLY #100439 /* ~I was scared out of my wits! What do you expect?~ */ GOTO 273
  IF ~~ THEN REPLY #100440 /* ~It was too dark to see much, but it was humanoid, although I couldn't see a face. His eyes glowed, though... like hells' fire! And he would have gone straight for me if Gorion, gods rest his soul, had not barred his way!~ */ GOTO 274
  IF ~~ THEN REPLY #100441 /* ~I can't remember much about last night... or... much about the attacker. But I do remember that he... that it spoke.~ */ GOTO 275
  IF ~~ THEN REPLY #100442 /* ~Ogres, some girl with a mace, and a huge man in spiked armour. I did not stick around long enough to take a closer look, you know. With Gorion shouting at me to run, that man demanding my head and all...~ */ GOTO 274
END

IF ~~ THEN BEGIN 273 // from: 272.0
  SAY #100443 /* ~Really? I'm glad I wasn't right there. I've seen you get surprised and jump before, but never ever afraid. I-I don't even want to think 'bout what could scare you.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 274 // from: 272.3 272.1
  SAY #100444 /* ~I see. Hmm... so he wasn't after Gorion, but you.~ */
  IF ~~ THEN GOTO 276
END

IF ~~ THEN BEGIN 275 // from: 272.2
  SAY #100445 /* ~So ya remember what it said?~ */
  IF ~~ THEN REPLY #100446 /* ~Not really, just that it wanted to kill me.~ */ GOTO 278
  IF ~~ THEN REPLY #100447 /* ~Well, it did not say much... besides, obviously, wanting my corpse to be where Gorion's is now, or at least alongside it, it mentioned it had been looking for me.~ */ GOTO 280
END

IF ~~ THEN BEGIN 276 // from: 274.0
  SAY #100448 /* ~I don't like this, <CHARNAME>, don't like it at all.~ */
  IF ~~ THEN REPLY #100449 /* ~I don't either, but I have to find out what's going on, and why I was attacked. I don't want to drag you into this, though, Imoen.~ */ GOTO 282
  IF ~~ THEN REPLY #100503 /* ~I don't, either, but what's done is done. Gorion's spirit won't come back now. I doubt even a High Cleric of Helm could restore him to life. No, we'd best move on now, Imoen.~ */ GOTO 284
  IF ~~ THEN REPLY #100451 /* ~I didn't want Gorion to die, but I will avenge him, Imoen. Just you wait.~ */ GOTO 284
  IF ~~ THEN REPLY #100452 /* ~Heh, things are just starting to get interesting. Don't get me wrong, I wish Gorion were here, but this is how great adventures start, Imoen!~ */ GOTO 284
  IF ~~ THEN REPLY #100453 /* ~Have I asked your opinion, brat?~ */ GOTO 277
END

IF ~~ THEN BEGIN 277 // from: 276.4
  SAY #100454 /* ~Nope, 'cause you're so stupid!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 278 // from: 275.0
  SAY #100455 /* ~That seemed obvious, from what you've said earlier.~ */
  IF ~~ THEN GOTO 279
END

IF ~~ THEN BEGIN 279 // from: 278.0
  SAY #100456 /* ~*shrugging her shoulders and grinning* Well, we'll just have ta deal with 'em when it they come again, but this time, it'll be their bodies rottin' in the sun.~ */
  IF ~~ THEN GOTO 284
END

IF ~~ THEN BEGIN 280 // from: 275.1
  SAY #100457 /* ~Well, aren't ya the popular one?~ */
  IF ~~ THEN GOTO 281
END

IF ~~ THEN BEGIN 281 // from: 280.0
  SAY #100458 /* ~Sorry, just tryin' to liven things up here. Anyways, if that thing was lookin' for ya, it'll come for ya 'gain. Don'tcha worry, though! This time, with Imoen the Magnificent at your side, you can't lose!~ */
  IF ~~ THEN REPLY #100459 /* ~Heh. Thanks, Imoen.~ */ GOTO 284
  IF ~~ THEN REPLY #100460 /* ~Imoen the *Mag*nificent?~ */ GOTO 285
  IF ~  Class(Player1,THIEF_ALL)
~ THEN REPLY #100461 /* ~Magnificent? You're okay, but I wouldn't go that far.~ */ GOTO 290
  IF ~  !Class(Player1,THIEF_ALL)
Gender(Player1,MALE)
~ THEN REPLY #100461 /* ~Magnificent? You're okay, but I wouldn't go that far.~ */ GOTO 288
  IF ~  !Class(Player1,THIEF_ALL)
Gender(Player1,FEMALE)
~ THEN REPLY #100461 /* ~Magnificent? You're okay, but I wouldn't go that far.~ */ GOTO 286
END

IF ~~ THEN BEGIN 282 // from: 276.0
  SAY #100463 /* ~Leave? And if I did, who would keep ya entertained? Who would keep your spirits lifted in the darkest hour? And who would keep up the practical jokes?~ */
  IF ~~ THEN GOTO 283
END

IF ~~ THEN BEGIN 283 // from: 282.0
  SAY #100464 /* ~Leave! Hah! You'll have ta force me ta leave ya now!~ */
  IF ~~ THEN GOTO 284
END

IF ~~ THEN BEGIN 284 // from: 285.0 283.0 281.0 279.0 276.3 276.2 276.1
  SAY #100504 /* ~Right... well, I wish that we had been able to be at Gorion's funeral, <CHARNAME>.~ */
  IF ~~ THEN REPLY #100505 /* ~I do too, Imoen. But all great adventures start off after losing someone you cared for.~ */ GOTO 291
  IF ~~ THEN REPLY #100506 /* ~Yes, you are right, Imoen. Let us say a prayer for Gorion.~ */ GOTO 293
  IF ~~ THEN REPLY #100475 /* ~*Suddenly you cannot speak, tears welling in your eyes. You nod your agreement.*~ */ GOTO 292
  IF ~~ THEN REPLY #100507 /* ~Imoen, it's just a body. Nature and the Gods take all things in time. Let's move on.~ */ EXIT
  IF ~~ THEN REPLY #100508 /* ~I would wish that, but I am too afraid to stay close to Candlekeep for long. The man in black and his cohorts may well return searching for me. Let's move on.~ */ EXIT
END

IF ~~ THEN BEGIN 285 // from: 281.1
  SAY #100476 /* ~'Course! It's the perfect name for me, someone who has so many talents!~ */
  IF ~~ THEN REPLY #100509 /* ~Well, let's be off then. It just wouldn't do to have this magnificent talent of yours wasted, right? ~ */ GOTO 284
END

IF ~~ THEN BEGIN 286 // from: 281.4
  SAY #100478 /* ~OKAY!? Perhaps ya don't remember how many times they showed ya the evidence for a prank you never committed, or the times your possessions would go missing only to be found somewhere else in your room, or the time your dress turned transparent in the middle of the town square? I'm sure the guards at Candlekeep could remember that last one. Prolly even some of them crusty ole scholars, as well. That took lots of planning, strategy and finesse...~ */
  IF ~~ THEN GOTO 287
END

IF ~~ THEN BEGIN 287 // from: 286.0
  SAY #100479 /* ~*giggling* Just thinking of that...~ */
  IF ~~ THEN REPLY #100480 /* ~*blushing* I-I don't know what you're talking about. It must have been someone else...~ */ GOTO 294
  IF ~~ THEN REPLY #100481 /* ~*fuming red-angry* THAT WAS YOU!? COME HERE, BEFORE YOU REGRET IT.~ */ GOTO 295
  IF ~~ THEN REPLY #100482 /* ~So, you pulled a few on me when we were young. Big stinking deal. We are grown-ups now, Imoen, and we have to commit *real* deeds to call ourselves Magnificent.~ */ GOTO 294
  IF ~~ THEN REPLY #100483 /* ~And what about that time when all the forks in Mr. Winthrop's inn went missing, and everyone thought it was your fault? And that favorite book of yours, which you could not open no matter how you tried? Or the carpet that rolled itself up every time you tried to hit it with your beater? Ha! I got you a couple of times, too!~ */ GOTO 294
END

IF ~~ THEN BEGIN 288 // from: 281.3
  SAY #100484 /* ~OKAY!? Perhaps ya don't remember how many times they showed ya the evidence for a prank you never committed, or the times your possessions would go missing only to be found somewhere else in your room, or the time you dropped your trousers in the middle of the town square? I'm sure almost everyone remembers that. The guards got a good laugh, as did many of those... er... younger-than-one-hundred-years-old-last-supper girls! Even that one you sorta had a crush on... um... what's her name? Ah, doesn't matter.~ */
  IF ~~ THEN GOTO 289
END

IF ~~ THEN BEGIN 289 // from: 288.0
  SAY #100479 /* ~*giggling* Just thinking of that...~ */
  IF ~~ THEN REPLY #100480 /* ~*blushing* I-I don't know what you're talking about. It must have been someone else...~ */ GOTO 294
  IF ~~ THEN REPLY #100481 /* ~*fuming red-angry* THAT WAS YOU!? COME HERE, BEFORE YOU REGRET IT.~ */ GOTO 295
  IF ~~ THEN REPLY #100482 /* ~So, you pulled a few on me when we were young. Big stinking deal. We are grown-ups now, Imoen, and we have to commit *real* deeds to call ourselves Magnificent.~ */ GOTO 294
  IF ~~ THEN REPLY #100483 /* ~And what about that time when all the forks in Mr. Winthrop's inn went missing, and everyone thought it was your fault? And that favorite book of yours, which you could not open no matter how you tried? Or the carpet that rolled itself up every time you tried to hit it with your beater? Ha! I got you a couple of times, too!~ */ GOTO 294
END

IF ~~ THEN BEGIN 290 // from: 281.2
  SAY #100485 /* ~*glare* OKAY!? Listen, I know you were always trying to best me, y'know, but you know why you were always the one blamed, and never me? Why you were the one stuck doing all those extra chores, and not me? Well, do ya?~ */
  IF ~~ THEN REPLY #100486 /* ~I did kind of wonder.~ */ GOTO 297
  IF ~~ THEN REPLY #100487 /* ~Doesn't matter anymore. 'Sides now we're out here, and there's no one else to go to...~ */ GOTO 298
  IF ~~ THEN REPLY #100488 /* ~It's not exactly true, Imoen. What about that time when all the forks in Mr. Winthrop's inn went missing, and everyone thought it was your fault? And that favorite book of yours, which you could not open no matter how you tried? Or the carpet that rolled itself up every time you tried to hit it with your beater? Ha! I got you a couple of times too! But... we're not in Candlekeep anymore, Imoen. There's no one else here to go to... so let us not waste our time with silly contests.~ */ GOTO 298
END

IF ~~ THEN BEGIN 291 // from: 284.0
  SAY #100489 /* ~*rolls eyes* Whatever...~ */
  IF ~~ THEN GOTO 293
END

IF ~~ THEN BEGIN 292 // from: 284.2
  SAY #100510 /* ~You... you poor soul... I'm sorry, <CHARNAME>.~ */
  IF ~~ THEN GOTO 293
END

IF ~~ THEN BEGIN 293 // from: 292.0 291.0 284.1
  SAY #100511 /* ~C'mon, <CHARNAME>, let's get outta here.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 294 // from: 289.3 289.2 289.0 287.3 287.2 287.0
  SAY #100491 /* ~Heh. Well, say what you want. I am Imoen the Magnificent.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 295 // from: 289.1 287.1
  SAY #100492 /* ~*sweatdrop* Um, well, I gotta go... somewhere. See ya!~ */
  IF ~~ THEN DO ~SetGlobal("X#IMORUN","GLOBAL",1)
ActionOverride("imoen",JumpToPoint([3498.3684]))
MoveViewPoint([3498.3684],INSTANT)
~ EXIT
END

IF WEIGHT #29 /* Triggers after states #: 300 319 324 506 even though they appear after this state */
~  Global("X#IMORUN","GLOBAL",2)
~ THEN BEGIN 296 // from:
  SAY #100493 /* ~*panting* 'Kay, you... win... for... now... But... see...now... you... don't... so... depressed... You... should... be... thanking... me...~ */
  IF ~~ THEN DO ~SetGlobal("X#IMORUN","GLOBAL",3)
~ EXIT
END

IF ~~ THEN BEGIN 297 // from: 290.0
  SAY #100494 /* ~Well, you can keep on wonderin', cause Imoen the Magnificent never reveals her secrets, unless there's something in it for her. And then she doesn't reveal ALL of her secrets.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 298 // from: 290.2 290.1
  SAY #100495 /* ~*sweatdrop* Y'know that was all kids' stuff, don'tcha? You wouldn't hold a grudge against me this long?~ */
  IF ~~ THEN REPLY #100496 /* ~No, but don't think you can get away with the stuff you do now so easily.~ */ EXIT
  IF ~  !Alignment(Player1,LAWFUL_GOOD)
~ THEN REPLY #100497 /* ~Perhaps. We'll see. It depends on how good of a helper you are.~ */ GOTO 299
END

IF ~~ THEN BEGIN 299 // from: 298.1
  SAY #100498 /* ~Uhm... I don't like that term, 'helper'...~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #7 /* Triggers after states #: 506 even though they appear after this state */
~  Global("X#IMNeira","GLOBAL",1)
~ THEN BEGIN 300 // from:
  SAY #100512 /* ~Wh-who was that?~ */
  IF ~~ THEN REPLY #100513 /* ~Another assassin. Not the same one who killed Gorion, though. If it were, we'd not be standing here right now.~ */ DO ~SetGlobal("X#IMNeira","GLOBAL",2)
~ GOTO 337
  IF ~  !Dead("Karlat")
!Dead("tarnesh")
~ THEN REPLY #100514 /* ~Another assassin. This is the fourth. I met with two before leaving Candlekeep. One right after leaving Candlekeep. And now this...~ */ DO ~SetGlobal("X#IMNeira","GLOBAL",2)
~ GOTO 301
  IF ~  Dead("Karlat")
!Dead("tarnesh")
~ THEN REPLY #100515 /* ~Another assassin. This is the fifth. I met with two before leaving Candlekeep. One right after leaving Candlekeep. And that dwarf in the Red Sheaf...~ */ DO ~SetGlobal("X#IMNeira","GLOBAL",2)
~ GOTO 301
  IF ~  !Dead("Karlat")
Dead("tarnesh")
~ THEN REPLY #100516 /* ~Another assassin. This is the fifth. I met with two before leaving Candlekeep. One right after leaving Candlekeep. And that mage on the doorstep of the Friendly Arm Inn...~ */ DO ~SetGlobal("X#IMNeira","GLOBAL",2)
~ GOTO 301
  IF ~  Dead("karlat")
Dead("tarnesh")
~ THEN REPLY #100517 /* ~Another assassin. This is the sixth. I met with two before leaving Candlekeep. One right after leaving Candlekeep. And that mage on the doorstep of the Friendly Arm Inn... And the dwarf in the 'Red Sheaf'.~ */ DO ~SetGlobal("X#IMNeira","GLOBAL",2)
~ GOTO 301
END

IF ~~ THEN BEGIN 301 // from: 300.4 300.3 300.2 300.1
  SAY #100518 /* ~You mean, even inside the walls of Candlekeep you were attacked!? Why didn't ya tell me this before you left?~ */
  IF ~~ THEN REPLY #100519 /* ~I didn't want to worry you and have you tag along with me, like you're doing right now.~ */ GOTO 303
  IF ~  Gender(Player1,MALE)
~ THEN REPLY #100520 /* ~I tried to, but you said you were too busy.~ */ GOTO 305
  IF ~  Gender(Player1,FEMALE)
~ THEN REPLY #100520 /* ~I tried to, but you said you were too busy.~ */ GOTO 304
END

IF ~~ THEN BEGIN 302 // from: _KHALIJ:25.1 _JAHEIJ:164.1 337.1
  SAY #100521 /* ~What do you mean... disturbing?~ */
  IF ~~ THEN REPLY #100522 /* ~Disturbing means disturbing. Let's just get moving...~ */ GOTO 306
  IF ~~ THEN REPLY #100523 /* ~Think about it for a second. Whoever it was knew to attack me when we left Candlekeep, as if they were expecting me to flee. Next, whoever it was knew I was heading for the Friendly Arm Inn, and placed an ambush at the inn's doorway. Now this. Gorion made sure no one else knew about the Friendly Arm Inn, and no one here had any idea that we'd be heading to Nashkel. Yet another assassin waits here...~ */ GOTO 307
END

IF ~~ THEN BEGIN 303 // from: 301.0
  SAY #100524 /* ~Heh, yup. I'm stuck to ya like brick and mortar! Well, 'nough chattin' here, let's go get a room so that I can get a nice warm bath.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 304 // from: 301.2
  SAY #100525 /* ~Pfft! And you let that stop you! You really need to get a backbone, girl! If you can't stand up to me, how you expect to stand up to your husband?~ */
  IF ~~ THEN REPLY #100526 /* ~Whatever. Let's go.~ */ EXIT
  IF ~~ THEN REPLY #100527 /* ~Husband? What brought this on?~ */ GOTO 310
  IF ~~ THEN REPLY #100528 /* ~Husband, huh? I could say the same thing about you, Imoen.~ */ GOTO 310
END

IF ~~ THEN BEGIN 305 // from: 301.1
  SAY #100529 /* ~Pfft! And you let that stop you! You really need to get a backbone if you expect to get a wife one day, at least if ya don't want her ta keep ya under her thumb!~ */
  IF ~~ THEN REPLY #100526 /* ~Whatever. Let's go.~ */ EXIT
  IF ~~ THEN REPLY #100530 /* ~Wife, huh? Don't worry, I got plenty of that backbone thing.~ */ GOTO 311
  IF ~~ THEN REPLY #100531 /* ~I don't have to worry about that. The person I'd want for a wife is right in front of me.~ */ GOTO 312
END

IF ~~ THEN BEGIN 306 // from: 302.0
  SAY #100532 /* ~Hmph. Alright, but you better explain it to me later.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 307 // from: 302.1
  SAY #100533 /* ~I see...~ */
  IF ~~ THEN REPLY #100534 /* ~But that's not all. Why wouldn't that armoured man come in person again? Why send lowly assassins, when he was willing to come himself for the first time? What made it different enough to warrant sending imbeciles?~ */ GOTO 308
  IF ~~ THEN REPLY #100535 /* ~Alright, standing here does not help any. Let's go.~ */ EXIT
  IF ~~ THEN REPLY #100536 /* ~It just doesn't make sense, unless... no... dammit! I can't figure it out!~ */ EXIT
END

IF ~~ THEN BEGIN 308 // from: 307.0
  SAY #100537 /* ~I-I don't know... Anyways, this is giving me a headache trying to figure this out. I'll let you do all the complex thinking in that regard.~ */
  IF ~  OR(2)
CheckStatGT(Player1,12,INT)
CheckStatGT(Player1,12,WIS)
~ THEN REPLY #100538 /* ~You know the answer, Imoen. As well as I do. Assassins were waiting for us and were of small caliber, because they are *everywhere*. They chose quantity over quality, betting that someone, somewhere is bound to catch me unawares. So, no matter where we should go...~ */ GOTO 309
  IF ~~ THEN REPLY #100539 /* ~Well, lucky you!~ */ EXIT
END

IF ~~ THEN BEGIN 309 // from: 308.0
  SAY #100540 /* ~Stop it! You're scaring me!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 310 // from: 304.2 304.1
  SAY #100541 /* ~Heh, don't worry, I'm pushy enough as it is.~ */
  IF ~~ THEN REPLY #100542 /* ~You can say that again.~ */ GOTO 313
  IF ~~ THEN REPLY #100543 /* ~*walk away*~ */ EXIT
END

IF ~~ THEN BEGIN 311 // from: 305.1
  SAY #100544 /* ~Maybe when you're fightin' off beasts and whatnot, but not when it comes to women.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 312 // from: 305.2
  SAY #100545 /* ~*looks around innocently* Huh? I don't see any other girls close enough... wait, you're not talking 'bout me, are you?!~ */
  IF ~~ THEN REPLY #100546 /* ~Heh, just yanking your chain!~ */ GOTO 314
  IF ~~ THEN REPLY #100547 /* ~So, you do not see anyone else? Neither do I...~ */ GOTO 316
END

IF ~~ THEN BEGIN 313 // from: 310.0
  SAY #100548 /* ~Did you say something?~ */
  IF ~~ THEN REPLY #100549 /* ~Uh, yeah. We should go.~ */ GOTO 318
  IF ~~ THEN REPLY #100550 /* ~Uh, nope, not a thing.~ */ GOTO 318
END

IF ~~ THEN BEGIN 314 // from: 312.0
  SAY #100551 /* ~Here's for you being a jerk! *kicks <CHARNAME>*~ */
  IF ~~ THEN REPLY #100552 /* ~Ouch! My grievous wounds!~ */ GOTO 315
END

IF ~~ THEN BEGIN 315 // from: 314.0
  SAY #100553 /* ~Then, maybe, you shouldn't be standing around making jokes. Stupid jokes!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 316 // from: 312.1
  SAY #100554 /* ~Oh, I see an elven beauty, her hair like spun gold, and her eyes greener than emeralds. The sort all ya males drool after. *kicks <CHARNAME>*~ */
  IF ~~ THEN REPLY #100552 /* ~Ouch! My grievous wounds!~ */ GOTO 317
END

IF ~~ THEN BEGIN 317 // from: 316.0
  SAY #100555 /* ~Then maybe you shouldn't be gawking and making jokes. C'mon, lover-boy. *sticks her tongue out*~ */
  IF ~~ THEN DO ~IncrementGlobal("X#ImoenLove","GLOBAL",1)
~ EXIT
END

IF ~~ THEN BEGIN 318 // from: 313.1 313.0
  SAY #40502 /* ~Hmph!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #8 /* Triggers after states #: 506 even though they appear after this state */
~  Global("X#IMinCK","GLOBAL",1)
AreaCheck("FW2616")
~ THEN BEGIN 319 // from:
  SAY #100556 /* ~Candlekeep... never thought I'd be back here again, and especially this early on. Brings back all sorts of memories, doesn't it?~ */
  IF ~~ THEN REPLY #100557 /* ~Yes, it does.~ */ DO ~SetGlobal("X#IMinCK","GLOBAL",2)
~ GOTO 320
  IF ~~ THEN REPLY #100558 /* ~Yes, like the time you pilfered that pie from Mr. Winthrop and gave it to me half-eaten, just before he arrived to yell at me.~ */ DO ~SetGlobal("X#IMinCK","GLOBAL",2)
~ GOTO 321
  IF ~~ THEN REPLY #100559 /* ~Yeah, but I'd rather not talk about them.~ */ DO ~SetGlobal("X#IMinCK","GLOBAL",2)
~ GOTO 322
  IF ~~ THEN REPLY #100560 /* ~No time for reminiscing. We've got work to do.~ */ DO ~SetGlobal("X#IMinCK","GLOBAL",2)
~ GOTO 323
END

IF ~~ THEN BEGIN 320 // from: 319.0
  SAY #100561 /* ~Yep. Why, there's Hull! Let's go say hi to him!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 321 // from: 319.1
  SAY #100562 /* ~Hey, I was just trying to share. How was I supposed to know Mr. Winthrop was coming by just then? Hmm?~ */
  IF ~~ THEN REPLY #100563 /* ~You always know.~ */ EXIT
  IF ~~ THEN REPLY #100564 /* ~It doesn't matter. I still got chewed out.~ */ EXIT
  IF ~~ THEN REPLY #100565 /* ~Oh, let’s just drop it. I don't feel like arguing today.~ */ EXIT
END

IF ~~ THEN BEGIN 322 // from: 319.2
  SAY #100566 /* ~Still remembering that incident, huh? Can't blame you, though. I'd be remembering it, too.~ */
  IF ~~ THEN REPLY #100567 /* ~Even though it wasn't in Candlekeep proper, it was the last memory I had about it, and it had a horrible outcome.~ */ EXIT
END

IF ~~ THEN BEGIN 323 // from: 319.3
  SAY #100568 /* ~Hells. You're really tight-mouthed today. I mean, it's not everyday we come back to our hometown, y'know.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #9 /* Triggers after states #: 506 even though they appear after this state */
~  Global("X#IMMALAR","GLOBAL",1)
~ THEN BEGIN 324 // from:
  SAY #100569 /* ~Who is this Malar that guy was talkin' 'bout?~ */
  IF ~  CheckStatGT(Player1,7,INT)
~ THEN REPLY #100570 /* ~Doesn't really matter. I don't really feel like explaining it, either.~ */ DO ~SetGlobal("X#IMMALAR","GLOBAL",2)
~ GOTO 325
  IF ~  CheckStatLT(Player1,8,INT)
~ THEN REPLY #100571 /* ~I don't know, either.~ */ DO ~SetGlobal("X#IMMALAR","GLOBAL",2)
~ GOTO 326
  IF ~  CheckStatGT(Player1,12,INT)
~ THEN REPLY #100572 /* ~Don't you know anything, Imoen? Malar is one of the gods of this world.~ */ DO ~SetGlobal("X#IMMALAR","GLOBAL",2)
~ GOTO 327
  IF ~~ THEN REPLY #100573 /* ~*roll your eyes and do not reply*~ */ DO ~SetGlobal("X#IMMALAR","GLOBAL",2)
~ GOTO 326
END

IF ~~ THEN BEGIN 325 // from: 324.0
  SAY #100574 /* ~Yeah, right. I'm sure you don't know, either.~ */
  IF ~  CheckStatGT(Player1,12,INT)
~ THEN REPLY #100575 /* ~I do too! Malar is one of the gods.~ */ GOTO 327
  IF ~  CheckStatLT(Player1,13,INT)
~ THEN REPLY #100576 /* ~Well, yeah. I don't know, either.~ */ GOTO 326
  IF ~~ THEN REPLY #100573 /* ~*roll your eyes and do not reply*~ */ GOTO 326
END

IF ~~ THEN BEGIN 326 // from: 325.2 325.1 324.3 324.1
  SAY #100577 /* ~Heh. Well, at least you admit your incompetence, so I won't hold it over you this time.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 327 // from: 325.0 324.2
  SAY #100578 /* ~Um... yeah... yes, I knew that. I was, um, just testin' ya. That's all.~ */
  IF ~~ THEN REPLY #99142 /* ~Whatever...~ */ GOTO 328
  IF ~~ THEN REPLY #100579 /* ~Okay, then, can you tell me what Malar is known as, at least? Hmm? Surely that isn't too hard?~ */ GOTO 329
  IF ~~ THEN REPLY #100580 /* ~Listen, Imoen, you may know many practical things, but I remember that you did not study too hard back in Candlekeep. I'll explain about Malar, if you want.~ */ GOTO 330
END

IF ~~ THEN BEGIN 328 // from: 329.1 327.0
  SAY #100581 /* ~Hey! What's that supposed to mean? Oh, let's just forget it!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 329 // from: 327.1
  SAY #100582 /* ~Um, well, y'know, that um, one guy...~ */
  IF ~~ THEN REPLY #100583 /* ~Yeah. Why don't you just admit you're wrong, and I'll explain about him.~ */ GOTO 330
  IF ~~ THEN REPLY #100584 /* ~Thought so.~ */ GOTO 328
END

IF ~~ THEN BEGIN 330 // from: 329.0 327.2
  SAY #100585 /* ~*sigh* Yeah. You're right. I was just bluffing. I never could keep my eyes open to read those books or listen to those discussions.~ */
  IF ~~ THEN REPLY #100586 /* ~So do you want me to explain who he is?~ */ GOTO 331
END

IF ~~ THEN BEGIN 331 // from: 330.0
  SAY #100587 /* ~Yeah if it's not too long. I don't want ya to go into some long history y'know, like those old windbags. Yer my friend and all, but I have my limits.~ */
  IF ~  CheckStatLT(Player1,17,INT)
~ THEN REPLY #100588 /* ~Okay then, I'll start.~ */ EXTERN ~PLAYER1~ 55
  IF ~  CheckStatGT(Player1,16,INT)
~ THEN REPLY #100588 /* ~Okay then, I'll start.~ */ EXTERN ~PLAYER1~ 57
  IF ~~ THEN REPLY #100589 /* ~Never mind, then. I don't think I can do it without boring you.~ */ EXIT
END

IF ~~ THEN BEGIN 332 // from:
  SAY #100592 /* ~Wow. I bet.~ */
  IF ~~ THEN GOTO 333
END

IF ~~ THEN BEGIN 333 // from: 332.0
  SAY #100593 /* ~Thanks. None of those crusty old fossils were able to explain it quite so easily as you did.~ */
  IF ~~ THEN DO ~ActionOverride(Player1,SetDialogue(""))
~ EXIT
END

IF ~~ THEN BEGIN 334 // from:
  SAY #100599 /* ~*yawn* Yeah. That was kinda long and boring. Well, at least, you stopped before I fell asleep, so yer not quite as bad as those teachers, but still...~ */
  IF ~~ THEN DO ~ActionOverride(Player1,SetDialogue(""))
~ EXIT
END

IF ~~ THEN BEGIN 335 // from: 263.0 262.0 254.1 253.0 251.0 250.0
  SAY #100600 /* ~Well, why are we standin' about? Let's just... dig. Maybe one day we can return and add a small gravestone or somethin'...~ */
  IF ~~ THEN GOTO 336
  IF ~  InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BMONTA~ 260
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BXZAR~ 273
  IF ~  InParty("kagain")
InMyArea("kagain")
!StateCheck("kagain",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BKAGAI~ 269
  IF ~  InParty("yeslick")
InMyArea("yeslick")
!StateCheck("yeslick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BYESLI~ 251
  IF ~  InParty("xan")
InMyArea("xan")
!StateCheck("xan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_XANJ~ 161
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BMINSC~ 349
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BDYNAH~ 280
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BGARRI~ 287
  IF ~  InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BKHALI~ 271
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BJAHEI~ 300
END

IF ~~ THEN BEGIN 336 // from: 335.0
  SAY #100611 /* ~I don't want to have to bury someone ever again. Don't you go and die on me now, <CHARNAME>. I-I don't think I could handle it if I had to bury you, as well.~ */
  IF ~~ THEN REPLY #100612 /* ~Don't worry, Imoen, I won't. Let's go now, and let Gorion rest in peace.~ */ DO ~SetGlobal("X#PCBuryGorion","GLOBAL",1)
~ EXIT
  IF ~~ THEN REPLY #100613 /* ~As long as you promise I won't have to bury you, either.~ */ DO ~SetGlobal("X#PCBuryGorion","GLOBAL",1)
~ EXIT
END

IF ~~ THEN BEGIN 337 // from: 300.0
  SAY #100614 /* ~Another one!? I knew she was after you once she attacked, but this... this is just too much for me. I mean, I don't like this, not at all. First you get attacked in front of Candlekeep by some blazing maniac out for your blood, and Gorion dies. Then 'gain outside the Friendly Arm Inn, even before we met up with Jaheira and Khalid! Now here, as well! You got attacked and almost died on the doorstep of yet another inn! This is just too much!~ */
  IF ~~ THEN REPLY #100617 /* ~Yes, I know it's difficult, and yes, I'm grateful for your help. As long as we stick together, no assassins will be able to defeat us...~ */ GOTO 338
  IF ~~ THEN REPLY #100618 /* ~This is disturbing. They knew I would be coming here... most disturbing, indeed.~ */ GOTO 302
  IF ~  InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 164
  IF ~  InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 25
END

IF ~~ THEN BEGIN 338 // from: _KHALIJ:25.0 _JAHEIJ:164.0 337.0
  SAY #100619 /* ~Yeah! That's right! We're an unstoppable team!~ */
  IF ~~ THEN GOTO 341
  IF ~  InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 340
  IF ~  InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 165
  IF ~  InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 339
END

IF ~~ THEN BEGIN 339 // from: 338.3
  SAY #100620 /* ~Yup! Together with myself as the main support, and Auntie Jaheira and Uncle Khalid, villains don't stand a chance.~ */
  IF ~~ THEN GOTO 341
  IF ~  InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN GOTO 340
  IF ~  InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 165
END

IF ~~ THEN BEGIN 340 // from: _JAHEIJ:165.1 339.1 338.1
  SAY #100622 /* ~Okies, Auntie Jaheira.~ */
  IF ~~ THEN GOTO 341
END

IF ~~ THEN BEGIN 341 // from: _JAHEIJ:165.0 340.0 339.0 338.0
  SAY #100623 /* ~C'mon, quit standin' there, like you're waiting for another assassin to come get you!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 342 // from:
  SAY #100664 /* ~Heya! <CHARNAME> is not the only cute thief in this party, thank ya very much!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 6
END

IF ~~ THEN BEGIN 343 // from:
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 20
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 49
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 245
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 48
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 244
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 19
END

IF ~~ THEN BEGIN 344 // from:
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 23
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 51
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 247
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 50
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 246
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 22
END

IF ~~ THEN BEGIN 345 // from:
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 26
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 53
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 249
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 52
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 248
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 25
END

IF ~~ THEN BEGIN 346 // from:
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 29
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 55
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 251
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 54
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 250
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 28
END

IF ~~ THEN BEGIN 347 // from:
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 33
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 57
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 253
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 56
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 252
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 32
END

IF ~~ THEN BEGIN 348 // from:
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 37
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 59
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 255
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 58
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 254
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 36
END

IF ~~ THEN BEGIN 349 // from: _GARRIJ:142.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 41
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 61
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 257
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 60
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 256
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 40
END

IF ~~ THEN BEGIN 350 // from: _GARRIJ:143.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 46
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 63
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 259
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 62
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 258
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 45
END

IF ~~ THEN BEGIN 351 // from: _GARRIJ:144.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 51
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 65
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 261
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 64
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 260
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 50
END

IF ~~ THEN BEGIN 352 // from: _GARRIJ:145.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 57
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 67
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 263
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 66
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 262
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 56
END

IF ~~ THEN BEGIN 353 // from: _MINSCJ:107.6 _GARRIJ:146.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 63
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 69
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 265
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 68
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 264
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 62
END

IF ~~ THEN BEGIN 354 // from: _MINSCJ:108.6 _GARRIJ:147.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 69
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 71
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 267
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 70
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 266
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 68
END

IF ~~ THEN BEGIN 355 // from: _MINSCJ:110.6 _MINSCJ:109.6 _GARRIJ:148.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 75
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 73
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 269
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 72
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 268
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 74
END

IF ~~ THEN BEGIN 356 // from: _MINSCJ:112.6 _MINSCJ:111.6 _GARRIJ:149.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 82
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 75
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 271
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 74
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 270
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 81
END

IF ~~ THEN BEGIN 357 // from:
  SAY #103016 /* ~Stop encouraging him!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 89
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 77
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 273
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 76
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 272
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 88
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 358
  IF ~  InParty("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 87
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_CORANJ~ 244
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_ALORAJ~ 96
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 86
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_AJANTJ~ 207
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_GARRIJ~ 150
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_WILLIA~ 85
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_EDWINJ~ 107
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_WILLIA~ 84
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 114
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_DYNAHJ~ 135
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 113
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 83
END

IF ~~ THEN BEGIN 358 // from: _MINSCJ:114.6 _MINSCJ:113.6 357.6 _GARRIJ:150.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 89
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 77
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 273
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 76
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 272
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 88
END

IF ~~ THEN BEGIN 359 // from:
  SAY #103016 /* ~Stop encouraging him!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 96
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 79
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 275
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 78
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 274
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 95
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 360
  IF ~  InParty("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 94
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_CORANJ~ 245
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_ALORAJ~ 97
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 93
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_AJANTJ~ 208
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_GARRIJ~ 151
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_WILLIA~ 92
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_EDWINJ~ 108
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_WILLIA~ 91
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 116
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_DYNAHJ~ 136
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 115
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 90
END

IF ~~ THEN BEGIN 360 // from: _MINSCJ:116.6 _MINSCJ:115.6 359.6 _GARRIJ:151.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 96
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 79
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 275
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 78
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 274
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 95
END

IF ~~ THEN BEGIN 361 // from:
  SAY #103016 /* ~Stop encouraging him!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 103
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 81
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 277
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 80
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 276
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 102
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 362
  IF ~  InParty("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 101
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_CORANJ~ 247
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_ALORAJ~ 98
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 100
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_AJANTJ~ 209
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_GARRIJ~ 152
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_WILLIA~ 99
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_EDWINJ~ 109
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_WILLIA~ 98
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 118
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_DYNAHJ~ 137
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 117
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 97
END

IF ~~ THEN BEGIN 362 // from: _MINSCJ:118.6 _MINSCJ:117.6 361.6 _GARRIJ:152.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 103
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 81
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 277
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 80
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 276
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 102
END

IF ~~ THEN BEGIN 363 // from: _MINSCJ:119.20
  SAY #103016 /* ~Stop encouraging him!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 110
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 83
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 279
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 82
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 278
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 109
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 364
  IF ~  InParty("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 108
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_CORANJ~ 249
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_ALORAJ~ 99
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 107
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_AJANTJ~ 210
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_GARRIJ~ 153
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_WILLIA~ 106
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_EDWINJ~ 110
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_WILLIA~ 105
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 121
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_DYNAHJ~ 138
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 120
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 104
END

IF ~~ THEN BEGIN 364 // from: _MINSCJ:121.6 _MINSCJ:120.6 _MINSCJ:119.6 363.6 _GARRIJ:153.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 110
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 83
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 279
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 82
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 278
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 109
END

IF ~~ THEN BEGIN 365 // from: _MINSCJ:122.20
  SAY #103016 /* ~Stop encouraging him!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 118
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 85
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 281
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 84
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 280
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 117
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 366
  IF ~  InParty("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 116
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_CORANJ~ 251
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_ALORAJ~ 100
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 115
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_AJANTJ~ 211
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_GARRIJ~ 154
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_WILLIA~ 114
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_EDWINJ~ 111
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_WILLIA~ 113
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 124
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_DYNAHJ~ 139
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 123
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 112
END

IF ~~ THEN BEGIN 366 // from: _MINSCJ:124.6 _MINSCJ:123.6 _MINSCJ:122.6 365.6 _GARRIJ:154.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 118
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 85
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 281
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 84
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 280
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 117
END

IF ~~ THEN BEGIN 367 // from: _MINSCJ:125.20
  SAY #103016 /* ~Stop encouraging him!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 126
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 87
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 283
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 86
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 282
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 125
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 368
  IF ~  InParty("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 124
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_CORANJ~ 253
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_ALORAJ~ 101
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 123
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_AJANTJ~ 212
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_GARRIJ~ 155
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_WILLIA~ 122
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_EDWINJ~ 112
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_WILLIA~ 121
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 127
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_DYNAHJ~ 140
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 126
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 120
END

IF ~~ THEN BEGIN 368 // from: _MINSCJ:127.6 _MINSCJ:126.6 _MINSCJ:125.6 367.6 _GARRIJ:155.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 126
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 87
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 283
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 86
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 282
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 125
END

IF ~~ THEN BEGIN 369 // from: _MINSCJ:128.20
  SAY #103016 /* ~Stop encouraging him!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 135
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 89
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 285
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 88
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 284
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 134
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 370
  IF ~  InParty("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 133
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_CORANJ~ 255
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_ALORAJ~ 102
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 132
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_AJANTJ~ 213
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_GARRIJ~ 156
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_WILLIA~ 131
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_EDWINJ~ 113
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_WILLIA~ 130
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 130
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_DYNAHJ~ 141
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 129
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 129
END

IF ~~ THEN BEGIN 370 // from: _MINSCJ:130.6 _MINSCJ:129.6 _MINSCJ:128.6 369.6 _GARRIJ:156.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 135
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 89
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 285
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 88
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 284
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 134
END

IF ~~ THEN BEGIN 371 // from: _MINSCJ:131.20
  SAY #103016 /* ~Stop encouraging him!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 144
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 91
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 287
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 90
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 286
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 143
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 372
  IF ~  InParty("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 142
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_CORANJ~ 257
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_ALORAJ~ 103
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 141
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_AJANTJ~ 214
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_GARRIJ~ 157
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_WILLIA~ 140
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_EDWINJ~ 114
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_WILLIA~ 139
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 133
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_DYNAHJ~ 142
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 132
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 138
END

IF ~~ THEN BEGIN 372 // from: _MINSCJ:133.6 _MINSCJ:132.6 _MINSCJ:131.6 371.6 _GARRIJ:157.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 144
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 91
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 287
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 90
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 286
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 143
END

IF ~~ THEN BEGIN 373 // from: _MINSCJ:134.20
  SAY #103016 /* ~Stop encouraging him!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 154
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 93
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 289
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 92
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 288
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 153
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 374
  IF ~  InParty("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 152
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_CORANJ~ 259
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_ALORAJ~ 104
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 151
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_AJANTJ~ 215
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_GARRIJ~ 158
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_WILLIA~ 150
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_EDWINJ~ 115
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_WILLIA~ 149
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 136
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_DYNAHJ~ 143
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 135
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 148
END

IF ~~ THEN BEGIN 374 // from: _MINSCJ:136.6 _MINSCJ:135.6 _MINSCJ:134.6 373.6 _GARRIJ:158.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 154
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 93
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 289
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 92
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 288
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 153
END

IF ~~ THEN BEGIN 375 // from: _MINSCJ:137.20
  SAY #103016 /* ~Stop encouraging him!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 164
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 95
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 291
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 94
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 290
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 163
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 376
  IF ~  InParty("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 162
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_CORANJ~ 261
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_ALORAJ~ 105
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 161
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_AJANTJ~ 216
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_GARRIJ~ 159
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_WILLIA~ 160
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_EDWINJ~ 116
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_WILLIA~ 159
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 139
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_DYNAHJ~ 144
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 138
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 158
END

IF ~~ THEN BEGIN 376 // from: _MINSCJ:139.6 _MINSCJ:138.6 _MINSCJ:137.6 375.6 _GARRIJ:159.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 164
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 95
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 291
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 94
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 290
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 163
END

IF ~~ THEN BEGIN 377 // from: _MINSCJ:140.20
  SAY #103016 /* ~Stop encouraging him!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 175
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 97
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 293
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 96
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 292
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 174
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 378
  IF ~  InParty("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 173
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_CORANJ~ 263
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_ALORAJ~ 106
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 172
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_AJANTJ~ 217
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_GARRIJ~ 160
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_WILLIA~ 171
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_EDWINJ~ 117
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_WILLIA~ 170
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 142
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_DYNAHJ~ 145
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 141
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 169
END

IF ~~ THEN BEGIN 378 // from: _MINSCJ:142.6 _MINSCJ:141.6 _MINSCJ:140.6 377.6 _GARRIJ:160.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 175
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 97
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 293
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 96
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 292
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 174
END

IF ~~ THEN BEGIN 379 // from: _MINSCJ:143.20
  SAY #103016 /* ~Stop encouraging him!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 186
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 99
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 295
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 98
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 294
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 185
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 380
  IF ~  InParty("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 184
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_CORANJ~ 265
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_ALORAJ~ 107
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 183
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_AJANTJ~ 219
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_GARRIJ~ 161
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_WILLIA~ 182
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_EDWINJ~ 118
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_WILLIA~ 181
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 145
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_DYNAHJ~ 146
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 144
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 180
END

IF ~~ THEN BEGIN 380 // from: _MINSCJ:145.6 _MINSCJ:144.6 _MINSCJ:143.6 379.6 _GARRIJ:161.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 186
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 99
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 295
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 98
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 294
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 185
END

IF ~~ THEN BEGIN 381 // from: _MINSCJ:146.20
  SAY #103016 /* ~Stop encouraging him!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 197
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 101
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 297
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 100
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 296
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 196
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 382
  IF ~  InParty("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 195
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_CORANJ~ 267
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_ALORAJ~ 108
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 194
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_AJANTJ~ 222
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_GARRIJ~ 162
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_WILLIA~ 193
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_EDWINJ~ 119
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_WILLIA~ 192
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 148
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_DYNAHJ~ 147
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 147
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 191
END

IF ~~ THEN BEGIN 382 // from: _MINSCJ:148.6 _MINSCJ:147.6 _MINSCJ:146.6 381.6 _GARRIJ:162.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 197
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 101
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 297
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 100
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 296
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 196
END

IF ~~ THEN BEGIN 383 // from: _MINSCJ:149.20
  SAY #103016 /* ~Stop encouraging him!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 208
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 103
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 299
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 102
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 298
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 207
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 384
  IF ~  InParty("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 206
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_CORANJ~ 269
  IF ~  InParty("alora")
InMyArea("alora")
!StateCheck("alora",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_ALORAJ~ 109
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 205
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_AJANTJ~ 226
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_GARRIJ~ 163
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_WILLIA~ 204
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
Alignment(Player1,MASK_EVIL)
~ THEN EXTERN ~_EDWINJ~ 120
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_WILLIA~ 203
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 151
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_DYNAHJ~ 148
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,MALE)
~ THEN EXTERN ~_MINSCJ~ 150
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 202
END

IF ~~ THEN BEGIN 384 // from: _MINSCJ:151.6 _MINSCJ:150.6 _MINSCJ:149.6 383.6 _GARRIJ:163.6
  SAY #103030 /* ~Who did not see this one coming from a mile away? Now the boys'll be bantering for days... yup!~ */
  IF ~~ THEN EXTERN ~_WILLIA~ 208
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 103
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 299
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
InParty("khalid")
InMyArea("khalid")
!StateCheck("khalid",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KHALIJ~ 102
  IF ~  InParty("jaheira")
InMyArea("jaheira")
!StateCheck("jaheira",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIJ~ 298
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_WILLIA~ 207
END

IF ~~ THEN BEGIN 385 // from: _LAVLEAD:4.2
  SAY #103071 /* ~But uhm... they can use it, poor men. *sighs* You're a kind <PRO_MANWOMAN>, that's why I like ya.~ */
  IF ~~ THEN EXTERN ~_LAVLEAD~ 20
END

IF ~~ THEN BEGIN 386 // from: _LAVLEAD:4.3
  SAY #103070 /* ~Hold on! I think we should help them out, but aren't we gonna kill the guards here anyway? Why d'we need to pay him? They'll be free once all the guards here are dead, anyway. I mean, it's not like we have funds to spare, y'know.~ */
  IF ~~ THEN EXTERN ~_LAVLEAD~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
PartyGoldLT(1000)
~ THEN GOTO 387
END

IF ~~ THEN BEGIN 387 // from: 386.1
  SAY #103071 /* ~But uhm... they can use it, poor men. *sighs* You're a kind <PRO_MANWOMAN>, that's why I like ya.~ */
  IF ~~ THEN EXTERN ~_LAVLEAD~ 21
END

IF ~~ THEN BEGIN 388 // from: _LAVLEAD:4.4
  SAY #103069 /* ~Wow, <CHARNAME>, we're freeing the slaves, just like heroes in the songs!~ */
  IF ~~ THEN EXTERN ~_LAVLEAD~ 22
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
PartyGoldLT(1000)
~ THEN GOTO 390
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
PartyGoldLT(1000)
~ THEN GOTO 389
END

IF ~~ THEN BEGIN 389 // from: 388.2
  SAY #103070 /* ~Hold on! I think we should help them out, but aren't we gonna kill the guards here anyway? Why d'we need to pay him? They'll be free once all the guards here are dead, anyway. I mean, it's not like we have funds to spare, y'know.~ */
  IF ~~ THEN EXTERN ~_LAVLEAD~ 22
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
PartyGoldLT(1000)
~ THEN GOTO 390
END

IF ~~ THEN BEGIN 390 // from: 389.1 388.1
  SAY #103071 /* ~But uhm... they can use it, poor men. *sighs* You're a kind <PRO_MANWOMAN>, that's why I like ya.~ */
  IF ~~ THEN EXTERN ~_LAVLEAD~ 22
END

IF ~~ THEN BEGIN 391 // from:
  SAY #103069 /* ~Wow, <CHARNAME>, we're freeing the slaves, just like heroes in the songs!~ */
  IF ~~ THEN EXTERN ~_LAVLEAD~ 23
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
PartyGoldLT(1000)
~ THEN GOTO 393
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
PartyGoldLT(1000)
~ THEN GOTO 392
END

IF ~~ THEN BEGIN 392 // from: 391.2
  SAY #103070 /* ~Hold on! I think we should help them out, but aren't we gonna kill the guards here anyway? Why d'we need to pay him? They'll be free once all the guards here are dead, anyway. I mean, it's not like we have funds to spare, y'know.~ */
  IF ~~ THEN EXTERN ~_LAVLEAD~ 23
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
PartyGoldLT(1000)
~ THEN GOTO 393
END

IF ~~ THEN BEGIN 393 // from: 392.1 391.1
  SAY #103071 /* ~But uhm... they can use it, poor men. *sighs* You're a kind <PRO_MANWOMAN>, that's why I like ya.~ */
  IF ~~ THEN EXTERN ~_LAVLEAD~ 23
END

IF ~~ THEN BEGIN 394 // from:
  SAY #103086 /* ~Ya better listen to him littl' man. I've seen him tear the heads off of ogres, ya know...~ */
  IF ~~ THEN EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_NOOBER~ 13
END

IF ~~ THEN BEGIN 395 // from: _MINSCJ:159.2
  SAY #103086 /* ~Ya better listen to him littl' man. I've seen him tear the heads off of ogres, ya know...~ */
  IF ~~ THEN EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_NOOBER~ 14
END

IF ~~ THEN BEGIN 396 // from:
  SAY #103084 /* ~'Nough already!!! Outta my way! Let me at him! He's driving me insane!!!~ */
  IF ~~ THEN EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_NOOBER~ 15
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 397
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSCJ~ 160
END

IF ~~ THEN BEGIN 397 // from: _MINSCJ:160.2 396.2
  SAY #103086 /* ~Ya better listen to him littl' man. I've seen him tear the heads off of ogres, ya know...~ */
  IF ~~ THEN EXIT
  IF ~  InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
~ THEN EXTERN ~_NOOBER~ 15
END

IF ~~ THEN BEGIN 398 // from:
  SAY #103088 /* ~FINALLY! I swear, if he said one more thing, I was going to kill him!~ */
  IF ~~ THEN DO ~AddexperienceParty(400)
EscapeArea()
~ EXIT
  IF ~  InParty("branwen")
InMyArea("branwen")
!StateCheck("branwen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_NOOBER~ 21
  IF ~  InParty("branwen")
InMyArea("branwen")
!StateCheck("branwen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BRANWJ~ 71
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_NOOBER~ 20
END

IF ~~ THEN BEGIN 399 // from:
  SAY #103093 /* ~Poor lad. I think we should go help him. It reminds me of when we were kids in Candlekeep, and you'd run away scared of the dogs, when they'd bark.~ */
  IF ~~ THEN EXTERN ~_ARDROU~ 17
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_AJANTJ~ 241
  IF ~  InParty("safana")
InMyArea("safana")
!StateCheck("safana",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SAFANJ~ 25
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 305
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VICONJ~ 144
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ARDROU~ 16
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VICONJ~ 143
  IF ~  InParty("branwen")
InMyArea("branwen")
!StateCheck("branwen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BRANWJ~ 73
END

IF ~~ THEN BEGIN 400 // from:
  SAY #103093 /* ~Poor lad. I think we should go help him. It reminds me of when we were kids in Candlekeep, and you'd run away scared of the dogs, when they'd bark.~ */
  IF ~~ THEN EXTERN ~_ARDROU~ 19
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_AJANTJ~ 242
  IF ~  InParty("safana")
InMyArea("safana")
!StateCheck("safana",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SAFANJ~ 26
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 306
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VICONJ~ 146
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ARDROU~ 18
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VICONJ~ 145
  IF ~  InParty("branwen")
InMyArea("branwen")
!StateCheck("branwen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BRANWJ~ 74
END

IF ~~ THEN BEGIN 401 // from:
  SAY #103101 /* ~O, sorry for scarin' your son an' all, ma'am. Hope he's alright! Ya tell him that some adventurers do good things, like helpin' other folk at need.~ */
  IF ~~ THEN EXTERN ~_ARDROU~ 25
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DYNAHJ~ 158
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 310
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VICONJ~ 149
  IF ~  InParty("safana")
InMyArea("safana")
!StateCheck("safana",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SAFANJ~ 28
END

IF ~~ THEN BEGIN 402 // from: _KIRIAN:4.4
  SAY #103221 /* ~Hey, slow down! It's not like you look any different!~ */
  IF ~~ THEN REPLY #77951 /* ~SAD!!  I'll show you sad, you arrogant little girl.  You've had it coming since we started talking.  Draw steel, bitch!~ */ EXTERN ~_KIRIAN~ 3
  IF ~~ THEN REPLY #77952 /* ~We don't want any trouble, just let us alone.~ */ EXTERN ~_KIRIAN~ 2
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIRIAN~ 8
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VICONJ~ 158
END

IF ~~ THEN BEGIN 403 // from:
  SAY #103235 /* ~Tymora's luck, but yer a creep! And to think that I wanted ta be a mage! Brr...~ */
  IF ~~ THEN EXTERN ~_DAVAEO~ 16
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VICONJ~ 165
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 330
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DAVAEO~ 15
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 148
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 154
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CORANJ~ 562
END

IF ~~ THEN BEGIN 404 // from:
  SAY #103235 /* ~Tymora's luck, but yer a creep! And to think that I wanted ta be a mage! Brr...~ */
  IF ~~ THEN EXTERN ~_DAVAEO~ 18
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VICONJ~ 166
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 331
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DAVAEO~ 17
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 149
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 155
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CORANJ~ 563
END

IF ~~ THEN BEGIN 405 // from:
  SAY #103235 /* ~Tymora's luck, but yer a creep! And to think that I wanted ta be a mage! Brr...~ */
  IF ~~ THEN EXTERN ~_DAVAEO~ 21
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VICONJ~ 167
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 332
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DAVAEO~ 20
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 150
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 156
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CORANJ~ 564
END

IF ~~ THEN BEGIN 406 // from:
  SAY #103235 /* ~Tymora's luck, but yer a creep! And to think that I wanted ta be a mage! Brr...~ */
  IF ~~ THEN EXTERN ~_DAVAEO~ 24
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VICONJ~ 168
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 333
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DAVAEO~ 23
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 151
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 157
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CORANJ~ 565
END

IF ~~ THEN BEGIN 407 // from:
  SAY #103243 /* ~*rubs her head* I'm gettin' a headache, listening to this guy. I thought we left all those borin' lectures at Candlekeep.~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #80045 /* ~Investigating the Iron Throne

It seems the Iron Throne is negotiating a treaty with the city's Grand Dukes.  Is this simple treaty the key to ending all the unrest of the past season, or is it just another link in the long chain of motivations?  Will money satisfy the Throne's greed, or is there something more behind it all?  I have so many questions and, while I feel close to finding answers, I somehow doubt that they will be quite as fulfilling as I hope...~ */ EXIT
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DESTUS~ 11
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 338
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CORANJ~ 572
  IF ~  InParty("coran")
InMyArea("coran")
!StateCheck("coran",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CORANJ~ 571
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DESTUS~ 10
END

IF ~~ THEN BEGIN 408 // from: _LIIA:8.3
  SAY #103277 /* ~Whate'er you decide, I'm with ya, <CHARNAME>!~ */
  IF ~~ THEN REPLY #82298 /* ~No way lady, we want to remain among the living.~ */ DO ~SetGlobal("DukeThanks","GLOBAL",1)
~ EXTERN ~_LIIA~ 9
  IF ~~ THEN REPLY #82299 /* ~We have many personal reasons for wanting to hunt him down.  The only problem is trying to find him.~ */ DO ~SetGlobal("DukeThanks","GLOBAL",1)
~ EXTERN ~_LIIA~ 10
  IF ~  Dead("BHEREN")
~ THEN REPLY #99856 /* ~I will hunt Sarevok down, ma’am, but seeing that I could lose my life, I plead your Grace for one favour before I go. There is some unfinished business... a trivial thing. An orphan girl, Petrine and her cat, Angel need a proper guardian. I... I killed her uncle – a mean man who mistreated her, and yet she was left with no soul in the world to protect her. 'Tis a blood debt.~ */ DO ~SetGlobal("DukeThanks","GLOBAL",1)
~ EXTERN ~_LIIA~ 15
END

IF ~~ THEN BEGIN 409 // from:
  SAY #103277 /* ~Whate'er you decide, I'm with ya, <CHARNAME>!~ */
  IF ~~ THEN REPLY #82298 /* ~No way lady, we want to remain among the living.~ */ DO ~SetGlobal("DukeThanks","GLOBAL",1)
~ EXTERN ~_LIIA~ 9
  IF ~~ THEN REPLY #82299 /* ~We have many personal reasons for wanting to hunt him down.  The only problem is trying to find him.~ */ DO ~SetGlobal("DukeThanks","GLOBAL",1)
~ EXTERN ~_LIIA~ 10
  IF ~  Dead("BHEREN")
~ THEN REPLY #99856 /* ~I will hunt Sarevok down, ma’am, but seeing that I could lose my life, I plead your Grace for one favour before I go. There is some unfinished business... a trivial thing. An orphan girl, Petrine and her cat, Angel need a proper guardian. I... I killed her uncle – a mean man who mistreated her, and yet she was left with no soul in the world to protect her. 'Tis a blood debt.~ */ DO ~SetGlobal("DukeThanks","GLOBAL",1)
~ EXTERN ~_LIIA~ 15
END

IF ~~ THEN BEGIN 410 // from:
  SAY #103277 /* ~Whate'er you decide, I'm with ya, <CHARNAME>!~ */
  IF ~~ THEN REPLY #82298 /* ~No way lady, we want to remain among the living.~ */ DO ~SetGlobal("DukeThanks","GLOBAL",1)
~ EXTERN ~_LIIA~ 9
  IF ~~ THEN REPLY #82299 /* ~We have many personal reasons for wanting to hunt him down.  The only problem is trying to find him.~ */ DO ~SetGlobal("DukeThanks","GLOBAL",1)
~ EXTERN ~_LIIA~ 10
  IF ~  Dead("BHEREN")
~ THEN REPLY #99856 /* ~I will hunt Sarevok down, ma’am, but seeing that I could lose my life, I plead your Grace for one favour before I go. There is some unfinished business... a trivial thing. An orphan girl, Petrine and her cat, Angel need a proper guardian. I... I killed her uncle – a mean man who mistreated her, and yet she was left with no soul in the world to protect her. 'Tis a blood debt.~ */ DO ~SetGlobal("DukeThanks","GLOBAL",1)
~ EXTERN ~_LIIA~ 15
END

IF ~~ THEN BEGIN 411 // from: _KIVANJ:357.3
  SAY #103277 /* ~Whate'er you decide, I'm with ya, <CHARNAME>!~ */
  IF ~~ THEN REPLY #82298 /* ~No way lady, we want to remain among the living.~ */ DO ~SetGlobal("DukeThanks","GLOBAL",1)
~ EXTERN ~_LIIA~ 9
  IF ~~ THEN REPLY #82299 /* ~We have many personal reasons for wanting to hunt him down.  The only problem is trying to find him.~ */ DO ~SetGlobal("DukeThanks","GLOBAL",1)
~ EXTERN ~_LIIA~ 10
  IF ~  Dead("BHEREN")
~ THEN REPLY #99856 /* ~I will hunt Sarevok down, ma’am, but seeing that I could lose my life, I plead your Grace for one favour before I go. There is some unfinished business... a trivial thing. An orphan girl, Petrine and her cat, Angel need a proper guardian. I... I killed her uncle – a mean man who mistreated her, and yet she was left with no soul in the world to protect her. 'Tis a blood debt.~ */ DO ~SetGlobal("DukeThanks","GLOBAL",1)
~ EXTERN ~_LIIA~ 15
END

IF ~~ THEN BEGIN 412 // from: _GALLOR:2.4
  SAY #103286 /* ~Huh, this man gave me the creeps. I mean, pickin' a pocket is one thing, but killin' a dozen workers to steal some stupid artifact is... horrible!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GALLOR~ 23
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 362
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GALLOR~ 22
END

IF ~~ THEN BEGIN 413 // from:
  SAY #103295 /* ~Hey, back off! We did nothin' wrong!~ */
  IF ~~ THEN REPLY #81037 /* ~You aren't the commander of the Flaming Fist; that title belongs to Duke Eltan, someone who deserves the title.  You're a pretender, and a rather ugly and smelly one at that.  A lobotomized gibberling would make a better leader than you.~ */ UNSOLVED_JOURNAL #81038 /* ~Afoul of the law

For some reason Duke Eltan is no longer the commander of the Flaming Fist.  A man named Angelo now claims that position.~ */ EXTERN ~_ANGELO~ 1
  IF ~~ THEN REPLY #81039 /* ~Hey, come on now, we all know that you're in the employ of Sarevok.  We'll pay you more if you let us go.~ */ UNSOLVED_JOURNAL #81038 /* ~Afoul of the law

For some reason Duke Eltan is no longer the commander of the Flaming Fist.  A man named Angelo now claims that position.~ */ EXTERN ~_ANGELO~ 2
  IF ~~ THEN REPLY #81040 /* ~Laugh now Angelo; when your arms and legs are dismembered and you're lying on the ground crying like a little baby, hee hee, then we'll see who has the last laugh.~ */ UNSOLVED_JOURNAL #81038 /* ~Afoul of the law

For some reason Duke Eltan is no longer the commander of the Flaming Fist.  A man named Angelo now claims that position.~ */ EXTERN ~_ANGELO~ 3
  IF ~~ THEN REPLY #81041 /* ~Couldn't you just let us go? Oh pleaseohpleaseohplease? We won't tell anyone. Honest. Pretty please? Just think about it.~ */ UNSOLVED_JOURNAL #81038 /* ~Afoul of the law

For some reason Duke Eltan is no longer the commander of the Flaming Fist.  A man named Angelo now claims that position.~ */ EXTERN ~_ANGELO~ 4
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ANGELO~ 80
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
OR(3)
!InParty("eldoth")
!InMyArea("eldoth")
StateCheck("eldoth",CD_STATE_NOTVALID)
GlobalLT("X#SummonDora","GLOBAL",3)
~ THEN EXTERN ~_SKIEJ~ 187
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
InParty("eldoth")
InMyArea("eldoth")
!StateCheck("eldoth",CD_STATE_NOTVALID)
GlobalLT("X#SummonDora","GLOBAL",3)
~ THEN EXTERN ~_SKIEJ~ 186
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
GlobalLT("X#SummonDora","GLOBAL",3)
~ THEN EXTERN ~_SKIEJ~ 185
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
GlobalLT("X#SummonDora","GLOBAL",3)
~ THEN EXTERN ~_ANGELO~ 79
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
GlobalLT("X#SummonDora","GLOBAL",3)
~ THEN EXTERN ~_SKIEJ~ 184
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
GlobalLT("X#SummonDora","GLOBAL",3)
~ THEN EXTERN ~_ANGELO~ 78
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
GlobalLT("X#SummonDora","GLOBAL",3)
~ THEN EXTERN ~_SKIEJ~ 183
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
GlobalLT("X#SummonDora","GLOBAL",3)
~ THEN EXTERN ~_ANGELO~ 77
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
GlobalLT("X#SummonDora","GLOBAL",3)
~ THEN EXTERN ~_SKIEJ~ 182
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
GlobalLT("X#SummonDora","GLOBAL",3)
~ THEN EXTERN ~_ANGELO~ 76
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SKIEJ~ 181
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ANGELO~ 75
  IF ~  InParty("skie")
InMyArea("skie")
!StateCheck("skie",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SKIEJ~ 180
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 372
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DYNAHJ~ 214
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VICONJ~ 170
END

IF ~~ THEN BEGIN 414 // from: _NARCIL:0.3
  SAY #103354 /* ~Good timin' is everything in the adventurin' profession.~ */
  IF ~~ THEN REPLY #77544 /* ~I know enough about magical experimentation to know that I want no part of it. You are on your own, kind sir.~ */ EXTERN ~_NARCIL~ 1
  IF ~~ THEN REPLY #77545 /* ~What kind of experiment are you attempting?~ */ EXTERN ~_NARCIL~ 2
  IF ~  InParty("xan")
InMyArea("xan")
!StateCheck("xan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_XANJ~ 240
END

IF ~~ THEN BEGIN 415 // from: _NARCIL:2.2
  SAY #103357 /* ~Uhm, yeah... Are all mages like that? If I were one, I wouldn't work with some slime and ooze... Brrr... It's too uhm... slimy. I'd create candy golems or somethin', if I wanted to be weird.~ */
  IF ~~ THEN REPLY #77548 /* ~Are you mad, experimenting on creatures and then releasing them into the wild before witnessing the spell's true effect?!~ */ EXTERN ~_NARCIL~ 3
  IF ~~ THEN REPLY #77549 /* ~Fascinating. You must write this spell down for me that my party can make use of it in our adventures.~ */ EXTERN ~_NARCIL~ 4
END

IF ~~ THEN BEGIN 416 // from:
  SAY #103357 /* ~Uhm, yeah... Are all mages like that? If I were one, I wouldn't work with some slime and ooze... Brrr... It's too uhm... slimy. I'd create candy golems or somethin', if I wanted to be weird.~ */
  IF ~~ THEN REPLY #77548 /* ~Are you mad, experimenting on creatures and then releasing them into the wild before witnessing the spell's true effect?!~ */ EXTERN ~_NARCIL~ 3
  IF ~~ THEN REPLY #77549 /* ~Fascinating. You must write this spell down for me that my party can make use of it in our adventures.~ */ EXTERN ~_NARCIL~ 4
END

IF ~~ THEN BEGIN 417 // from:
  SAY #103419 /* ~I dunno 'bout this guy. I mean his scheme isn't all that terribly bad or anything, but I get the feeling he's not tellin' us everything.~ */
  IF ~~ THEN DO ~JoinParty()
~ UNSOLVED_JOURNAL #87737 /* ~Eldoth and Skie

We've agreed to help Eldoth with an extortion plan.  He wants us to kidnap a young girl named Skie who happens to be the daughter of Grand Duke Entar Silvershield.  Eldoth has told us that Skie wants to escape home, and would be a willing partner in the scheme.  Once we have her, Eldoth will blackmail Entar.~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ELDOTH~ 37
END

IF ~~ THEN BEGIN 418 // from:
  SAY #103419 /* ~I dunno 'bout this guy. I mean his scheme isn't all that terribly bad or anything, but I get the feeling he's not tellin' us everything.~ */
  IF ~~ THEN DO ~JoinParty()
~ UNSOLVED_JOURNAL #87737 /* ~Eldoth and Skie

We've agreed to help Eldoth with an extortion plan.  He wants us to kidnap a young girl named Skie who happens to be the daughter of Grand Duke Entar Silvershield.  Eldoth has told us that Skie wants to escape home, and would be a willing partner in the scheme.  Once we have her, Eldoth will blackmail Entar.~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ELDOTH~ 39
END

IF ~~ THEN BEGIN 419 // from:
  SAY #103419 /* ~I dunno 'bout this guy. I mean his scheme isn't all that terribly bad or anything, but I get the feeling he's not tellin' us everything.~ */
  IF ~~ THEN DO ~JoinParty()
~ UNSOLVED_JOURNAL #87737 /* ~Eldoth and Skie

We've agreed to help Eldoth with an extortion plan.  He wants us to kidnap a young girl named Skie who happens to be the daughter of Grand Duke Entar Silvershield.  Eldoth has told us that Skie wants to escape home, and would be a willing partner in the scheme.  Once we have her, Eldoth will blackmail Entar.~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_ELDOTH~ 41
END

IF ~~ THEN BEGIN 420 // from: _INGOT:1.4
  SAY #103428 /* ~Well, seems like those other gnolls wanna keep Dynaheir alive for a bit longer at least, so... um, I guess that's good news, huh, Minsc?~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #76694 /* ~Prisoner of the gnolls

A woman is being held captive in the gnoll fortress to the west!  It seems likely that she is still alive as her captors apparently banished the gnoll, Ingot, upon well-founded suspicions that he might eat her.~ */ EXIT
  IF ~Global("MinscIngot","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN DO ~SetGlobal("MinscIngot","GLOBAL",1)~ EXTERN ~_MINSCJ~ 50
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_INGOT~ 6
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("minsc")
InParty("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN EXTERN ~_MINSCJ~ 176
END

IF ~~ THEN BEGIN 421 // from: _INGOT:1.5
  SAY #103427 /* ~Ewww... gross! I feel sick all of a sudden.~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #76694 /* ~Prisoner of the gnolls

A woman is being held captive in the gnoll fortress to the west!  It seems likely that she is still alive as her captors apparently banished the gnoll, Ingot, upon well-founded suspicions that he might eat her.~ */ EXIT
  IF ~Global("MinscIngot","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN DO ~SetGlobal("MinscIngot","GLOBAL",1)~ EXTERN ~_MINSCJ~ 50
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_INGOT~ 7
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("minsc")
InParty("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN EXTERN ~_MINSCJ~ 177
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("minsc")
InParty("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN GOTO 422
END

IF ~~ THEN BEGIN 422 // from: 421.4
  SAY #103428 /* ~Well, seems like those other gnolls wanna keep Dynaheir alive for a bit longer at least, so... um, I guess that's good news, huh, Minsc?~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #76694 /* ~Prisoner of the gnolls

A woman is being held captive in the gnoll fortress to the west!  It seems likely that she is still alive as her captors apparently banished the gnoll, Ingot, upon well-founded suspicions that he might eat her.~ */ EXIT
  IF ~Global("MinscIngot","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN DO ~SetGlobal("MinscIngot","GLOBAL",1)~ EXTERN ~_MINSCJ~ 50
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_INGOT~ 7
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("minsc")
InParty("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN EXTERN ~_MINSCJ~ 177
END

IF ~~ THEN BEGIN 423 // from: _INGOT:8.5
  SAY #103427 /* ~Ewww... gross! I feel sick all of a sudden.~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #76694 /* ~Prisoner of the gnolls

A woman is being held captive in the gnoll fortress to the west!  It seems likely that she is still alive as her captors apparently banished the gnoll, Ingot, upon well-founded suspicions that he might eat her.~ */ EXIT
  IF ~Global("MinscIngot","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN DO ~SetGlobal("MinscIngot","GLOBAL",1)~ EXTERN ~_MINSCJ~ 50
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_INGOT~ 9
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("minsc")
InParty("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN EXTERN ~_MINSCJ~ 178
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("minsc")
InParty("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN GOTO 424
END

IF ~~ THEN BEGIN 424 // from: _INGOT:8.4 423.4
  SAY #103428 /* ~Well, seems like those other gnolls wanna keep Dynaheir alive for a bit longer at least, so... um, I guess that's good news, huh, Minsc?~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #76694 /* ~Prisoner of the gnolls

A woman is being held captive in the gnoll fortress to the west!  It seems likely that she is still alive as her captors apparently banished the gnoll, Ingot, upon well-founded suspicions that he might eat her.~ */ EXIT
  IF ~Global("MinscIngot","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN DO ~SetGlobal("MinscIngot","GLOBAL",1)~ EXTERN ~_MINSCJ~ 50
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_INGOT~ 9
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("minsc")
InParty("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN EXTERN ~_MINSCJ~ 178
END

IF ~~ THEN BEGIN 425 // from: _INGOT:10.5
  SAY #103427 /* ~Ewww... gross! I feel sick all of a sudden.~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #76694 /* ~Prisoner of the gnolls

A woman is being held captive in the gnoll fortress to the west!  It seems likely that she is still alive as her captors apparently banished the gnoll, Ingot, upon well-founded suspicions that he might eat her.~ */ EXIT
  IF ~Global("MinscIngot","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN DO ~SetGlobal("MinscIngot","GLOBAL",1)~ EXTERN ~_MINSCJ~ 50
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_INGOT~ 11
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("minsc")
InParty("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN EXTERN ~_MINSCJ~ 179
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("minsc")
InParty("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN GOTO 426
END

IF ~~ THEN BEGIN 426 // from: _INGOT:10.4 425.4
  SAY #103428 /* ~Well, seems like those other gnolls wanna keep Dynaheir alive for a bit longer at least, so... um, I guess that's good news, huh, Minsc?~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #76694 /* ~Prisoner of the gnolls

A woman is being held captive in the gnoll fortress to the west!  It seems likely that she is still alive as her captors apparently banished the gnoll, Ingot, upon well-founded suspicions that he might eat her.~ */ EXIT
  IF ~Global("MinscIngot","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN DO ~SetGlobal("MinscIngot","GLOBAL",1)~ EXTERN ~_MINSCJ~ 50
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_INGOT~ 11
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("minsc")
InParty("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN EXTERN ~_MINSCJ~ 179
END

IF ~~ THEN BEGIN 427 // from: _INGOT:13.5 _INGOT:12.5
  SAY #103427 /* ~Ewww... gross! I feel sick all of a sudden.~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #76694 /* ~Prisoner of the gnolls

A woman is being held captive in the gnoll fortress to the west!  It seems likely that she is still alive as her captors apparently banished the gnoll, Ingot, upon well-founded suspicions that he might eat her.~ */ EXIT
  IF ~Global("MinscIngot","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN DO ~SetGlobal("MinscIngot","GLOBAL",1)~ EXTERN ~_MINSCJ~ 50
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_INGOT~ 14
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("minsc")
InParty("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN EXTERN ~_MINSCJ~ 180
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("minsc")
InParty("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN GOTO 428
END

IF ~~ THEN BEGIN 428 // from: _INGOT:13.4 _INGOT:12.4 427.4
  SAY #103428 /* ~Well, seems like those other gnolls wanna keep Dynaheir alive for a bit longer at least, so... um, I guess that's good news, huh, Minsc?~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #76694 /* ~Prisoner of the gnolls

A woman is being held captive in the gnoll fortress to the west!  It seems likely that she is still alive as her captors apparently banished the gnoll, Ingot, upon well-founded suspicions that he might eat her.~ */ EXIT
  IF ~Global("MinscIngot","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN DO ~SetGlobal("MinscIngot","GLOBAL",1)~ EXTERN ~_MINSCJ~ 50
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_INGOT~ 14
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("minsc")
InParty("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN EXTERN ~_MINSCJ~ 180
END

IF ~~ THEN BEGIN 429 // from: _INGOT:16.5 _INGOT:15.5 _GARRIJ:201.5
  SAY #103427 /* ~Ewww... gross! I feel sick all of a sudden.~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #76694 /* ~Prisoner of the gnolls

A woman is being held captive in the gnoll fortress to the west!  It seems likely that she is still alive as her captors apparently banished the gnoll, Ingot, upon well-founded suspicions that he might eat her.~ */ EXIT
  IF ~Global("MinscIngot","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN DO ~SetGlobal("MinscIngot","GLOBAL",1)~ EXTERN ~_MINSCJ~ 50
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_INGOT~ 17
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("minsc")
InParty("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN EXTERN ~_MINSCJ~ 181
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("minsc")
InParty("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN GOTO 430
END

IF ~~ THEN BEGIN 430 // from: _INGOT:16.4 _INGOT:15.4 429.4 _GARRIJ:201.4
  SAY #103428 /* ~Well, seems like those other gnolls wanna keep Dynaheir alive for a bit longer at least, so... um, I guess that's good news, huh, Minsc?~ */
  IF ~~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #76694 /* ~Prisoner of the gnolls

A woman is being held captive in the gnoll fortress to the west!  It seems likely that she is still alive as her captors apparently banished the gnoll, Ingot, upon well-founded suspicions that he might eat her.~ */ EXIT
  IF ~Global("MinscIngot","GLOBAL",0)
InParty("minsc")
InMyArea("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN DO ~SetGlobal("MinscIngot","GLOBAL",1)~ EXTERN ~_MINSCJ~ 50
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_INGOT~ 17
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
InParty("minsc")
InParty("minsc")
!StateCheck("minsc",CD_STATE_NOTVALID)
!Global("HelpMinsc","GLOBAL",2)
~ THEN EXTERN ~_MINSCJ~ 181
END

IF ~~ THEN BEGIN 431 // from:
  SAY #100402 /* ~Wait a second here... hmm...~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 13
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 191
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 12
END

IF ~~ THEN BEGIN 432 // from:
  SAY #100401 /* ~I can say things like that, link it to some mumbo-jumbo about star alignments and other stuff too, you know, and make it sound just vague enough to cover almost any circumstance.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 15
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 192
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 14
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 433
END

IF ~~ THEN BEGIN 433 // from: 432.4
  SAY #100402 /* ~Wait a second here... hmm...~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 15
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 192
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 14
END

IF ~~ THEN BEGIN 434 // from:
  SAY #100400 /* ~Yeah! You go walk away, you charlatan!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 17
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 193
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 16
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 436
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 435
END

IF ~~ THEN BEGIN 435 // from: 434.5
  SAY #100401 /* ~I can say things like that, link it to some mumbo-jumbo about star alignments and other stuff too, you know, and make it sound just vague enough to cover almost any circumstance.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 17
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 193
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 16
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 436
END

IF ~~ THEN BEGIN 436 // from: 435.4 434.4
  SAY #100402 /* ~Wait a second here... hmm...~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 17
  IF ~  InParty("edwin")
InMyArea("edwin")
!StateCheck("edwin",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWINJ~ 193
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 16
END

IF ~~ THEN BEGIN 437 // from:
  SAY #100402 /* ~Wait a second here... hmm...~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 23
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIJ~ 208
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 22
END

IF ~~ THEN BEGIN 438 // from:
  SAY #100401 /* ~I can say things like that, link it to some mumbo-jumbo about star alignments and other stuff too, you know, and make it sound just vague enough to cover almost any circumstance.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 25
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIJ~ 209
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 24
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 439
END

IF ~~ THEN BEGIN 439 // from: 438.4
  SAY #100402 /* ~Wait a second here... hmm...~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 25
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIJ~ 209
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 24
END

IF ~~ THEN BEGIN 440 // from:
  SAY #100404 /* ~You don't really believe that, do ya, <CHARNAME>?~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 27
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIJ~ 210
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 26
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 442
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 441
END

IF ~~ THEN BEGIN 441 // from: 440.5
  SAY #100401 /* ~I can say things like that, link it to some mumbo-jumbo about star alignments and other stuff too, you know, and make it sound just vague enough to cover almost any circumstance.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 27
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIJ~ 210
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 26
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 442
END

IF ~~ THEN BEGIN 442 // from: 441.4 440.4
  SAY #100402 /* ~Wait a second here... hmm...~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 27
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIJ~ 210
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_PALLON~ 26
END

IF ~~ THEN BEGIN 443 // from:
  SAY #103474 /* ~Creeeepppy. I hope we never end up being tortured like that.~ */
  IF ~~ THEN REPLY #85961 /* ~Uhhh, that's quite the handiwork, all right.  We'll be leaving now.~ */ EXTERN ~_OGRMA2~ 1
  IF ~~ THEN REPLY #85962 /* ~We've been given orders that you are to release the prisoners.  Please do so now.~ */ EXTERN ~_OGRMA2~ 2
  IF ~~ THEN REPLY #85963 /* ~You disgusting animal.  Unlike the pathetic slave that you've tortured, we can fight back!~ */ EXTERN ~_OGRMA2~ 3
  IF ~  InParty("yeslick")
InMyArea("yeslick")
!StateCheck("yeslick",CD_STATE_NOTVALID)
~ THEN EXTERN ~_YESLIJ~ 97
  IF ~  InParty("faldorn")
InMyArea("faldorn")
!StateCheck("faldorn",CD_STATE_NOTVALID)
~ THEN EXTERN ~_FALDOJ~ 183
END

IF ~~ THEN BEGIN 444 // from:
  SAY #103489 /* ~Hold on here, <CHARNAME>! Since when did you become a follower of the Crying God? What's more, since when do ya go around saying we're *all* followers of Ilmater? I certainly am not! But er... whatever floats yer boat.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BENTAN~ 16
END

IF ~~ THEN BEGIN 445 // from:
  SAY #103489 /* ~Hold on here, <CHARNAME>! Since when did you become a follower of the Crying God? What's more, since when do ya go around saying we're *all* followers of Ilmater? I certainly am not! But er... whatever floats yer boat.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BENTAN~ 18
END

IF ~~ THEN BEGIN 446 // from: _GARRIJ:224.2
  SAY #103489 /* ~Hold on here, <CHARNAME>! Since when did you become a follower of the Crying God? What's more, since when do ya go around saying we're *all* followers of Ilmater? I certainly am not! But er... whatever floats yer boat.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_BENTAN~ 20
END

IF ~~ THEN BEGIN 447 // from:
  SAY #103515 /* ~*whispering* Hey, <CHARNAME>. Why did you agree to work with this guy? He seems, well, creepy.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Edwin","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #74242 /* ~Edwin and Dynaheir

I have agreed to kill a witch named Dynaheir for Edwin, for a price yet to be determined.  She is somewhere to the west of Nashkel, in a gnoll stronghold.~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWIN~ 86
END

IF ~~ THEN BEGIN 448 // from:
  SAY #103515 /* ~*whispering* Hey, <CHARNAME>. Why did you agree to work with this guy? He seems, well, creepy.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Edwin","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #74242 /* ~Edwin and Dynaheir

I have agreed to kill a witch named Dynaheir for Edwin, for a price yet to be determined.  She is somewhere to the west of Nashkel, in a gnoll stronghold.~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWIN~ 88
END

IF ~~ THEN BEGIN 449 // from:
  SAY #103515 /* ~*whispering* Hey, <CHARNAME>. Why did you agree to work with this guy? He seems, well, creepy.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Edwin","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #74242 /* ~Edwin and Dynaheir

I have agreed to kill a witch named Dynaheir for Edwin, for a price yet to be determined.  She is somewhere to the west of Nashkel, in a gnoll stronghold.~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWIN~ 90
END

IF ~~ THEN BEGIN 450 // from:
  SAY #103515 /* ~*whispering* Hey, <CHARNAME>. Why did you agree to work with this guy? He seems, well, creepy.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Edwin","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #74242 /* ~Edwin and Dynaheir

I have agreed to kill a witch named Dynaheir for Edwin, for a price yet to be determined.  She is somewhere to the west of Nashkel, in a gnoll stronghold.~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWIN~ 93
END

IF ~~ THEN BEGIN 451 // from:
  SAY #103515 /* ~*whispering* Hey, <CHARNAME>. Why did you agree to work with this guy? He seems, well, creepy.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Edwin","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #74242 /* ~Edwin and Dynaheir

I have agreed to kill a witch named Dynaheir for Edwin, for a price yet to be determined.  She is somewhere to the west of Nashkel, in a gnoll stronghold.~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWIN~ 96
END

IF ~~ THEN BEGIN 452 // from:
  SAY #103515 /* ~*whispering* Hey, <CHARNAME>. Why did you agree to work with this guy? He seems, well, creepy.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Edwin","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #74242 /* ~Edwin and Dynaheir

I have agreed to kill a witch named Dynaheir for Edwin, for a price yet to be determined.  She is somewhere to the west of Nashkel, in a gnoll stronghold.~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWIN~ 100
END

IF ~~ THEN BEGIN 453 // from: _MINSCJ:224.3
  SAY #103515 /* ~*whispering* Hey, <CHARNAME>. Why did you agree to work with this guy? He seems, well, creepy.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Edwin","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #74242 /* ~Edwin and Dynaheir

I have agreed to kill a witch named Dynaheir for Edwin, for a price yet to be determined.  She is somewhere to the west of Nashkel, in a gnoll stronghold.~ */ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_EDWIN~ 104
END

IF ~~ THEN BEGIN 454 // from: _LARYSS:1.2
  SAY #103528 /* ~There. Don't worry, lady. We'll try and save Brage for you, 'kay?~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_LARYSS~ 5
END

IF ~~ THEN BEGIN 455 // from: _LARYSS:6.2
  SAY #103528 /* ~There. Don't worry, lady. We'll try and save Brage for you, 'kay?~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_LARYSS~ 7
END

IF ~~ THEN BEGIN 456 // from: _LARYSS:8.2 _GARRIJ:239.2
  SAY #103528 /* ~There. Don't worry, lady. We'll try and save Brage for you, 'kay?~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_LARYSS~ 9
END

IF ~~ THEN BEGIN 457 // from: _MINSC:5.8
  SAY #100380 /* ~Actually, no, I don't. I don't mind the brave warrior, as long as he's handsome, but the part about being in danger I could do without.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Minsc","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #86853 /* ~Rescuing Dynaheir

I have agreed to help Minsc rescue his friend.  She is held captive at a gnoll stronghold, far west of Nashkel.~ */ EXIT
  IF ~Global("X#MinscImoenJoin3","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
!Class(Player1,MAGE_ALL)
!Class(Player1,CLERIC_ALL)
!Class(Player1,BARD_ALL)
!Class(Player1,DRUID_ALL)
~ THEN DO ~SetGlobal("X#MinscImoenJoin3","GLOBAL",1)~ GOTO 198
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 37
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_AJANTJ~ 281
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 36
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 186
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_MINSC~ 35
END

IF ~~ THEN BEGIN 458 // from: _MINSC:5.9
  SAY #100379 /* ~Wow. A damsel in distress, and a brave warrior to come rescue her. I wish that would happen to me.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Minsc","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #86853 /* ~Rescuing Dynaheir

I have agreed to help Minsc rescue his friend.  She is held captive at a gnoll stronghold, far west of Nashkel.~ */ EXIT
  IF ~Global("X#MinscImoenJoin3","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
!Class(Player1,MAGE_ALL)
!Class(Player1,CLERIC_ALL)
!Class(Player1,BARD_ALL)
!Class(Player1,DRUID_ALL)
~ THEN DO ~SetGlobal("X#MinscImoenJoin3","GLOBAL",1)~ GOTO 198
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 40
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_AJANTJ~ 282
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 39
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 187
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_MINSC~ 38
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 459
END

IF ~~ THEN BEGIN 459 // from: 458.8
  SAY #100380 /* ~Actually, no, I don't. I don't mind the brave warrior, as long as he's handsome, but the part about being in danger I could do without.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Minsc","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #86853 /* ~Rescuing Dynaheir

I have agreed to help Minsc rescue his friend.  She is held captive at a gnoll stronghold, far west of Nashkel.~ */ EXIT
  IF ~Global("X#MinscImoenJoin3","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
!Class(Player1,MAGE_ALL)
!Class(Player1,CLERIC_ALL)
!Class(Player1,BARD_ALL)
!Class(Player1,DRUID_ALL)
~ THEN DO ~SetGlobal("X#MinscImoenJoin3","GLOBAL",1)~ GOTO 198
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 40
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_AJANTJ~ 282
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 39
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 187
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_MINSC~ 38
END

IF ~~ THEN BEGIN 460 // from: _MINSC:41.9
  SAY #100379 /* ~Wow. A damsel in distress, and a brave warrior to come rescue her. I wish that would happen to me.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Minsc","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #86853 /* ~Rescuing Dynaheir

I have agreed to help Minsc rescue his friend.  She is held captive at a gnoll stronghold, far west of Nashkel.~ */ EXIT
  IF ~Global("X#MinscImoenJoin3","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
!Class(Player1,MAGE_ALL)
!Class(Player1,CLERIC_ALL)
!Class(Player1,BARD_ALL)
!Class(Player1,DRUID_ALL)
~ THEN DO ~SetGlobal("X#MinscImoenJoin3","GLOBAL",1)~ GOTO 198
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 44
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_AJANTJ~ 283
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 43
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 188
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_MINSC~ 42
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 461
END

IF ~~ THEN BEGIN 461 // from: _MINSC:41.8 460.8
  SAY #100380 /* ~Actually, no, I don't. I don't mind the brave warrior, as long as he's handsome, but the part about being in danger I could do without.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Minsc","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #86853 /* ~Rescuing Dynaheir

I have agreed to help Minsc rescue his friend.  She is held captive at a gnoll stronghold, far west of Nashkel.~ */ EXIT
  IF ~Global("X#MinscImoenJoin3","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
!Class(Player1,MAGE_ALL)
!Class(Player1,CLERIC_ALL)
!Class(Player1,BARD_ALL)
!Class(Player1,DRUID_ALL)
~ THEN DO ~SetGlobal("X#MinscImoenJoin3","GLOBAL",1)~ GOTO 198
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 44
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_AJANTJ~ 283
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 43
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 188
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_MINSC~ 42
END

IF ~~ THEN BEGIN 462 // from: _MINSC:5.11
  SAY #100380 /* ~Actually, no, I don't. I don't mind the brave warrior, as long as he's handsome, but the part about being in danger I could do without.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Minsc","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #86853 /* ~Rescuing Dynaheir

I have agreed to help Minsc rescue his friend.  She is held captive at a gnoll stronghold, far west of Nashkel.~ */ EXIT
  IF ~Global("X#MinscImoenJoin3","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
!Class(Player1,MAGE_ALL)
!Class(Player1,CLERIC_ALL)
!Class(Player1,BARD_ALL)
!Class(Player1,DRUID_ALL)
~ THEN DO ~SetGlobal("X#MinscImoenJoin3","GLOBAL",1)~ GOTO 198
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 48
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_AJANTJ~ 284
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 47
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 189
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_MINSC~ 46
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 464
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 463
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
OR(4)
Class(Player1,MAGE_ALL)
Class(Player1,CLERIC_ALL)
Class(Player1,BARD_ALL)
Class(Player1,DRUID_ALL)
~ THEN EXTERN ~_MINSC~ 45
END

IF ~~ THEN BEGIN 463 // from: _MINSC:45.9 462.9
  SAY #100379 /* ~Wow. A damsel in distress, and a brave warrior to come rescue her. I wish that would happen to me.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Minsc","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #86853 /* ~Rescuing Dynaheir

I have agreed to help Minsc rescue his friend.  She is held captive at a gnoll stronghold, far west of Nashkel.~ */ EXIT
  IF ~Global("X#MinscImoenJoin3","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
!Class(Player1,MAGE_ALL)
!Class(Player1,CLERIC_ALL)
!Class(Player1,BARD_ALL)
!Class(Player1,DRUID_ALL)
~ THEN DO ~SetGlobal("X#MinscImoenJoin3","GLOBAL",1)~ GOTO 198
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 48
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_AJANTJ~ 284
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 47
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 189
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_MINSC~ 46
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 464
END

IF ~~ THEN BEGIN 464 // from: _MINSC:45.8 463.8 462.8
  SAY #100380 /* ~Actually, no, I don't. I don't mind the brave warrior, as long as he's handsome, but the part about being in danger I could do without.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Minsc","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #86853 /* ~Rescuing Dynaheir

I have agreed to help Minsc rescue his friend.  She is held captive at a gnoll stronghold, far west of Nashkel.~ */ EXIT
  IF ~Global("X#MinscImoenJoin3","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
!Class(Player1,MAGE_ALL)
!Class(Player1,CLERIC_ALL)
!Class(Player1,BARD_ALL)
!Class(Player1,DRUID_ALL)
~ THEN DO ~SetGlobal("X#MinscImoenJoin3","GLOBAL",1)~ GOTO 198
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 48
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_AJANTJ~ 284
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 47
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 189
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_MINSC~ 46
END

IF ~~ THEN BEGIN 465 // from: _MINSC:5.12
  SAY #100379 /* ~Wow. A damsel in distress, and a brave warrior to come rescue her. I wish that would happen to me.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Minsc","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #86853 /* ~Rescuing Dynaheir

I have agreed to help Minsc rescue his friend.  She is held captive at a gnoll stronghold, far west of Nashkel.~ */ EXIT
  IF ~Global("X#MinscImoenJoin3","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
!Class(Player1,MAGE_ALL)
!Class(Player1,CLERIC_ALL)
!Class(Player1,BARD_ALL)
!Class(Player1,DRUID_ALL)
~ THEN DO ~SetGlobal("X#MinscImoenJoin3","GLOBAL",1)~ GOTO 198
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 52
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_AJANTJ~ 285
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 51
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 190
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_MINSC~ 50
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 468
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 467
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
OR(4)
Class(Player1,MAGE_ALL)
Class(Player1,CLERIC_ALL)
Class(Player1,BARD_ALL)
Class(Player1,DRUID_ALL)
~ THEN EXTERN ~_MINSC~ 49
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
OR(4)
Class(Player1,MAGE_ALL)
Class(Player1,CLERIC_ALL)
Class(Player1,BARD_ALL)
Class(Player1,DRUID_ALL)
~ THEN GOTO 466
END

IF ~~ THEN BEGIN 466 // from: 465.11
  SAY #100380 /* ~Actually, no, I don't. I don't mind the brave warrior, as long as he's handsome, but the part about being in danger I could do without.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Minsc","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #86853 /* ~Rescuing Dynaheir

I have agreed to help Minsc rescue his friend.  She is held captive at a gnoll stronghold, far west of Nashkel.~ */ EXIT
  IF ~Global("X#MinscImoenJoin3","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
!Class(Player1,MAGE_ALL)
!Class(Player1,CLERIC_ALL)
!Class(Player1,BARD_ALL)
!Class(Player1,DRUID_ALL)
~ THEN DO ~SetGlobal("X#MinscImoenJoin3","GLOBAL",1)~ GOTO 198
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 52
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_AJANTJ~ 285
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 51
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 190
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_MINSC~ 50
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 468
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 467
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
OR(4)
Class(Player1,MAGE_ALL)
Class(Player1,CLERIC_ALL)
Class(Player1,BARD_ALL)
Class(Player1,DRUID_ALL)
~ THEN EXTERN ~_MINSC~ 49
END

IF ~~ THEN BEGIN 467 // from: _MINSC:49.9 466.9 465.9
  SAY #100379 /* ~Wow. A damsel in distress, and a brave warrior to come rescue her. I wish that would happen to me.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Minsc","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #86853 /* ~Rescuing Dynaheir

I have agreed to help Minsc rescue his friend.  She is held captive at a gnoll stronghold, far west of Nashkel.~ */ EXIT
  IF ~Global("X#MinscImoenJoin3","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
!Class(Player1,MAGE_ALL)
!Class(Player1,CLERIC_ALL)
!Class(Player1,BARD_ALL)
!Class(Player1,DRUID_ALL)
~ THEN DO ~SetGlobal("X#MinscImoenJoin3","GLOBAL",1)~ GOTO 198
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 52
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_AJANTJ~ 285
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 51
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 190
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_MINSC~ 50
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN GOTO 468
END

IF ~~ THEN BEGIN 468 // from: _MINSC:49.8 467.8 466.8 465.8
  SAY #100380 /* ~Actually, no, I don't. I don't mind the brave warrior, as long as he's handsome, but the part about being in danger I could do without.~ */
  IF ~~ THEN DO ~RevealAreaOnMap("FW5100")
JoinParty()
~ EXIT
  IF ~GlobalLT("HelpMinsc","GLOBAL",2)
!Dead("dynaheir")
~ THEN DO ~RevealAreaOnMap("FW5100")
SetGlobalTimer("Minsc","GLOBAL",TEN_DAYS)
JoinParty()
~ UNSOLVED_JOURNAL #86853 /* ~Rescuing Dynaheir

I have agreed to help Minsc rescue his friend.  She is held captive at a gnoll stronghold, far west of Nashkel.~ */ EXIT
  IF ~Global("X#MinscImoenJoin3","GLOBAL",0)
InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,MALE)
!Class(Player1,MAGE_ALL)
!Class(Player1,CLERIC_ALL)
!Class(Player1,BARD_ALL)
!Class(Player1,DRUID_ALL)
~ THEN DO ~SetGlobal("X#MinscImoenJoin3","GLOBAL",1)~ GOTO 198
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 52
  IF ~  InParty("ajantis")
InMyArea("ajantis")
!StateCheck("ajantis",CD_STATE_NOTVALID)
~ THEN EXTERN ~_AJANTJ~ 285
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_MINSC~ 51
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 190
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_MINSC~ 50
END

IF ~~ THEN BEGIN 469 // from:
  SAY #103572 /* ~Hey, ya know what? <CHARNAME> over 'ere was just locked out of <PRO_HISHER> home-town without a penny, and some monsters killed <PRO_HISHER> father. If anyone here should be jumping cliffs, it's <PRO_HIMHER>! And d'ya see <PRO_HIMHER> jumpin'? So what's yer problem?~ */
  IF ~~ THEN REPLY #86373 /* ~O.K.~ */ EXTERN ~_CHASE~ 1
  IF ~~ THEN REPLY #86374 /* ~No, by all the gods do not do such a thing!  There is so much to live for!~ */ EXTERN ~_CHASE~ 2
  IF ~~ THEN REPLY #86375 /* ~By all means, jump if you must.  More air for the rest of us.~ */ EXTERN ~_CHASE~ 3
  IF ~  InParty("xan")
InMyArea("xan")
!StateCheck("xan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHASE~ 9
  IF ~  InParty("xan")
InMyArea("xan")
!StateCheck("xan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_XANJ~ 282
END

IF ~~ THEN BEGIN 470 // from:
  SAY #103579 /* ~Firewine Bridge... that sounds familiar... where did I hear it? Uhm... In any case, ruins are ALWAYS full of treasure! And since we're experienced adventurers, we've nothin' ta worry about. Let's go there one day.~ */
  IF ~~ THEN REPLY #75896 /* ~What else can you tell me of it?~ */ EXTERN ~_SPENGIL~ 3
  IF ~~ THEN REPLY #75897 /* ~Is there anything interesting here in Beregost?~ */ EXTERN ~_SPENGIL~ 4
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 399
END

IF ~~ THEN BEGIN 471 // from:
  SAY #103601 /* ~Whoa! That's some really creepy magic there!~ */
  IF ~~ THEN DO ~CreateCreature("_KAHRK",[3476.852],0)
Kill("carsa")
~ EXIT
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CARSA~ 16
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
OR(3)
!InParty("montaron")
!InMyArea("montaron")
StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN EXTERN ~_XZARJ~ 243
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN EXTERN ~_XZARJ~ 242
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CARSA~ 15
END

IF ~~ THEN BEGIN 472 // from:
  SAY #103612 /* ~So those workers we just killed attacked us cuz of him or somethin' or another, right? Well then, how come none of us were affected, huh?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCharleston","GLOBAL",2)
~ EXTERN ~_CHARLE~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 26
END

IF ~~ THEN BEGIN 473 // from:
  SAY #103612 /* ~So those workers we just killed attacked us cuz of him or somethin' or another, right? Well then, how come none of us were affected, huh?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCharleston","GLOBAL",2)
~ EXTERN ~_CHARLE~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 28
END

IF ~~ THEN BEGIN 474 // from:
  SAY #103610 /* ~Ugh! My head hurts just trying ta make sense of what you're sayin' about this... Kozah. But, um, I guess he was some evil god, and this place has something ta do with him, like a temple, right?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCharleston","GLOBAL",2)
~ EXTERN ~_CHARLE~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 30
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 475
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 29
END

IF ~~ THEN BEGIN 475 // from: 474.2
  SAY #103612 /* ~So those workers we just killed attacked us cuz of him or somethin' or another, right? Well then, how come none of us were affected, huh?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCharleston","GLOBAL",2)
~ EXTERN ~_CHARLE~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 30
END

IF ~~ THEN BEGIN 476 // from:
  SAY #103610 /* ~Ugh! My head hurts just trying ta make sense of what you're sayin' about this... Kozah. But, um, I guess he was some evil god, and this place has something ta do with him, like a temple, right?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCharleston","GLOBAL",2)
~ EXTERN ~_CHARLE~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 32
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 477
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 31
END

IF ~~ THEN BEGIN 477 // from: 476.2
  SAY #103612 /* ~So those workers we just killed attacked us cuz of him or somethin' or another, right? Well then, how come none of us were affected, huh?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCharleston","GLOBAL",2)
~ EXTERN ~_CHARLE~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 32
END

IF ~~ THEN BEGIN 478 // from:
  SAY #103610 /* ~Ugh! My head hurts just trying ta make sense of what you're sayin' about this... Kozah. But, um, I guess he was some evil god, and this place has something ta do with him, like a temple, right?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCharleston","GLOBAL",2)
~ EXTERN ~_CHARLE~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 34
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 479
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 33
END

IF ~~ THEN BEGIN 479 // from: 478.2
  SAY #103612 /* ~So those workers we just killed attacked us cuz of him or somethin' or another, right? Well then, how come none of us were affected, huh?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCharleston","GLOBAL",2)
~ EXTERN ~_CHARLE~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 34
END

IF ~~ THEN BEGIN 480 // from:
  SAY #103612 /* ~So those workers we just killed attacked us cuz of him or somethin' or another, right? Well then, how come none of us were affected, huh?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCharleston","GLOBAL",2)
~ EXTERN ~_CHARLE~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 36
END

IF ~~ THEN BEGIN 481 // from:
  SAY #103612 /* ~So those workers we just killed attacked us cuz of him or somethin' or another, right? Well then, how come none of us were affected, huh?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCharleston","GLOBAL",2)
~ EXTERN ~_CHARLE~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 38
END

IF ~~ THEN BEGIN 482 // from:
  SAY #103610 /* ~Ugh! My head hurts just trying ta make sense of what you're sayin' about this... Kozah. But, um, I guess he was some evil god, and this place has something ta do with him, like a temple, right?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCharleston","GLOBAL",2)
~ EXTERN ~_CHARLE~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 40
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 483
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 39
END

IF ~~ THEN BEGIN 483 // from: 482.2
  SAY #103612 /* ~So those workers we just killed attacked us cuz of him or somethin' or another, right? Well then, how come none of us were affected, huh?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCharleston","GLOBAL",2)
~ EXTERN ~_CHARLE~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 40
END

IF ~~ THEN BEGIN 484 // from:
  SAY #103610 /* ~Ugh! My head hurts just trying ta make sense of what you're sayin' about this... Kozah. But, um, I guess he was some evil god, and this place has something ta do with him, like a temple, right?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCharleston","GLOBAL",2)
~ EXTERN ~_CHARLE~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 42
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 485
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 41
END

IF ~~ THEN BEGIN 485 // from: 484.2
  SAY #103612 /* ~So those workers we just killed attacked us cuz of him or somethin' or another, right? Well then, how come none of us were affected, huh?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCharleston","GLOBAL",2)
~ EXTERN ~_CHARLE~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 42
END

IF ~~ THEN BEGIN 486 // from:
  SAY #103610 /* ~Ugh! My head hurts just trying ta make sense of what you're sayin' about this... Kozah. But, um, I guess he was some evil god, and this place has something ta do with him, like a temple, right?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCharleston","GLOBAL",2)
~ EXTERN ~_CHARLE~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 44
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 487
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 43
END

IF ~~ THEN BEGIN 487 // from: 486.2
  SAY #103612 /* ~So those workers we just killed attacked us cuz of him or somethin' or another, right? Well then, how come none of us were affected, huh?~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToCharleston","GLOBAL",2)
~ EXTERN ~_CHARLE~ 21
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_CHARLE~ 44
END

IF ~~ THEN BEGIN 488 // from:
  SAY #103634 /* ~Huh, someone is grumpy today. Must have gotten up on the wrong side o' the bed or somethin'.~ */
  IF ~~ THEN DO ~SetGlobal("EmersonPermission","GLOBAL",1)
SetGlobal("SpokeToEmerson","GLOBAL",1)
EraseJournalEntry(77259)
~ UNSOLVED_JOURNAL #77273 /* ~Investigating the Nashkel mines

Emerson has given me a day to conduct a search of the Nashkel mine.  I doubt he would turn the guards on me for taking longer, though.  There are apparently more dangerous things to worry about down there.~ */ EXIT
  IF ~  InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN EXTERN ~_DYNAHJ~ 271
END

IF ~~ THEN BEGIN 489 // from: _GARRIC:6.10
  SAY #103654 /* ~<CHARNAME>, he can join us, right? *giggles* He is cute and he is a real bard! Someone's gotta write ballads about my beauty and bravery, ya know?~ */
  IF ~~ THEN REPLY #75015 /* ~Sorry, but we don't have any need for another companion.~ */ DO ~EscapeArea()
~ EXIT
  IF ~~ THEN REPLY #75016 /* ~Sure, the more the merrier.~ */ DO ~JoinParty()
~ EXIT
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIC~ 25
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_SHARTJ~ 239
  IF ~  Class(Player1,BARD)
Gender(Player1,MALE)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 238
  IF ~  Class(Player1,BARD)
Gender(Player1,FEMALE)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 237
  IF ~  !Class(Player1,BARD)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 236
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 235
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 234
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIC~ 24
END

IF ~~ THEN BEGIN 490 // from: _GARRIC:6.11
  SAY #103653 /* ~You'll be much better off with us...~ */
  IF ~~ THEN REPLY #75015 /* ~Sorry, but we don't have any need for another companion.~ */ DO ~EscapeArea()
~ EXIT
  IF ~~ THEN REPLY #75016 /* ~Sure, the more the merrier.~ */ DO ~JoinParty()
~ EXIT
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIC~ 27
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_SHARTJ~ 245
  IF ~  Class(Player1,BARD)
Gender(Player1,MALE)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 244
  IF ~  Class(Player1,BARD)
Gender(Player1,FEMALE)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 243
  IF ~  !Class(Player1,BARD)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 242
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 241
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 240
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIC~ 26
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 491
END

IF ~~ THEN BEGIN 491 // from: 490.10
  SAY #103654 /* ~<CHARNAME>, he can join us, right? *giggles* He is cute and he is a real bard! Someone's gotta write ballads about my beauty and bravery, ya know?~ */
  IF ~~ THEN REPLY #75015 /* ~Sorry, but we don't have any need for another companion.~ */ DO ~EscapeArea()
~ EXIT
  IF ~~ THEN REPLY #75016 /* ~Sure, the more the merrier.~ */ DO ~JoinParty()
~ EXIT
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIC~ 27
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_SHARTJ~ 245
  IF ~  Class(Player1,BARD)
Gender(Player1,MALE)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 244
  IF ~  Class(Player1,BARD)
Gender(Player1,FEMALE)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 243
  IF ~  !Class(Player1,BARD)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 242
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 241
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 240
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIC~ 26
END

IF ~~ THEN BEGIN 492 // from: _GARRIC:6.12
  SAY #103652 /* ~Yeah, that was a real rotten thing she tricked <CHARNAME> into doing!~ */
  IF ~~ THEN REPLY #75015 /* ~Sorry, but we don't have any need for another companion.~ */ DO ~EscapeArea()
~ EXIT
  IF ~~ THEN REPLY #75016 /* ~Sure, the more the merrier.~ */ DO ~JoinParty()
~ EXIT
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIC~ 29
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_SHARTJ~ 251
  IF ~  Class(Player1,BARD)
Gender(Player1,MALE)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 250
  IF ~  Class(Player1,BARD)
Gender(Player1,FEMALE)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 249
  IF ~  !Class(Player1,BARD)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 248
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 247
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 246
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIC~ 28
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 494
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 493
END

IF ~~ THEN BEGIN 493 // from: 492.11
  SAY #103653 /* ~You'll be much better off with us...~ */
  IF ~~ THEN REPLY #75015 /* ~Sorry, but we don't have any need for another companion.~ */ DO ~EscapeArea()
~ EXIT
  IF ~~ THEN REPLY #75016 /* ~Sure, the more the merrier.~ */ DO ~JoinParty()
~ EXIT
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIC~ 29
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_SHARTJ~ 251
  IF ~  Class(Player1,BARD)
Gender(Player1,MALE)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 250
  IF ~  Class(Player1,BARD)
Gender(Player1,FEMALE)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 249
  IF ~  !Class(Player1,BARD)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 248
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 247
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 246
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIC~ 28
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN GOTO 494
END

IF ~~ THEN BEGIN 494 // from: 493.10 492.10
  SAY #103654 /* ~<CHARNAME>, he can join us, right? *giggles* He is cute and he is a real bard! Someone's gotta write ballads about my beauty and bravery, ya know?~ */
  IF ~~ THEN REPLY #75015 /* ~Sorry, but we don't have any need for another companion.~ */ DO ~EscapeArea()
~ EXIT
  IF ~~ THEN REPLY #75016 /* ~Sure, the more the merrier.~ */ DO ~JoinParty()
~ EXIT
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIC~ 29
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
Gender(Player1,FEMALE)
~ THEN EXTERN ~_SHARTJ~ 251
  IF ~  Class(Player1,BARD)
Gender(Player1,MALE)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 250
  IF ~  Class(Player1,BARD)
Gender(Player1,FEMALE)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 249
  IF ~  !Class(Player1,BARD)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 248
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 247
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 246
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_GARRIC~ 28
END

IF ~~ THEN BEGIN 495 // from: _JAHEIR:6.6
  SAY #103670 /* ~Yeah! Uncle Khalid and Auntie Jaheira are coming with us! This is going to be a great adventure, after all!~ */
  IF ~~ THEN DO ~SetGlobalTimer("Jaheira","GLOBAL",FOUR_DAYS)
SetGlobalTimer("Khalid","GLOBAL",TWELVE_DAYS)
ActionOverride("khalid",JoinParty())
JoinParty()
~ UNSOLVED_JOURNAL #87852 /* ~Jaheira and Khalid

Jaheira and Khalid would have me accompany them to Nashkel.~ */ EXIT
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIR~ 23
  IF ~  OR(2)
Gender(Player1,MALE)
!Class(Player1,DRUID_ALL)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 278
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 277
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 276
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIR~ 22
END

IF ~~ THEN BEGIN 496 // from: _JAHEIR:8.6
  SAY #103670 /* ~Yeah! Uncle Khalid and Auntie Jaheira are coming with us! This is going to be a great adventure, after all!~ */
  IF ~~ THEN DO ~SetGlobalTimer("Jaheira","GLOBAL",FOUR_DAYS)
SetGlobalTimer("Khalid","GLOBAL",TWELVE_DAYS)
ActionOverride("khalid",JoinParty())
JoinParty()
~ UNSOLVED_JOURNAL #87852 /* ~Jaheira and Khalid

Jaheira and Khalid would have me accompany them to Nashkel.~ */ EXIT
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIR~ 31
  IF ~  OR(2)
Gender(Player1,MALE)
!Class(Player1,DRUID_ALL)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 290
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 289
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 288
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIR~ 30
END

IF ~~ THEN BEGIN 497 // from: _JAHEIR:14.6
  SAY #103670 /* ~Yeah! Uncle Khalid and Auntie Jaheira are coming with us! This is going to be a great adventure, after all!~ */
  IF ~~ THEN DO ~SetGlobalTimer("Jaheira","GLOBAL",FOUR_DAYS)
SetGlobalTimer("Khalid","GLOBAL",TWELVE_DAYS)
ActionOverride("khalid",JoinParty())
JoinParty()
~ EXIT
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIR~ 39
  IF ~  OR(2)
Gender(Player1,MALE)
!Class(Player1,DRUID_ALL)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 302
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 301
  IF ~  InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN EXTERN ~_SHARTJ~ 300
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_JAHEIR~ 38
END

IF ~~ THEN BEGIN 498 // from: _KISSIQ:1.5
  SAY #100356 /* ~Okay. This I gotta see. Err, hear.~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~Global("TalkedToChicken","GLOBAL",0)
~ THEN DO ~EscapeArea()
~ UNSOLVED_JOURNAL #86582 /* ~Madness most fowl

Today I met a madman named Kissiq.  He seemed quite obsessed and disturbed by his supposed encounter with a talking chicken.  While I doubt his sanity, I find the lure of such adventure rather hard to suppress.  He claimed that the chicken lay to the east of him, should I ever choose to investigate it further.~ */ EXIT
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Global("TalkedToChicken","GLOBAL",0)
~ THEN EXTERN ~_KISSIQ~ 9
  IF ~  InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
Global("TalkedToChicken","GLOBAL",0)
~ THEN EXTERN ~_GARRIJ~ 253
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
Global("TalkedToChicken","GLOBAL",0)
~ THEN EXTERN ~_KISSIQ~ 8
END

IF ~~ THEN BEGIN 499 // from:
  SAY #103758 /* ~Garrick is not little! Good thing ya're an actress, not a painter; would have been a problem bein' blind, huh. 'Cause if ya don't see for yourself how tall he is, ya sure are blind!~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToGarrick","GLOBAL",2)
~ EXTERN ~_GARRIC~ 9
END

IF ~~ THEN BEGIN 500 // from:
  SAY #103758 /* ~Garrick is not little! Good thing ya're an actress, not a painter; would have been a problem bein' blind, huh. 'Cause if ya don't see for yourself how tall he is, ya sure are blind!~ */
  IF ~~ THEN DO ~SetGlobal("TalkedToGarrick","GLOBAL",2)
~ EXTERN ~_GARRIC~ 9
END

IF ~~ THEN BEGIN 501 // from:
  SAY #103782 /* ~Someone really needs to give him a clue!~ */
  IF ~PartyHasItem("RING25")
~ THEN REPLY #74513 /* ~But I have done nothing wrong!  Why have you accused me of such a thing?~ */ EXTERN ~_ULRAUN~ 4
  IF ~~ THEN REPLY #74515 /* ~Fine, do your worst you old coot.~ */ EXTERN ~_ULRAUN~ 6
  IF ~!PartyHasItem("RING25")
~ THEN REPLY #74516 /* ~But I have done nothing wrong! Why have you accused me of such a thing?~ */ EXTERN ~_ULRAUN~ 5
  IF ~  InParty("kivan")
InMyArea("kivan")
!StateCheck("kivan",CD_STATE_NOTVALID)
~ THEN EXTERN ~_KIVANJ~ 430
END

IF ~~ THEN BEGIN 502 // from:
  SAY #103788 /* ~I'm glad ya agreed ta help out, <CHARNAME>. By Mask, I hoped enough times that someone'd bail *me* outta trouble when I was of an age with Varci!~ */
  IF ~~ THEN DO ~SetGlobal("HelpVarci","GLOBAL",1)
MoveToPoint([900.717])
OpenDoor("door0617")
DestroySelf()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VARCI~ 13
END

IF ~~ THEN BEGIN 503 // from:
  SAY #103788 /* ~I'm glad ya agreed ta help out, <CHARNAME>. By Mask, I hoped enough times that someone'd bail *me* outta trouble when I was of an age with Varci!~ */
  IF ~~ THEN DO ~SetGlobal("HelpVarci","GLOBAL",1)
MoveToPoint([900.717])
OpenDoor("door0617")
DestroySelf()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VARCI~ 15
END

IF ~~ THEN BEGIN 504 // from:
  SAY #103788 /* ~I'm glad ya agreed ta help out, <CHARNAME>. By Mask, I hoped enough times that someone'd bail *me* outta trouble when I was of an age with Varci!~ */
  IF ~~ THEN DO ~SetGlobal("HelpVarci","GLOBAL",1)
MoveToPoint([900.717])
OpenDoor("door0617")
DestroySelf()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VARCI~ 17
END

IF ~~ THEN BEGIN 505 // from:
  SAY #103788 /* ~I'm glad ya agreed ta help out, <CHARNAME>. By Mask, I hoped enough times that someone'd bail *me* outta trouble when I was of an age with Varci!~ */
  IF ~~ THEN DO ~SetGlobal("HelpVarci","GLOBAL",1)
MoveToPoint([900.717])
OpenDoor("door0617")
DestroySelf()
~ EXIT
  IF ~  InParty("imoen")
InMyArea("imoen")
!StateCheck("imoen",CD_STATE_NOTVALID)
~ THEN EXTERN ~_VARCI~ 19
END

IF WEIGHT #0 ~  Global("X#DYIMRE","GLOBAL",1)
~ THEN BEGIN 506 // from:
  SAY #110530 /* ~<CHARNAME>! Look what I... *giggle* Hey! I caught ya staring at Dynaheir again!~ */
  IF ~~ THEN GOTO 507
END

IF ~~ THEN BEGIN 507 // from: 506.0
  SAY #110531 /* ~I know, what's up!~ */
  IF ~~ THEN GOTO 508
END

IF ~~ THEN BEGIN 508 // from: 507.0
  SAY #110532 /* ~We gotta' have the talk!~ */
  IF ~~ THEN REPLY #110533 /* ~The Talk? Gorion gave me the Talk ten years ago!~ */ DO ~SetGlobal("X#DYIMRE","GLOBAL",2)
RealSetGlobalTimer("X#DYReactionTime","GLOBAL",DYROM_TIMER)
~ GOTO 509
  IF ~~ THEN REPLY #110534 /* ~Very well, out with it.~ */ DO ~SetGlobal("X#DYIMRE","GLOBAL",2)
RealSetGlobalTimer("X#DYReactionTime","GLOBAL",DYROM_TIMER)
~ GOTO 510
  IF ~~ THEN REPLY #110535 /* ~Imoen! I'm the elder! It's me who is supposed to give you the talks!~ */ DO ~SetGlobal("X#DYIMRE","GLOBAL",2)
RealSetGlobalTimer("X#DYReactionTime","GLOBAL",DYROM_TIMER)
~ GOTO 511
  IF ~~ THEN REPLY #110536 /* ~Since when have you become an expert in the matters of heart?~ */ DO ~SetGlobal("X#DYIMRE","GLOBAL",2)
RealSetGlobalTimer("X#DYReactionTime","GLOBAL",DYROM_TIMER)
~ GOTO 513
  IF ~~ THEN REPLY #110537 /* ~Well, tell me what's up first and then-~ */ DO ~SetGlobal("X#DYIMRE","GLOBAL",2)
RealSetGlobalTimer("X#DYReactionTime","GLOBAL",DYROM_TIMER)
~ GOTO 515
END

IF ~~ THEN BEGIN 509 // from: 508.0
  SAY #110538 /* ~Not *that* talk, silly! I mean the art behind the science!~ */
  IF ~~ THEN REPLY #110539 /* ~Ok, go ahead.~ */ GOTO 510
  IF ~~ THEN REPLY #110540 /* ~Seduction, Imoen style... does it involve pink bunnies?~ */ GOTO 517
  IF ~~ THEN REPLY #110541 /* ~Imoen, you have come dangerously close to endangering our friendship. Step no further!~ */ GOTO 518
END

IF ~~ THEN BEGIN 510 // from: 517.0 516.0 514.0 512.0 509.0 508.1
  SAY #110542 /* ~So for the first thing, ya gotta be... romantic. Like that flower thing...~ */
  IF ~~ THEN REPLY #110543 /* ~Right. Does poultice for wounds count? It's sorta herbal.~ */ GOTO 519
  IF ~~ THEN REPLY #110541 /* ~Imoen, you have come dangerously close to endangering our friendship. Step no further!~ */ GOTO 518
END

IF ~~ THEN BEGIN 511 // from: 508.2
  SAY #110544 /* ~*She snorts.* Older, but none the wiser.~ */
  IF ~~ THEN GOTO 512
END

IF ~~ THEN BEGIN 512 // from: 511.0
  SAY #110545 /* ~Listen and learn!~ */
  IF ~~ THEN GOTO 510
END

IF ~~ THEN BEGIN 513 // from: 508.3
  SAY #110546 /* ~Wee! You're the last one to get clued in, as usual!~ */
  IF ~~ THEN GOTO 514
END

IF ~~ THEN BEGIN 514 // from: 513.0
  SAY #110545 /* ~Listen and learn!~ */
  IF ~~ THEN GOTO 510
END

IF ~~ THEN BEGIN 515 // from: 508.4
  SAY #110547 /* ~*She giggles.* You're so cute when you've got this 'I'm smarter-than-Elminster' look! You're in love with Dynaheir, that's what's up.~ */
  IF ~~ THEN GOTO 516
END

IF ~~ THEN BEGIN 516 // from: 515.0
  SAY #110548 /* ~And she's a lady. If you wanna impress her, listen and learn!~ */
  IF ~~ THEN GOTO 510
END

IF ~~ THEN BEGIN 517 // from: 509.1
  SAY #110549 /* ~Nope. Pay attention, you!~ */
  IF ~~ THEN GOTO 510
END

IF ~~ THEN BEGIN 518 // from: 510.1 509.2
  SAY #110550 /* ~Grumpy pants! *She sticks her tongue out at you.*~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 519 // from: 510.0
  SAY #110551 /* ~Wee... This talk is not a moment too soon. Roses, dummy, not fennel or mint! And some neat kind of jewelry; we have plenty in our backpacks... nope, that won't do.~ */
  IF ~~ THEN GOTO 520
END

IF ~~ THEN BEGIN 520 // from: 519.0
  SAY #110552 /* ~Wait till we come to a city... I'll get ya something decent for your lady. And don't worry 'bout expenses. I got that all... er... in hand! *She pats you on the shoulder.* Dontcha worry, Imoen the Magnificent is on the case!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 521 // from:
  SAY #110553 /* ~I *know* it. The question is if ya do! A bunch o' forget-me-nots picked by that drainin' trench near the Crooked Tower won't do anymore!~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #30 ~  IsGabber(Player1)
~ THEN BEGIN 522 // from:
  SAY #115742 /* ~*Imoen seems a little quiet for her. Funnily enough, you do not know all that much about your oldest friend. Perhaps this is a good time to find out what Imoen is all about.*~ [X#BLANKD] */
  IF ~~ THEN REPLY #115743 /* ~*You decide that you cannot be bothered, lest you learn things you do not want to know about Imoen.*~ */ EXIT
  IF ~  GlobalLT("Chapter","GLOBAL",6)
Global("X#IMCHdone","GLOBAL",1)
RandomNum(4,1)
~ THEN REPLY #115744 /* ~So, Imoen, can you tell me more about yourself?~ */ GOTO 547
  IF ~  GlobalLT("Chapter","GLOBAL",6)
Global("X#IMCHdone","GLOBAL",1)
RandomNum(4,2)
~ THEN REPLY #115744 /* ~So, Imoen, can you tell me more about yourself?~ */ GOTO 548
  IF ~  GlobalLT("Chapter","GLOBAL",6)
Global("X#IMCHdone","GLOBAL",1)
RandomNum(4,3)
~ THEN REPLY #115744 /* ~So, Imoen, can you tell me more about yourself?~ */ GOTO 549
  IF ~  GlobalLT("Chapter","GLOBAL",6)
Global("X#IMCHdone","GLOBAL",1)
RandomNum(4,4)
~ THEN REPLY #115744 /* ~So, Imoen, can you tell me more about yourself?~ */ GOTO 551
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
RandomNum(5,1)
~ THEN REPLY #115745 /* ~*You ask Imoen lots of personal questions.*~ */ GOTO 544
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
RandomNum(5,2)
~ THEN REPLY #115745 /* ~*You ask Imoen lots of personal questions.*~ */ GOTO 547
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
RandomNum(5,3)
~ THEN REPLY #115745 /* ~*You ask Imoen lots of personal questions.*~ */ GOTO 548
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
RandomNum(5,4)
~ THEN REPLY #115745 /* ~*You ask Imoen lots of personal questions.*~ */ GOTO 549
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
RandomNum(5,5)
~ THEN REPLY #115745 /* ~*You ask Imoen lots of personal questions.*~ */ GOTO 551
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
CheckStatGT(Player1,15,INT)
RandomNum(2,1)
~ THEN REPLY #115746 /* ~*You proceed with asking inquisitive questions about Imoen's past.* ~ */ GOTO 544
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
CheckStatGT(Player1,15,INT)
RandomNum(2,2)
~ THEN REPLY #115746 /* ~*You proceed with asking inquisitive questions about Imoen's past.* ~ */ GOTO 547
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,INT)
RandomNum(5,1)
~ THEN REPLY #115746 /* ~*You proceed with asking inquisitive questions about Imoen's past.* ~ */ GOTO 544
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,INT)
RandomNum(5,2)
~ THEN REPLY #115746 /* ~*You proceed with asking inquisitive questions about Imoen's past.* ~ */ GOTO 547
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,INT)
RandomNum(5,3)
~ THEN REPLY #115746 /* ~*You proceed with asking inquisitive questions about Imoen's past.* ~ */ GOTO 548
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,INT)
RandomNum(5,4)
~ THEN REPLY #115746 /* ~*You proceed with asking inquisitive questions about Imoen's past.* ~ */ GOTO 549
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,INT)
RandomNum(5,5)
~ THEN REPLY #115746 /* ~*You proceed with asking inquisitive questions about Imoen's past.* ~ */ GOTO 551
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
CheckStatGT(Player1,15,WIS)
RandomNum(2,1)
~ THEN REPLY #115747 /* ~*You talk about Imoen's problems and hopes, in a friendly and kind manner, in hopes of making Imoen confide in you.*~ */ GOTO 544
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
CheckStatGT(Player1,15,WIS)
RandomNum(2,2)
~ THEN REPLY #115747 /* ~*You talk about Imoen's problems and hopes, in a friendly and kind manner, in hopes of making Imoen confide in you.*~ */ GOTO 548
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,WIS)
RandomNum(5,1)
~ THEN REPLY #115747 /* ~*You talk about Imoen's problems and hopes, in a friendly and kind manner, in hopes of making Imoen confide in you.*~ */ GOTO 544
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,WIS)
RandomNum(5,2)
~ THEN REPLY #115747 /* ~*You talk about Imoen's problems and hopes, in a friendly and kind manner, in hopes of making Imoen confide in you.*~ */ GOTO 547
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,WIS)
RandomNum(5,3)
~ THEN REPLY #115747 /* ~*You talk about Imoen's problems and hopes, in a friendly and kind manner, in hopes of making Imoen confide in you.*~ */ GOTO 548
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,WIS)
RandomNum(5,4)
~ THEN REPLY #115747 /* ~*You talk about Imoen's problems and hopes, in a friendly and kind manner, in hopes of making Imoen confide in you.*~ */ GOTO 549
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,WIS)
RandomNum(5,5)
~ THEN REPLY #115747 /* ~*You talk about Imoen's problems and hopes, in a friendly and kind manner, in hopes of making Imoen confide in you.*~ */ GOTO 551
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
CheckStatGT(Player1,15,CHR)
RandomNum(2,1)
~ THEN REPLY #115748 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Imoen into telling you more about herself.* ~ */ GOTO 544
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
CheckStatGT(Player1,15,CHR)
RandomNum(2,2)
~ THEN REPLY #115748 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Imoen into telling you more about herself.* ~ */ GOTO 549
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,CHR)
RandomNum(5,1)
~ THEN REPLY #115748 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Imoen into telling you more about herself.* ~ */ GOTO 544
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,CHR)
RandomNum(5,2)
~ THEN REPLY #115748 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Imoen into telling you more about herself.* ~ */ GOTO 547
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,CHR)
RandomNum(5,3)
~ THEN REPLY #115748 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Imoen into telling you more about herself.* ~ */ GOTO 549
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,CHR)
RandomNum(5,4)
~ THEN REPLY #115748 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Imoen into telling you more about herself.* ~ */ GOTO 548
  IF ~  GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,CHR)
RandomNum(5,5)
~ THEN REPLY #115748 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Imoen into telling you more about herself.* ~ */ GOTO 551
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
Global("X#IMCHdone","GLOBAL",1)
RandomNum(4,1)
~ THEN REPLY #115744 /* ~So, Imoen, can you tell me more about yourself?~ */ GOTO 547
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
Global("X#IMCHdone","GLOBAL",1)
RandomNum(4,2)
~ THEN REPLY #115744 /* ~So, Imoen, can you tell me more about yourself?~ */ GOTO 548
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
Global("X#IMCHdone","GLOBAL",1)
RandomNum(4,3)
~ THEN REPLY #115744 /* ~So, Imoen, can you tell me more about yourself?~ */ GOTO 549
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
Global("X#IMCHdone","GLOBAL",1)
RandomNum(4,4)
~ THEN REPLY #115744 /* ~So, Imoen, can you tell me more about yourself?~ */ GOTO 551
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
RandomNum(5,1)
~ THEN REPLY #115745 /* ~*You ask Imoen lots of personal questions.*~ */ GOTO 541
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
RandomNum(5,2)
~ THEN REPLY #115745 /* ~*You ask Imoen lots of personal questions.*~ */ GOTO 547
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
RandomNum(5,3)
~ THEN REPLY #115745 /* ~*You ask Imoen lots of personal questions.*~ */ GOTO 548
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
RandomNum(5,4)
~ THEN REPLY #115745 /* ~*You ask Imoen lots of personal questions.*~ */ GOTO 549
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
RandomNum(5,5)
~ THEN REPLY #115745 /* ~*You ask Imoen lots of personal questions.*~ */ GOTO 551
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
CheckStatGT(Player1,15,INT)
RandomNum(2,1)
~ THEN REPLY #115746 /* ~*You proceed with asking inquisitive questions about Imoen's past.* ~ */ GOTO 541
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
CheckStatGT(Player1,15,INT)
RandomNum(2,2)
~ THEN REPLY #115746 /* ~*You proceed with asking inquisitive questions about Imoen's past.* ~ */ GOTO 547
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,INT)
RandomNum(5,1)
~ THEN REPLY #115746 /* ~*You proceed with asking inquisitive questions about Imoen's past.* ~ */ GOTO 541
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,INT)
RandomNum(5,2)
~ THEN REPLY #115746 /* ~*You proceed with asking inquisitive questions about Imoen's past.* ~ */ GOTO 547
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,INT)
RandomNum(5,3)
~ THEN REPLY #115746 /* ~*You proceed with asking inquisitive questions about Imoen's past.* ~ */ GOTO 548
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,INT)
RandomNum(5,4)
~ THEN REPLY #115746 /* ~*You proceed with asking inquisitive questions about Imoen's past.* ~ */ GOTO 549
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,INT)
RandomNum(5,5)
~ THEN REPLY #115746 /* ~*You proceed with asking inquisitive questions about Imoen's past.* ~ */ GOTO 551
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
CheckStatGT(Player1,15,WIS)
RandomNum(2,1)
~ THEN REPLY #115747 /* ~*You talk about Imoen's problems and hopes, in a friendly and kind manner, in hopes of making Imoen confide in you.*~ */ GOTO 541
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
CheckStatGT(Player1,15,WIS)
RandomNum(2,2)
~ THEN REPLY #115747 /* ~*You talk about Imoen's problems and hopes, in a friendly and kind manner, in hopes of making Imoen confide in you.*~ */ GOTO 548
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,WIS)
RandomNum(5,1)
~ THEN REPLY #115747 /* ~*You talk about Imoen's problems and hopes, in a friendly and kind manner, in hopes of making Imoen confide in you.*~ */ GOTO 541
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,WIS)
RandomNum(5,2)
~ THEN REPLY #115747 /* ~*You talk about Imoen's problems and hopes, in a friendly and kind manner, in hopes of making Imoen confide in you.*~ */ GOTO 547
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,WIS)
RandomNum(5,3)
~ THEN REPLY #115747 /* ~*You talk about Imoen's problems and hopes, in a friendly and kind manner, in hopes of making Imoen confide in you.*~ */ GOTO 548
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,WIS)
RandomNum(5,4)
~ THEN REPLY #115747 /* ~*You talk about Imoen's problems and hopes, in a friendly and kind manner, in hopes of making Imoen confide in you.*~ */ GOTO 549
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,WIS)
RandomNum(5,5)
~ THEN REPLY #115747 /* ~*You talk about Imoen's problems and hopes, in a friendly and kind manner, in hopes of making Imoen confide in you.*~ */ GOTO 551
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
CheckStatGT(Player1,15,CHR)
RandomNum(2,1)
~ THEN REPLY #115748 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Imoen into telling you more about herself.* ~ */ GOTO 541
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
CheckStatGT(Player1,15,CHR)
RandomNum(2,2)
~ THEN REPLY #115748 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Imoen into telling you more about herself.* ~ */ GOTO 549
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,CHR)
RandomNum(5,1)
~ THEN REPLY #115748 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Imoen into telling you more about herself.* ~ */ GOTO 541
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,CHR)
RandomNum(5,2)
~ THEN REPLY #115748 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Imoen into telling you more about herself.* ~ */ GOTO 547
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,CHR)
RandomNum(5,3)
~ THEN REPLY #115748 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Imoen into telling you more about herself.* ~ */ GOTO 549
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,CHR)
RandomNum(5,4)
~ THEN REPLY #115748 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Imoen into telling you more about herself.* ~ */ GOTO 548
  IF ~  !GlobalLT("Chapter","GLOBAL",6)
!Global("X#IMCHdone","GLOBAL",1)
!CheckStatGT(Player1,15,CHR)
RandomNum(5,5)
~ THEN REPLY #115748 /* ~*You are used to hearing things from the bottom of people's hearts... so you try to charm Imoen into telling you more about herself.* ~ */ GOTO 551
  IF ~  CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
CheckStatLT("imoen",7,ENCUMBERANCE)
!HPPercentLT("imoen",75)
!AreaType(CITY)
RandomNum(2,1)
~ THEN REPLY #115749 /* ~So, Imoen, how's this adventure going?~ */ GOTO 533
  IF ~  CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
CheckStatLT("imoen",7,ENCUMBERANCE)
!HPPercentLT("imoen",75)
!AreaType(CITY)
RandomNum(2,2)
~ THEN REPLY #115749 /* ~So, Imoen, how's this adventure going?~ */ GOTO 534
  IF ~  !CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
CheckStatLT("imoen",7,ENCUMBERANCE)
!HPPercentLT("imoen",75)
!AreaType(CITY)
~ THEN REPLY #115749 /* ~So, Imoen, how's this adventure going?~ */ GOTO 535
  IF ~  CheckStatLT("imoen",7,FATIGUE)
!CheckStatLT("imoen",7,INTOXICATION)
CheckStatLT("imoen",7,ENCUMBERANCE)
!HPPercentLT("imoen",75)
!AreaType(CITY)
~ THEN REPLY #115749 /* ~So, Imoen, how's this adventure going?~ */ GOTO 536
  IF ~  CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
!CheckStatLT("imoen",7,ENCUMBERANCE)
!HPPercentLT("imoen",75)
!AreaType(CITY)
~ THEN REPLY #115749 /* ~So, Imoen, how's this adventure going?~ */ GOTO 537
  IF ~  CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
!CheckStatLT("imoen",7,ENCUMBERANCE)
HPPercentLT("imoen",75)
!AreaType(CITY)
~ THEN REPLY #115749 /* ~So, Imoen, how's this adventure going?~ */ GOTO 538
  IF ~  CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
!CheckStatLT("imoen",7,ENCUMBERANCE)
!HPPercentLT("imoen",75)
AreaType(CITY)
RandomNum(2,1)
~ THEN REPLY #115749 /* ~So, Imoen, how's this adventure going?~ */ GOTO 539
  IF ~  CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
!CheckStatLT("imoen",7,ENCUMBERANCE)
!HPPercentLT("imoen",75)
AreaType(CITY)
RandomNum(2,2)
~ THEN REPLY #115749 /* ~So, Imoen, how's this adventure going?~ */ GOTO 540
  IF ~  !AreaCheck("FW2626")
ReputationGT(Player1,5)
ReputationLT(Player1,19)
CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
!HPPercentLT("imoen",75)
!AreaType(DUNGEON)
RandomNum(3,1)
~ THEN REPLY #115750 /* ~Hmm? What seems to be wrong, Imoen?~ */ GOTO 524
  IF ~  !AreaCheck("FW2626")
ReputationGT(Player1,5)
ReputationLT(Player1,19)
CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
!HPPercentLT("imoen",75)
!AreaType(DUNGEON)
RandomNum(3,2)
~ THEN REPLY #115750 /* ~Hmm? What seems to be wrong, Imoen?~ */ GOTO 525
  IF ~  !AreaCheck("FW2626")
ReputationGT(Player1,5)
ReputationLT(Player1,19)
CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
!HPPercentLT("imoen",75)
!AreaType(DUNGEON)
RandomNum(3,3)
~ THEN REPLY #115750 /* ~Hmm? What seems to be wrong, Imoen?~ */ GOTO 526
  IF ~  !AreaCheck("FW2626")
ReputationLT(Player1,6)
CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
!HPPercentLT("imoen",75)
!AreaType(DUNGEON)
RandomNum(3,1)
~ THEN REPLY #115750 /* ~Hmm? What seems to be wrong, Imoen?~ */ GOTO 524
  IF ~  !AreaCheck("FW2626")
ReputationLT(Player1,6)
CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
!HPPercentLT("imoen",75)
!AreaType(DUNGEON)
RandomNum(3,2)
~ THEN REPLY #115750 /* ~Hmm? What seems to be wrong, Imoen?~ */ GOTO 525
  IF ~  !AreaCheck("FW2626")
ReputationLT(Player1,6)
CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
!HPPercentLT("imoen",75)
!AreaType(DUNGEON)
RandomNum(3,3)
~ THEN REPLY #115750 /* ~Hmm? What seems to be wrong, Imoen?~ */ GOTO 527
  IF ~  !AreaCheck("FW2626")
ReputationGT(Player1,18)
CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
!HPPercentLT("imoen",75)
!AreaType(DUNGEON)
RandomNum(3,1)
~ THEN REPLY #115750 /* ~Hmm? What seems to be wrong, Imoen?~ */ GOTO 524
  IF ~  !AreaCheck("FW2626")
ReputationGT(Player1,18)
CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
!HPPercentLT("imoen",75)
!AreaType(DUNGEON)
RandomNum(3,2)
~ THEN REPLY #115750 /* ~Hmm? What seems to be wrong, Imoen?~ */ GOTO 525
  IF ~  !AreaCheck("FW2626")
ReputationGT(Player1,18)
CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
!HPPercentLT("imoen",75)
!AreaType(DUNGEON)
RandomNum(3,3)
~ THEN REPLY #115750 /* ~Hmm? What seems to be wrong, Imoen?~ */ GOTO 528
  IF ~  AreaCheck("FW2626")
CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
!HPPercentLT("imoen",75)
!AreaType(DUNGEON)
~ THEN REPLY #115750 /* ~Hmm? What seems to be wrong, Imoen?~ */ GOTO 525
  IF ~  CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
!HPPercentLT("imoen",75)
AreaType(DUNGEON)
~ THEN REPLY #115750 /* ~Hmm? What seems to be wrong, Imoen?~ */ GOTO 529
  IF ~  !CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
!HPPercentLT("imoen",75)
!AreaType(DUNGEON)
~ THEN REPLY #115750 /* ~Hmm? What seems to be wrong, Imoen?~ */ GOTO 530
  IF ~  CheckStatLT("imoen",7,FATIGUE)
!CheckStatLT("imoen",7,INTOXICATION)
!HPPercentLT("imoen",75)
!AreaType(DUNGEON)
~ THEN REPLY #115750 /* ~Hmm? What seems to be wrong, Imoen?~ */ GOTO 531
  IF ~  CheckStatLT("imoen",7,FATIGUE)
CheckStatLT("imoen",7,INTOXICATION)
HPPercentLT("imoen",75)
!AreaType(DUNGEON)
~ THEN REPLY #115750 /* ~Hmm? What seems to be wrong, Imoen?~ */ GOTO 532
  IF ~~ THEN REPLY #115751 /* ~Imoen, your voice is... strange.~ */ GOTO 523
END

IF ~~ THEN BEGIN 523 // from: 522.83
  SAY #100238 /* ~*coughs*~ */
  IF ~~ THEN DO ~SetName(16454)
SetPlayerSound(Myself,86085,INITIAL_MEETING)
SetPlayerSound(Myself,87673,MORALE)
SetPlayerSound(Myself,86094,UNHAPPY_ANNOYED)
SetPlayerSound(Myself,86093,LEADER)
SetPlayerSound(Myself,86086,TIRED)
SetPlayerSound(Myself,86087,BORED)
SetPlayerSound(Myself,87674,BATTLE_CRY1)
SetPlayerSound(Myself,87674,BATTLE_CRY2)
SetPlayerSound(Myself,87674,BATTLE_CRY3)
SetPlayerSound(Myself,87674,BATTLE_CRY4)
SetPlayerSound(Myself,87674,BATTLE_CRY5)
SetPlayerSound(Myself,86088,DAMAGE)
SetPlayerSound(Myself,86089,DYING)
SetPlayerSound(Myself,86090,HURT)
SetPlayerSound(Myself,87675,AREA_DUNGEON)
SetPlayerSound(Myself,86091,SELECT_COMMON1)
SetPlayerSound(Myself,86096,SELECT_COMMON2)
SetPlayerSound(Myself,86095,SELECT_COMMON2)
SetPlayerSound(Myself,87676,SELECT_COMMON3)
SetPlayerSound(Myself,86096,SELECT_COMMON4)
SetPlayerSound(Myself,86095,SELECT_COMMON5)
SetPlayerSound(Myself,87677,SELECT_ACTION1)
SetPlayerSound(Myself,86092,SELECT_ACTION2)
SetPlayerSound(Myself,87678,SELECT_ACTION3)
SetPlayerSound(Myself,87677,SELECT_ACTION4)
SetPlayerSound(Myself,86092,SELECT_ACTION5)
SetPlayerSound(Myself,87678,SELECT_ACTION6)
SetPlayerSound(Myself,87677,SELECT_ACTION7)
SetPlayerSound(Myself,86098,REACT_TO_DIE_GENERAL)
SetPlayerSound(Myself,86091,DIALOG_DEFAULT)
SetPlayerSound(Myself,86091,SELECT_RARE1)
SetPlayerSound(Myself,86096,SELECT_RARE2)
SetPlayerSound(Myself,115752,EXISTANCE5)
~ EXIT
END

IF ~~ THEN BEGIN 524 // from: 522.75 522.72 522.69
  SAY #115753 /* ~Just wonderin' what's going on back in Candlekeep, is all.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 525 // from: 522.78 522.76 522.73 522.70
  SAY #115754 /* ~I'm just so bored!!! I want something interesting to happen!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 526 // from: 522.71
  SAY #115755 /* ~Well... Not like I'm complaining or anything, but don'tcha think we're getting a kinda bad reputation?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 527 // from: 522.74
  SAY #115756 /* ~Well, it's not like I wanna come out an' say it, being a thief and all, but it just doesn't feel right, what we've been doing lately.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 528 // from: 522.77
  SAY #115757 /* ~Well, not that I'm particularly against doin' the right thing an' all, but don'tcha think you're going a little too far?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 529 // from: 522.79
  SAY #115758 /* ~Yikes! D-don't scare me like that!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 530 // from: 522.80
  SAY #115759 /* ~*yawns, while trying to sound tough* I'm bloody well tired! That's what's wrong, you, moron! Find me someplace to rest, preferably with a nice hot bath!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 531 // from: 522.81
  SAY #115760 /* ~*giggling* Nothing... Here, come try this drink! It makes you feel all warm and tingly inside.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 532 // from: 522.82
  SAY #115761 /* ~My whole body aches from all those cuts and bruises. And it's all your fault!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 533 // from: 522.61
  SAY #115762 /* ~I never knew adventuring could be so boring most of the time. It was never like this in those stories I heard.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 534 // from: 522.62
  SAY #115763 /* ~Well, I guess overall it's better than washing dishes in Winthrop's Inn. But almost anything is better than that.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 535 // from: 522.63
  SAY #115764 /* ~*yawn* Ask me again when I'm awake. 'Kay?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 536 // from: 522.64
  SAY #115765 /* ~*giggling* Let's go dancing right now instead of asking weird questions, 'Kay?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 537 // from: 522.65
  SAY #115766 /* ~My feet have blisters, my legs feel heavy, I'm exhausted. Why am I, delicate little Imoen, turned into a pack mule?~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 538 // from: 522.66
  SAY #115767 /* ~It would be better if you'd protected me, like you're s'posed to!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 539 // from: 522.67
  SAY #115768 /* ~Alright! Finally! Civilization! Hopefully there's an inn with a hot bath and warm towels!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 540 // from: 522.68
  SAY #115769 /* ~At last! Some people I can acquire stuff from, discreetly that is.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 541 // from: 522.56 522.54 522.49 522.47 522.42 522.40 522.35
  SAY #115770 /* ~Well, I grew up in a place called Candlekeep with an imbecile of a <PRO_MANWOMAN> for a friend. What type of question is that? Silly you.~ */
  IF ~~ THEN GOTO 542
END

IF ~~ THEN BEGIN 542 // from: 541.0
  SAY #115771 /* ~*She pats your cheek and shakes her head at you.*~ */
  IF ~~ THEN GOTO 543
END

IF ~~ THEN BEGIN 543 // from: 542.0
  SAY #115772 /* ~What are we going to do with you?~ */
  IF ~~ THEN DO ~SetGlobal("X#IMCHdone","GLOBAL",1)
~ EXIT
END

IF ~~ THEN BEGIN 544 // from: 522.26 522.24 522.19 522.17 522.12 522.10 522.5
  SAY #115773 /* ~Hhm? Ah, I'm just thinking about Gorion and what would have become of us if he hadn't died, or if we can ever go back to Candlekeep after all that's happened. I feel so bad, like I'm angry at him for dying. Silly, huh?~ */
  IF ~~ THEN GOTO 545
END

IF ~~ THEN BEGIN 545 // from: 544.0
  SAY #115774 /* ~*She lowers her head as tears begin to well up in her eyes.*~ */
  IF ~~ THEN GOTO 546
END

IF ~~ THEN BEGIN 546 // from: 545.0
  SAY #115775 /* ~I... I'm fine, really. Thank you for asking though.~ */
  IF ~~ THEN DO ~SetGlobal("X#IMCHdone","GLOBAL",1)
~ EXIT
END

IF ~~ THEN BEGIN 547 // from: 522.57 522.50 522.43 522.41 522.36 522.31 522.27 522.20 522.13 522.11 522.6 522.1
  SAY #115776 /* ~I'm a little tired for these types of discussions right now.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 548 // from: 522.59 522.51 522.48 522.44 522.37 522.32 522.29 522.21 522.18 522.14 522.7 522.2
  SAY #115777 /* ~Uhm, c'mon, ya know everythin' about me. Well, not *everything*... like how I made the whole citadel believe that Nessa ate Fuller's underpants, but the rest ya pretty much know.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 549 // from: 522.58 522.55 522.52 522.45 522.38 522.33 522.28 522.25 522.22 522.15 522.8 522.3
  SAY #115778 /* ~Wanna know secret 'bout me? Well, I always was in love with Hull!~ */
  IF ~~ THEN GOTO 550
END

IF ~~ THEN BEGIN 550 // from: 549.0
  SAY #115779 /* ~He-he! Ya should see ya face! Gottcha!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 551 // from: 522.60 522.53 522.46 522.39 522.34 522.30 522.23 522.16 522.9 522.4
  SAY #115780 /* ~*She shakes her head at you sheepishly and pats your cheek, before turning away and walking back to the trail.*~ */
  IF ~~ THEN EXIT
END
