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

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

IF WEIGHT #1 /* Triggers after states #: 6 even though they appear after this state */
~ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN BEGIN 0 // from:
  SAY #80782 /* ~You're Aldeth's childhood friends aren't you?  You know, if I were you, I'd be careful around here.~ */
  IF ~~ THEN REPLY #80783 /* ~Okay, we'll be sure to.~ */ EXIT
  IF ~~ THEN REPLY #80784 /* ~Is there a reason why we should?~ */ GOTO 1
  IF ~~ THEN REPLY #80785 /* ~I hope that wasn't a threat.~ */ GOTO 3
END

IF ~~ THEN BEGIN 1 // from: 0.1
  SAY #80786 /* ~Irlentree and Zorl have been acting strange as of late.  I don't know what it is about them, but they don't seem to be their usual selves.~ */
  IF ~~ THEN REPLY #80787 /* ~If the truth be known, Aldeth hired us to investigate his partners.  Is there anything you know that could help us?~ */ GOTO 2
  IF ~~ THEN REPLY #54384 /* ~Thank you for the information.~ */ EXIT
END

IF ~~ THEN BEGIN 2 // from: 1.0
  SAY #80788 /* ~If you search Zorl's office on the second floor you might turn something up.~ */
  IF ~~ THEN UNSOLVED_JOURNAL #80789 /* ~Investigating the Merchant Consortium

One of the merchants here told me to investigate Zorl's office on the second floor.~ */ EXIT
  IF ~Global("X#GarMer","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#GarMer","GLOBAL",1)~ EXTERN ~_GARRIJ~ 20
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #80790 /* ~You mistook my meaning, it wasn't a threat.  Now, please leave me alone.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 5 6 even though they appear after this state */
~True()
~ THEN BEGIN 4 // from:
  SAY #80791 /* ~Please don't bother me, I have a lot on my mind.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 /* Triggers after states #: 6 even though they appear after this state */
~ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
~ THEN BEGIN 5 // from:
  SAY #80792 /* ~Anything I can help you with?  Oh yes, you're those friends of Aldeth's.  I'd love to get to know you better, but I'm awfully busy.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 6 // from:
  SAY #80793 /* ~Things have been very unusual lately.  Zorl and Irlentree, two of the owners, have not been acting properly in mercantile matters.  If they continue with the direction they've been taking, our company will be sunk within the month.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from:
  SAY #75006 /* ~Lost your chance with me, you did!  Get lost!~ */
  IF ~~ THEN EXIT
END
