IF
	HasItem("VVDEREK","Container6")
	Delay(5)
	HasItem("VVDEREK","Container6")
THEN
	RESPONSE #100
		ActionOverride("Container6",DestroyItem("VVDEREK"))
		CreateVisualEffect("spfleshs",[2752.672])
		Wait(1)
		CreateCreature("VVDEREK",[2752.672],S)
    	ActionOverride("VVDEREK",DestroyItem("VVDEREK"))	
		
		ActionOverride("VVDEREK",SetDialog("VVDEREK"))
		ActionOverride("VVDEREK",ChangeAIScript("VVDEREK",OVERRIDE))
		ActionOverride("VVDEREK",ChangeAIScript("",GENERAL))			
		SetGlobal("DerekResurrected","GLOBAL",1)
		
		ChangeEnemyAlly("VVDEREK",NEUTRAL)
		ActionOverride("VVDEREK",StartDialogueNoSet(Player1))	
		Continue()
END