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

BEGIN ~_ARKANI3~

IF ~NumberOfTimesTalkedTo(0)
~ THEN BEGIN 0 // from:
  SAY #78560 /* ~By the gods, that... that thing was young Dreppin! What is going on, <CHARNAME>?! Obe asked us to search for you here but... but this is far more foul than any of his most fearsome illusions!~ */
  IF ~ReputationGT(LastTalkedToBy,7)
~ THEN REPLY #78561 /* ~It's a long story, Arkanis. Please, you have to help me get out of here, and fast. Can I trust you?~ */ GOTO 1
  IF ~ReputationGT(LastTalkedToBy,7)
~ THEN REPLY #78562 /* ~That 'thing' was a doppelganger, just like you! Out of respect for the face you wear, mirrorkin, I might just let you live. Flee this place before I change my mind!!~ */ GOTO 2
  IF ~ReputationLT(LastTalkedToBy,8)
~ THEN REPLY #78562 /* ~That 'thing' was a doppelganger, just like you! Out of respect for the face you wear, mirrorkin, I might just let you live. Flee this place before I change my mind!!~ */ GOTO 3
  IF ~ReputationLT(LastTalkedToBy,8)
~ THEN REPLY #78563 /* ~It's a long story, Arkanis, and I have no time to tell it to you. Begone before you get the same as Dreppin!~ */ GOTO 2
END

IF ~~ THEN BEGIN 1 // from: 0.0
  SAY #78564 /* ~Aye, child, trust me you can and Deder, too. I know not what assistance we can be to you, except four strong arms and an eye for illusions... we shall see you to the end of these crypts but not beyond, as we must bear witness to the horrors that befoul this place.~ */
  IF ~~ THEN EXIT
  IF ~Global("X#VicArk","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#VicArk","GLOBAL",1)~ EXTERN ~_VICONJ~ 79
END

IF ~~ THEN BEGIN 2 // from: 0.3 0.1
  SAY #78565 /* ~As you order, so shall it be, my old comrade. Come, Deder... <CHARNAME> has spoken.~ */
  IF ~~ THEN DO ~ActionOverride("deder",EscapeArea())
EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.2
  SAY #78566 /* ~They were right about you, <CHARNAME>. You've become a monster... I know not what forces chase you in these depths, but two have just joined their number! Come, Deder... in Gorion's good name.~ */
  IF ~~ THEN DO ~ActionOverride("deder",Enemy())
Enemy()
~ EXIT
END
