IF
	Global("LichDead","GLOBAL",0)
	NumTimesTalkedTo(0)
	See([PC])
THEN
	RESPONSE #100
		Wait(10)
		Dialogue([PC])
END

IF
	See([PC])
	Global("LichDead","GLOBAL",0)
	Global("LichResurect","GLOBAL",0)
THEN
	RESPONSE #100
		Wait(5)
		MoveToObjectFollow([PC])
		Continue()
END

IF
	See([PC])
	Global("LichResurect","GLOBAL",1)
THEN
	RESPONSE #100
		ClearAllActions()
		Dialogue([PC])
		SetGlobal("LichResurect","GLOBAL",2)
END

IF
	See([PC])
	Global("LichDead","GLOBAL",0)
	Global("LichResurect","GLOBAL",2)
THEN
	RESPONSE #100
		Wait(5)
		MoveToObjectFollow([PC])
		Continue()
END

IF
	See([PC])
	Global("LichDead","GLOBAL",1)
	PartyHasItem("CUJAR02") // Magic Jar 
THEN
	RESPONSE #100
		Dialogue([PC])
		SetGlobal("LichDead","GLOBAL",2)
END


