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

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

IF WEIGHT #2 /* Triggers after states #: 9 even though they appear after this state */
~NumTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #2761 /* ~I shall survive by taking the wise path. Go ahead and forge the trail. I will follow your path once I have rested a bit.~ */
  IF ~~ THEN GOTO 1
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #2762 /* ~I shall be happy to lend my blade to your cause. There are two things that I have discovered about this place that may help us escape.~ */
  IF ~~ THEN REPLY #2763 /* ~You have changed your mind? Shall we draw our blades with a common purpose?~ */ DO ~

~ GOTO 3
  IF ~~ THEN REPLY #2764 /* ~I would welcome another companion but I have a few questions first.~ */ DO ~GivePartyGold(50)
~ GOTO 8
  IF ~~ THEN REPLY #2765 /* ~I do not think that it would be wise. I'll be better off navigating this place without you.~ */ GOTO 2
END

IF ~~ THEN BEGIN 2 // from: 1.2
  SAY #2766 /* ~Ah, my desperate, imprisoned friends. You are still alive and enjoying Athkatla's bounty, I see.~ [YOSHIM62] */
  IF ~~ THEN REPLY #2780 /* ~Interesting. Where might I get equipment for a reasonable price?~ */ DO ~GivePartyGold(50)
~ GOTO 8
  IF ~~ THEN REPLY #2781 /* ~I would like you to join my party.~ */ GOTO 3
  IF ~~ THEN REPLY #2782 /* ~That is all that I need at present.~ */ DO ~GivePartyGold(50)
~ GOTO 8
END

IF ~~ THEN BEGIN 3 // from: 2.1 1.0
  SAY #2767 /* ~It is good to know that you've escaped that place, Yoshimo.~ */
  IF ~~ THEN DO ~EscapeArea()
~ JOURNAL #9976 /* ~Idle hands in Imnesvale.

Well, I didn't get the three kids in Imnesvale what they'd asked for.  I don't need the grief I would get from their parents.  I gave their money back, just to be fair.~ */ EXIT
END

IF ~~ THEN BEGIN 4 // from:
  SAY #2768 /* ~I am no friend of yours. Leave me be.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from:
  SAY #2769 /* ~I'm sorry, I have no time to talk with you.~ */
  IF ~~ THEN REPLY #2770 /* ~I agree. Welcome to the Copper Coronet, my home here in Athkatla. What can Yoshimo offer you? Information? Contacts? Equipment? Perhaps you would like me to join you?~ */ DO ~GivePartyGold(50)
~ GOTO 8
  IF ~~ THEN REPLY #2771 /* ~Information. Have you heard any rumors?~ */ GOTO 7
  IF ~~ THEN REPLY #2772 /* ~Where might I get equipment for a reasonable price?~ */ GOTO 6
END

IF ~~ THEN BEGIN 6 // from: 5.2
  SAY #2773 /* ~You read my mind, it seems. Come, join my party.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 7 // from: 5.1
  SAY #2774 /* ~If you don't care about your party then it will be you that is left on the battlefield eventually! I can only fight as long as I have my health...~ */
  IF ~~ THEN DO ~TakePartyGold(50)
~ EXIT
END

IF ~~ THEN BEGIN 8 // from: 5.0 2.2 2.0 1.1
  SAY #2775 /* ~There is no need to hurt Yoshimo's delicate feelings. You have dishonored me before these drunkards, thieves, and gamblers. I may never live this down.~ */
  IF ~~ THEN DO ~MoveToPoint([1439.1313])
OpenDoor("DOOR0151")
MoveToPoint([1456.1262])
DestroySelf()
~ JOURNAL #9977 /* ~Idle hands in Imnesvale.

I stumbled across the three kids from Imnesvale for whom I bought the ale. They were drunk and passed out in a cave outside the village.  I wonder how long they've been missing for?  No doubt that keg's going to last them a while, heh...~ */ EXIT
END

IF WEIGHT #0 ~StateCheck(Myself,STATE_CHARMED)
~ THEN BEGIN 9 // from:
  SAY #6473 /* ~You have become immune to +1 weapons and less.~ */
  IF ~~ THEN EXIT
END

IF WEIGHT #3 ~Global("Chapter","GLOBAL",7)
~ THEN BEGIN 10 // from:
  SAY #4300 /* ~NO! I did not kill her!~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 11 // from:
  SAY #9070 /* ~I have not always done right, but you have my assurance I will not stray again.~ */
  IF ~~ THEN EXIT
END
