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

BEGIN ~GORPRI1~

IF ~NumTimesTalkedTo(0)~ THEN BEGIN 0 // from:
  SAY #62361 /* ~For a thousand years I slept in peace, forgotten by the world beyond these temple walls.  Now you dare disturb my eternal rest?~ */
  IF ~!PartyHasItem("PLOT01P")~ THEN DO ~EraseJournalEntry(63815)~ GOTO 1
  IF ~PartyHasItem("PLOT01P")~ THEN GOTO 3
END

IF ~~ THEN BEGIN 1 // from: 3.1 0.0
  SAY #62362 /* ~The divine master I serve is long forgotten, His name lost in the mists of time.  But you shall taste the final remnants of His wrath!~ */
  IF ~~ THEN DO ~SetGlobal("SpawnedGorpri1","AR3001",2)
Enemy()~ EXIT
END

IF ~~ THEN BEGIN 2 // from: 3.0
  SAY #62363 /* ~I apologize for my... undeserved reaction.  I will take my slippers and let you finish your work here. Look through the sarcophagus if you wish.~ */
  IF ~~ THEN DO ~SetGlobal("SpawnedGorpri1","AR3001",3)
TakePartyItem("PLOT01P")
AddXP2DA("PLOT4B")
CreateVisualEffectObject("SPFLESHS",Myself)
DestroySelf()
~ EXIT
END

IF ~~ THEN BEGIN 3 // from: 0.1
  SAY #73492 /* ~Oh... I see you have brought my slippers.  How thoughtful.  May I have them?~ */
  IF ~~ THEN REPLY #73493 /* ~Sure... take the slippers.~ */ GOTO 2
  IF ~~ THEN REPLY #73494 /* ~I don't make deals with undead!~ */ GOTO 1
END
