// creator  : weidu.exe (version 23100)
// argument : ULRAUN.DLG
// game		 : .
// source	 : ./DATA/DIALOG.BIF
// dialog	 : ./DIALOG.TLK
// dialogF  : (none)

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

IF WEIGHT #1 /* Triggers after states #: 3 even though they appear after this state */
~ReactionGT(LastTalkedToBy,NEUTRAL_UPPER)
~ THEN BEGIN 0 // from:
  SAY #263 /* ~A what?~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #2 /* Triggers after states #: 3 even though they appear after this state */
~ReactionLT(LastTalkedToBy,FRIENDLY_LOWER)
ReactionGT(LastTalkedToBy,HOSTILE_UPPER)
~ THEN BEGIN 1 // from:
  SAY #0 /* ~<NO TEXT>~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 /* Triggers after states #: 3 even though they appear after this state */
~ReactionLT(LastTalkedToBy,NEUTRAL_LOWER)
~ THEN BEGIN 2 // from:
  SAY #1 /* ~No, I'm sorry, none of them sound familiar.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #0 ~Global("Arrested","GLOBAL",1)
~ THEN BEGIN 3 // from:
  SAY #2 /* ~You played Elminster?~ */
  IF ~PartyHasItem("RING25")
~ THEN REPLY #6 /* ~Then join us by all means. You are welcome here.~ */ GOTO 4
  IF ~~ THEN REPLY #7 /* ~Perhaps another time, Haer'Dalis.  Your world seems rather strange to me... I'll have to think it over.~ */ GOTO 6
  IF ~!PartyHasItem("RING25")
~ THEN REPLY #8 /* ~Forget it.  It's time I left here, and I suspect you should, as well.~ */ GOTO 5
END

IF ~~ THEN BEGIN 4 // from: 3.0
  SAY #3 /* ~Uh, the yugoloth, was it? Yeah, you stole the show with that one, if I recall.~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 5 // from: 3.2
  SAY #4 /* ~And, who knows, we were rehearsing for Picoccio's "Three Days in the Ether." Perhaps we can give you a dress matinee.~ */
  IF ~~ THEN GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.0 4.0 3.1
  SAY #5 /* ~Oh, my dark ravens, let us stop our squawking.  I shall remove this foul demeanor like a mask because, if you will still have me, I think I would quite enjoy the company of your troupe.~ */
  IF ~~ THEN DO ~StartCutSceneMode()
MoveToPoint([373.428])
DestroySelf()
~ JOURNAL #9750 /* ~~ */ EXIT
END
