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

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

IF WEIGHT #1 /* Triggers after states #: 17 even though they appear after this state */
~  NumberOfTimesTalkedTo(0)
!Dead("Dunkin")
~ THEN BEGIN 0 // from:
  SAY #2375 /* ~ 'Ere now, get out! I don't like your type in here!~ */
  IF ~~ THEN EXTERN ~DUNKIN~ 0
  IF ~Global("X#MontaronMarl","GLOBAL",0)
InParty("montaron")
InMyArea("montaron")
!StateCheck("montaron",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#MontaronMarl","GLOBAL",1)~ EXTERN ~MONTAJ~ 47
END

IF WEIGHT #2 /* Triggers after states #: 17 even though they appear after this state */
~  NumberOfTimesTalkedTo(1)
!Dead("Dunkin")
~ THEN BEGIN 1 // from:
  SAY #2376 /* ~Hey! I told you to get lost! Ain't no room here for ye troublemakin' strangers!~ */
  IF ~~ THEN REPLY #2397 /* ~No need to get all bent out of shape. There's plenty of bar for us all.~ */ GOTO 4
  IF ~~ THEN REPLY #2398 /* ~Sorry! I don't want any trouble, I'll just go on my way.~ */ GOTO 3
  IF ~~ THEN REPLY #2399 /* ~I'll go where I like pal! You got a problem with that?!~ */ GOTO 5
  IF ~~ THEN REPLY #2400 /* ~You say one more word and I swear I'll run you through! Back off!~ */ GOTO 2
  IF ~Global("X#SharMARL2","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SharMARL2","GLOBAL",1)~ EXTERN ~SHARTJ~ 101
END

IF ~~ THEN BEGIN 2 // from: 21.3 6.3 5.2 4.2 1.3
  SAY #2377 /* ~You're threatening me?! Practically where I live and you threaten me?! You sure must think you're tough with a blade on your belt! Why don't ya drop that armory you're carrying and put your hide where your mouth is!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
  IF ~Global("X#SharMARL1","GLOBAL",0)
InParty("sharteel")
InMyArea("sharteel")
!StateCheck("sharteel",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#SharMARL1","GLOBAL",1)~ EXTERN ~SHARTJ~ 100
END

IF ~~ THEN BEGIN 3 // from: 21.1 12.1 1.1
  SAY #2378 /* ~That's the way! Get on back to whatever hole ye crawled out of! This here tavern's fer decent, hard-working folk. Why don't ye get a trade or something, instead of wandering around annoying what should be left alone!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 4 // from: 21.0 1.0
  SAY #2379 /* ~Hey, I take whatever shape I want! I'm sick of you freakish adventurers going out, consorting with gods know what, and dragging your trouble back into my home town! What do you say to that?!~ */
  IF ~~ THEN REPLY #2405 /* ~I just do what I think is right. We solve a lot more trouble than we cause. Well, very nearly anyways. Heh heh.~ */ GOTO 6
  IF ~~ THEN REPLY #2406 /* ~Whoa, go easy. Let's keep it friendly. How 'bout I buy you and the rest of the bar a round?~ */ GOTO 14
  IF ~~ THEN REPLY #2407 /* ~I say that I've about had enough of your tone, mister! Stop pushing or I push back!~ */ GOTO 2
END

IF ~~ THEN BEGIN 5 // from: 21.2 1.2
  SAY #2381 /* ~I have a problem with morons armed to the teeth, poking through ruins, and stirring up creatures better left alone! Jokers like you blow through town with monsters in tow, and then out again leaving us locals to clean up the mess!~ */
  IF ~~ THEN REPLY #2401 /* ~I just do what I think is right. We solve a lot more trouble than we cause. Well, very nearly anyways. Heh heh.~ */ GOTO 6
  IF ~~ THEN REPLY #2402 /* ~Whoa, go easy. Let's keep it friendly. How 'bout I buy you and the rest of the bar a round?~ */ GOTO 14
  IF ~~ THEN REPLY #2403 /* ~I say that I've about had enough of your tone, mister! Stop pushing or I push back!~ */ GOTO 2
END

IF ~~ THEN BEGIN 6 // from: 5.0 4.0
  SAY #2382 /* ~Oh, you think it's funny, do you?! You mess up the local economy with your treasure, you upset the balance of nature, you flash your magic around, and because of it maybe somebody's son thinks it's fun and goes out and gets himself killed! It's a bad example and somebody ought to kick your ass for it!~ */
  IF ~~ THEN REPLY #2408 /* ~Don't get mad at me if "somebody's son" couldn't handle being out from under Mom's skirt! Should've taught him to fight instead of dirt-farming!~ */ GOTO 8
  IF ~~ THEN REPLY #2409 /* ~I'm sorry for you and your kin. Look, before this gets out of hand maybe I should just leave.~ */ GOTO 7
  IF ~~ THEN REPLY #2410 /* ~Hold on! Everyone goes their own path, and I'll not be held accountable for what the Fates deal.~ */ GOTO 9
  IF ~~ THEN REPLY #2411 /* ~If you think you have what it takes, bring it on!~ */ GOTO 2
END

IF ~~ THEN BEGIN 7 // from: 9.0 6.1
  SAY #2383 /* ~Just like all the rest of you! Stir up some trouble and then run away so others have to deal with the results! Not today! You leave through me or not at all!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 8 // from: 12.2 9.1 6.0
  SAY #2384 /* ~Bastard! It'll be a tenday before you can blink when I'm through with you!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 9 // from: 6.2
  SAY #2385 /* ~He was a good boy till your kind came through town! Filled his head with nonsense they did, and because of it he's dead! Now why shouldn't I take THAT out of your hide?!~ */
  IF ~~ THEN REPLY #2412 /* ~Look, I'm sorry for your son and all, but I had nothing to do with it! I just want to leave peacefully!~ */ GOTO 7
  IF ~~ THEN REPLY #2413 /* ~Because if you were like this at home with him, I would have bolted too! You probably had the reins so tight you nearly choked him to death before anything else could!~ */ GOTO 8
  IF ~~ THEN REPLY #2414 /* ~If you knew him like you think, then ask yourself if he wouldn't have gone anyway. It's a calling you're born with. Nobody gives it to you.~ */ GOTO 10
END

IF ~~ THEN BEGIN 10 // from: 9.2
  SAY #2386 /* ~Tain't true! He was going to take over the farm and settle down. Maybe apprentice with Thunderhammer during the winter. He never wanted to adventure.~ */
  IF ~~ THEN EXTERN ~DUNKIN~ 1
END

IF ~~ THEN BEGIN 11 // from:
  SAY #2387 /* ~No! He was settling down! He wanted... he wanted...~ */
  IF ~~ THEN EXTERN ~DUNKIN~ 2
END

IF ~~ THEN BEGIN 12 // from:
  SAY #2388 /* ~By Chauntea, why couldn't he just stay home?!~ */
  IF ~~ THEN REPLY #2415 /* ~The realms call, and you go. He sounds a fine lad taken too soon, but doing what he was meant. If you'll suffer my company, I'll buy a round and toast his memory with you.~ */ GOTO 13
  IF ~~ THEN REPLY #2416 /* ~If it's all right with the both of you, I would really like to leave now. Too many mood swings in the room and I'm getting dizzy.~ */ GOTO 3
  IF ~~ THEN REPLY #2417 /* ~He probably couldn't stand all the crying. If you girls are finished, I'll go now.~ */ GOTO 8
END

IF ~~ THEN BEGIN 13 // from: 12.0
  SAY #2389 /* ~ 'Twould be fitting, I suppose. To Kennair Nethalin! Rest ye well! I... I would be alone awhile.~ */
  IF ~~ THEN DO ~ChangeClass(Myself,INNOCENT)
AddexperienceParty(900)
AddJournalEntry(27254,INFO)
~ EXTERN ~DUNKIN~ 4
END

IF ~~ THEN BEGIN 14 // from: 5.1 4.1
  SAY #2404 /* ~I ain't your friend, you ain't mine, and it'll be a cold day on the 9th plane before I drink with the likes of you! Best ye keep your filthy dungeon money to yourself! Better yet, how 'bout I put you and your dead money back in the ground where it belongs!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 15 // from:
  SAY #2420 /* ~I ain't through yet! There's more o' them standin'!~ */
  IF ~~ THEN EXTERN ~DUNKIN~ 6
END

IF ~~ THEN BEGIN 16 // from:
  SAY #2428 /* ~Maybe not, but nobody in this here bar think these bastards are invincible heroes now. Maybe the next fool kid wil—will think twice about leavin' the farm.~ */
  IF ~~ THEN DO ~MoveToObject(Player1)
~ EXTERN ~DUNKIN~ 7
END

IF WEIGHT #0 ~  StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 17 // from:
  SAY #5793 /* ~My friends call me Marl. My son died trying to be a heroic adventurer. I like to come here and drink lots. That's about it.~ */
  IF ~~ THEN DO ~AddJournalEntry(27255,INFO)
~ EXIT
END

IF WEIGHT #3 ~  !Dead("Dunkin")
~ THEN BEGIN 18 // from:
  SAY #5794 /* ~Get out of my face, lest I smash it.~ */
  IF ~~ THEN EXTERN ~DUNKIN~ 8
END

IF ~~ THEN BEGIN 19 // from:
  SAY #8938 /* ~~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 20 // from:
  SAY #46466 /* ~You asked for it!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 21 // from:
  SAY #46468 /* ~I've had about enough of this.~ */
  IF ~~ THEN REPLY #2397 /* ~No need to get all bent out of shape. There's plenty of bar for us all.~ */ GOTO 4
  IF ~~ THEN REPLY #2398 /* ~Sorry! I don't want any trouble, I'll just go on my way.~ */ GOTO 3
  IF ~~ THEN REPLY #2399 /* ~I'll go where I like pal! You got a problem with that?!~ */ GOTO 5
  IF ~~ THEN REPLY #2400 /* ~You say one more word and I swear I'll run you through! Back off!~ */ GOTO 2
END
