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

BEGIN ~ACHEN~

IF ~  Global("Baldurian","GLOBAL",1)
!Global("VailLeft","AR0719",1)
~ THEN BEGIN 0 // from:
  SAY #10515 /* ~I live again? The last thing I remember is some old mage and a funny-looking lizard with beady eyes. Wha—? What happened?~ */
  IF ~~ THEN REPLY #10516 /* ~I care not! Give me the Helm of Balduran or you'll wish I had left you as a statue!~ */ GOTO 1
  IF ~~ THEN REPLY #10517 /* ~Easy now, you have been petrified for some time. Take a moment to gather your senses.~ */ GOTO 2
  IF ~~ THEN REPLY #10518 /* ~Your assault on Ramazith cost you dearly. I have freed you, and I ask for the Helm of Balduran as payment.~ */ GOTO 5
END

IF ~~ THEN BEGIN 1 // from: 2.1 0.0
  SAY #10519 /* ~What? I know of no such thing! Please, I was new to the group and was not party to their plans. They said our target was evil and only worthy of death. I fought in good faith. If they took anything, it was after I... after... Please let me go. My family must be worried sick!~ */
  IF ~~ THEN REPLY #10520 /* ~Fine, be on your way. I shall hunt you down if you are lying though!~ */ GOTO 3
  IF ~~ THEN REPLY #10524 /* ~They can wait! You will stay put until I have what I came for!~ */ GOTO 4
END

IF ~~ THEN BEGIN 2 // from: 0.1
  SAY #10521 /* ~Petrified? For how long? My family... my family will be worried to death! I must get back to them!~ */
  IF ~~ THEN REPLY #10522 /* ~All in good time. First, I would like you to give me the Helm of Balduran. I have been hired to retrieve it.~ */ GOTO 5
  IF ~~ THEN REPLY #10523 /* ~Your family can wait! I will have the Helm of Balduran from you before you take a step!~ */ GOTO 1
END

IF ~~ THEN BEGIN 3 // from: 1.0
  SAY #10525 /* ~Thank you so much! Fare thee well!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~Global("X#ACHEN3","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ACHEN3","GLOBAL",1)~ GOTO 7
  IF ~Global("X#ACHEN3","GLOBAL",0)
InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ACHEN3","GLOBAL",1)~ EXTERN ~VICONJ~ 217
  IF ~Global("X#ACHEN3","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ACHEN3","GLOBAL",1)~ GOTO 9
  IF ~Global("X#ACHEN3","GLOBAL",0)
InParty("garrick")
InMyArea("garrick")
!StateCheck("garrick",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#ACHEN3","GLOBAL",1)~ EXTERN ~GARRIJ~ 214
END

IF ~~ THEN BEGIN 4 // from: 1.1
  SAY #10526 /* ~If... if I must. I'll not risk my life again after coming so close to death. Hopefully my fellows can help you, but I cannot. I will wait if you wish.~ */
  IF ~~ THEN EXIT
END

IF ~~ THEN BEGIN 5 // from: 2.0 0.2
  SAY #10527 /* ~Helm of Balduran? I have no such item. One of my fellows might possess it, but I do not know. Ask them if you will, I can tell you nothing more.~ */
  IF ~~ THEN EXIT
END

IF ~  True()
~ THEN BEGIN 6 // from:
  SAY #10596 /* ~I... I live again? The last thing I remember is... is some old mage and a funny looking lizard with beady eyes. Where am I now? I must go... find...~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 7 // from: 3.1
  SAY #50178 /* ~Farewell!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 8 // from:
  SAY #50178 /* ~Farewell!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 9 // from: 3.3
  SAY #50176 /* ~I'm grateful!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN GOTO 10
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~VICONJ~ 218
END

IF ~~ THEN BEGIN 10 // from: 9.1
  SAY #50178 /* ~Farewell!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END

IF ~~ THEN BEGIN 11 // from:
  SAY #50176 /* ~I'm grateful!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN GOTO 12
  IF ~  InParty("viconia")
InMyArea("viconia")
!StateCheck("viconia",CD_STATE_NOTVALID)
~ THEN EXTERN ~VICONJ~ 219
END

IF ~~ THEN BEGIN 12 // from: 11.1
  SAY #50178 /* ~Farewell!~ */
  IF ~~ THEN DO ~EscapeArea()
~ EXIT
END
