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

BEGIN ~_REVEN3~

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

IF ~PartyHasItem("_DAGG03")
~ THEN BEGIN 1 // from:
  SAY #77571 /* ~Dagger!!  You have the Dagger.  Give to ME!!  Now can rest, rest forever...~ */
  IF ~~ THEN REPLY #77572 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #77573 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #77574 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #77575 /* ~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~ 216
  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~ 218
  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 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~ 226
  IF ~Global("X#REVEN31","GLOBAL",0)
InParty("dynaheir")
InMyArea("dynaheir")
!StateCheck("dynaheir",CD_STATE_NOTVALID)
~ THEN DO ~SetGlobal("X#REVEN31","GLOBAL",1)~ EXTERN ~_DYNAHJ~ 258
END

IF ~~ THEN BEGIN 2 // from: _XZARJ:233.3 _XZARJ:233.0 _XZARJ:232.3 _XZARJ:232.0 _XZARJ:231.3 _XZARJ:231.0 _XZARJ:230.3 _XZARJ:230.0 _XZARJ:229.3 _XZARJ:229.0 _XZARJ:228.3 _XZARJ:228.0 _XZARJ:227.3 _XZARJ:227.0 _XZARJ:226.3 _XZARJ:226.0 _XZARJ:225.3 _XZARJ:225.0 _XZARJ:224.3 _XZARJ:224.0 _XZARJ:223.3 _XZARJ:223.0 _XZARJ:222.3 _XZARJ:222.0 _XZARJ:221.3 _XZARJ:221.0 _XZARJ:220.3 _XZARJ:220.0 _XZARJ:219.3 _XZARJ:219.0 _XZARJ:218.3 _XZARJ:218.0 _XZARJ:217.3 _XZARJ:217.0 _XZARJ:216.3 _XZARJ:216.0 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 #77576 /* ~You... will not... give dagger.  If you not give dagger... you die...~ */
  IF ~~ THEN DO ~Enemy()
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: _XZARJ:233.1 _XZARJ:232.1 _XZARJ:231.1 _XZARJ:230.1 _XZARJ:229.1 _XZARJ:228.1 _XZARJ:227.1 _XZARJ:226.1 _XZARJ:225.1 _XZARJ:224.1 _XZARJ:223.1 _XZARJ:222.1 _XZARJ:221.1 _XZARJ:220.1 _XZARJ:219.1 _XZARJ:218.1 _XZARJ:217.1 _XZARJ:216.1 13.1 12.1 11.1 10.1 9.1 8.1 7.1 6.1 5.1 1.1
  SAY #77577 /* ~The dagger... of he who murdered me... the dagger of Alatos...~ */
  IF ~~ THEN REPLY #77574 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #77575 /* ~We're not giving you the dagger.  Return to your grave, undead beast!~ */ GOTO 2
END

IF ~~ THEN BEGIN 4 // from: _XZARJ:233.2 _XZARJ:232.2 _XZARJ:231.2 _XZARJ:230.2 _XZARJ:229.2 _XZARJ:228.2 _XZARJ:227.2 _XZARJ:226.2 _XZARJ:225.2 _XZARJ:224.2 _XZARJ:223.2 _XZARJ:222.2 _XZARJ:221.2 _XZARJ:220.2 _XZARJ:219.2 _XZARJ:218.2 _XZARJ:217.2 _XZARJ:216.2 13.2 12.2 11.2 10.2 9.2 8.2 7.2 6.2 5.2 3.0 1.2
  SAY #77578 /* ~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 #103372 /* ~Noooo discussion... RETURN UNTO MEEE! Or I fascinate on your throat for you.~ */
  IF ~~ THEN REPLY #77572 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #77573 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #77574 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #77575 /* ~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~ 217
END

IF ~~ THEN BEGIN 6 // from: _XZARJ:218.5
  SAY #103372 /* ~Noooo discussion... RETURN UNTO MEEE! Or I fascinate on your throat for you.~ */
  IF ~~ THEN REPLY #77572 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #77573 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #77574 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #77575 /* ~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~ 219
END

IF ~~ THEN BEGIN 7 // from: _XZARJ:221.5 _XZARJ:220.5
  SAY #103372 /* ~Noooo discussion... RETURN UNTO MEEE! Or I fascinate on your throat for you.~ */
  IF ~~ THEN REPLY #77572 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #77573 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #77574 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #77575 /* ~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~ 222
END

IF ~~ THEN BEGIN 8 // from: 1.8
  SAY #103370 /* ~Haaaatred... hatred called me back... the dagger... it slew me... any who has it... akin to my murderer... and MUST DIE!~ */
  IF ~~ THEN REPLY #77572 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #77573 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #77574 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #77575 /* ~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~ 225
  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~ 224
  IF ~  InParty("xzar")
InMyArea("xzar")
!StateCheck("xzar",CD_STATE_NOTVALID)
~ THEN EXTERN ~_XZARJ~ 223
END

IF ~~ THEN BEGIN 9 // from: _XZARJ:224.5 _XZARJ:223.5 8.5
  SAY #103372 /* ~Noooo discussion... RETURN UNTO MEEE! Or I fascinate on your throat for you.~ */
  IF ~~ THEN REPLY #77572 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #77573 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #77574 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #77575 /* ~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~ 225
END

IF ~~ THEN BEGIN 10 // from: _XZARJ:226.8
  SAY #103370 /* ~Haaaatred... hatred called me back... the dagger... it slew me... any who has it... akin to my murderer... and MUST DIE!~ */
  IF ~~ THEN REPLY #77572 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #77573 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #77574 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #77575 /* ~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 11
  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 11 // from: _XZARJ:228.5 _XZARJ:227.5 _XZARJ:226.5 10.5
  SAY #103372 /* ~Noooo discussion... RETURN UNTO MEEE! Or I fascinate on your throat for you.~ */
  IF ~~ THEN REPLY #77572 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #77573 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #77574 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #77575 /* ~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 12 // from: _XZARJ:230.8
  SAY #103370 /* ~Haaaatred... hatred called me back... the dagger... it slew me... any who has it... akin to my murderer... and MUST DIE!~ */
  IF ~~ THEN REPLY #77572 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #77573 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #77574 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #77575 /* ~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 13
  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 13 // from: _XZARJ:232.5 _XZARJ:231.5 _XZARJ:230.5 12.5
  SAY #103372 /* ~Noooo discussion... RETURN UNTO MEEE! Or I fascinate on your throat for you.~ */
  IF ~~ THEN REPLY #77572 /* ~Before we give you the dagger, you should give us something in return.~ */ GOTO 2
  IF ~~ THEN REPLY #77573 /* ~What dagger are you talking about exactly?~ */ GOTO 3
  IF ~~ THEN REPLY #77574 /* ~Take your dagger and leave us alone, cursed undead!~ */ GOTO 4
  IF ~~ THEN REPLY #77575 /* ~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
