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

BEGIN ~REVEN3~

IF ~  !PartyHasItem("DAGG03")
~ THEN BEGIN 0 // from:
  SAY #10256 /* ~Thief will pay with DEATH! RETURN! RETURN the dagger!~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~  PartyHasItem("DAGG03")
~ THEN BEGIN 1 // from:
  SAY #10257 /* ~Dagger! You have the dagger. Give to ME! Now can rest, rest forever...~ */
  IF ~~ THEN REPLY #10463 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #10464 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #10465 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #10466 /* ~We're not giving you the dagger. Return to your grave, undead beast!~ */ GOTO 2
  IF ~Global("X#REVEN31","GLOBAL",0)
InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#REVEN31","GLOBAL",1)~ EXTERN ~XZARJ~ 220
  IF ~Global("X#REVEN31","GLOBAL",0)
InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#REVEN31","GLOBAL",1)~ GOTO 5
  IF ~Global("X#REVEN31","GLOBAL",0)
InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#REVEN31","GLOBAL",1)~ EXTERN ~XZARJ~ 222
  IF ~Global("X#REVEN31","GLOBAL",0)
InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#REVEN31","GLOBAL",1)~ EXTERN ~XZARJ~ 224
  IF ~Global("X#REVEN31","GLOBAL",0)
InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#REVEN31","GLOBAL",1)~ GOTO 8
  IF ~Global("X#REVEN31","GLOBAL",0)
InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#REVEN31","GLOBAL",1)~ EXTERN ~XZARJ~ 230
  IF ~Global("X#REVEN31","GLOBAL",0)
InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#REVEN31","GLOBAL",1)~ EXTERN ~DYNAHJ~ 259
END

IF ~~ THEN BEGIN 2 // from: 13.3 13.0 12.3 12.0 11.3 11.0 10.3 10.0 9.3 9.0 8.3 8.0 7.3 7.0 6.3 6.0 5.3 5.0 3.1 1.3 1.0
  SAY #10628 /* ~You... will not... give dagger. If you not give dagger... you die...~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 13.1 12.1 11.1 10.1 9.1 8.1 7.1 6.1 5.1 1.1
  SAY #10629 /* ~The dagger... of he who murdered me... the dagger of Alatos...~ */
  IF ~~ THEN REPLY #10630 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #10631 /* ~We're not giving you the dagger. Return to your grave, undead beast!~ */ GOTO 2
END

IF ~~ THEN BEGIN 4 // from: 13.2 12.2 11.2 10.2 9.2 8.2 7.2 6.2 5.2 3.0 1.2
  SAY #10632 /* ~At last... the dagger...~ */
  IF ~~ THEN DO ~TakePartyItem("DAGG03")
DestroyItem("DAGG03")
AddexperienceParty(900)
Kill("REVEN")
~ EXIT
END

IF ~~ THEN BEGIN 5 // from: 1.5
  SAY #50064 /* ~Noooo discussion... RETURN UNTO MEEE! Or I fascinate on your throat for you.~ */
  IF ~~ THEN REPLY #10463 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #10464 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #10465 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #10466 /* ~We're not giving you the dagger. Return to your grave, undead beast!~ */ GOTO 2
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~XZARJ~ 221
END

IF ~~ THEN BEGIN 6 // from:
  SAY #50064 /* ~Noooo discussion... RETURN UNTO MEEE! Or I fascinate on your throat for you.~ */
  IF ~~ THEN REPLY #10463 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #10464 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #10465 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #10466 /* ~We're not giving you the dagger. Return to your grave, undead beast!~ */ GOTO 2
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~XZARJ~ 223
END

IF ~~ THEN BEGIN 7 // from:
  SAY #50064 /* ~Noooo discussion... RETURN UNTO MEEE! Or I fascinate on your throat for you.~ */
  IF ~~ THEN REPLY #10463 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #10464 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #10465 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #10466 /* ~We're not giving you the dagger. Return to your grave, undead beast!~ */ GOTO 2
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~XZARJ~ 226
END

IF ~~ THEN BEGIN 8 // from: 1.8
  SAY #50062 /* ~Haaaatred... hatred called me back... the dagger... it slew me... any who has it... akin to my murderer... and MUST DIE!~ */
  IF ~~ THEN REPLY #10463 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #10464 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #10465 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #10466 /* ~We're not giving you the dagger. Return to your grave, undead beast!~ */ GOTO 2
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~XZARJ~ 229
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN GOTO 9
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~XZARJ~ 228
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~XZARJ~ 227
END

IF ~~ THEN BEGIN 9 // from: 8.5
  SAY #50064 /* ~Noooo discussion... RETURN UNTO MEEE! Or I fascinate on your throat for you.~ */
  IF ~~ THEN REPLY #10463 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #10464 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #10465 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #10466 /* ~We're not giving you the dagger. Return to your grave, undead beast!~ */ GOTO 2
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~XZARJ~ 229
END

IF ~~ THEN BEGIN 10 // from:
  SAY #50062 /* ~Haaaatred... hatred called me back... the dagger... it slew me... any who has it... akin to my murderer... and MUST DIE!~ */
  IF ~~ THEN REPLY #10463 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #10464 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #10465 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #10466 /* ~We're not giving you the dagger. Return to your grave, undead beast!~ */ GOTO 2
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~XZARJ~ 233
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN GOTO 11
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~XZARJ~ 232
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~XZARJ~ 231
END

IF ~~ THEN BEGIN 11 // from: 10.5
  SAY #50064 /* ~Noooo discussion... RETURN UNTO MEEE! Or I fascinate on your throat for you.~ */
  IF ~~ THEN REPLY #10463 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #10464 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #10465 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #10466 /* ~We're not giving you the dagger. Return to your grave, undead beast!~ */ GOTO 2
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~XZARJ~ 233
END

IF ~~ THEN BEGIN 12 // from:
  SAY #50062 /* ~Haaaatred... hatred called me back... the dagger... it slew me... any who has it... akin to my murderer... and MUST DIE!~ */
  IF ~~ THEN REPLY #10463 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #10464 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #10465 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #10466 /* ~We're not giving you the dagger. Return to your grave, undead beast!~ */ GOTO 2
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~XZARJ~ 237
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN GOTO 13
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~XZARJ~ 236
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~XZARJ~ 235
END

IF ~~ THEN BEGIN 13 // from: 12.5
  SAY #50064 /* ~Noooo discussion... RETURN UNTO MEEE! Or I fascinate on your throat for you.~ */
  IF ~~ THEN REPLY #10463 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #10464 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #10465 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #10466 /* ~We're not giving you the dagger. Return to your grave, undead beast!~ */ GOTO 2
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~XZARJ~ 237
END
