actor nazrobe : wolfensteinSS replaces wolfensteinSS
{
	Obituary "%o was magicked by a Nazrobe."
	speed 10
	states
	{
	Spawn:
		CLTS AB 10 A_Look
		Loop
	See:
		CLTS AABBCCDD 3 A_Chase
		Loop
	Missile:
		CLTS E 10 A_FaceTarget
		CLTS F 10 A_FaceTarget
		TNT1 A 0 a_playsound ("zelda/rodshot",0,1,0,0.6)
		CLTS G 2 Bright a_custommissile ("robewave")
		CLTS F 4 A_FaceTarget
		TNT1 A 0 a_playsound ("zelda/rodshot",0,1,0,0.6)
		CLTS G 2 Bright a_custommissile ("robewave")
		CLTS F 4 A_FaceTarget
		TNT1 A 0 a_playsound ("zelda/rodshot",0,1,0,0.6)
		CLTS G 2 Bright a_custommissile ("robewave")
		CLTS F 4 A_FaceTarget
		TNT1 A 0 a_playsound ("zelda/rodshot",0,1,0,0.6)
		CLTS G 2 Bright a_custommissile ("robewave")
		CLTS F 1 a_jump (100,"trishot")
		Goto see
	trishot:
		CLTS E 10 A_FaceTarget
		CLTS F 10 A_FaceTarget
		TNT1 A 0 a_playsound ("zelda/rodshot",0,1,0,0.5)
		TNT1 A 0 a_custommissile ("robewave",32,-20,10)
		TNT1 A 0 a_custommissile ("robewave",32,20,-10)
		CLTS G 2 Bright a_custommissile ("robewave")
		CLTS F 4
		goto see
		
	Pain:
		TNT1 A 0
		CLTS H 1 A_Pain
		CLTS H 0 a_playsound ("monsters/zeldahurt",0)
		"####" "#" 1 bright Thing_SetTranslation(0, 4242)
		CLTS H 1 Thing_SetTranslation(0, 0)
		"####" "#" 1 bright Thing_SetTranslation(0, 4242)
		CLTS H 1 Thing_SetTranslation(0, 0)
		"####" "#" 1 bright Thing_SetTranslation(0, 4242)
		CLTS H 1 Thing_SetTranslation(0, 0)
		"####" "#" 1 bright Thing_SetTranslation(0, 4242)
		CLTS H 1 Thing_SetTranslation(0, 0)
		"####" "#" 1 bright Thing_SetTranslation(0, 4242)
		CLTS H 1 Thing_SetTranslation(0, 0)
		Goto See
	Death:
	XDeath:		
		TNT1 A 0
		TNT1 A 0 a_scream
		TNT1 A 0 Thing_SetTranslation(0, 0)
		TNT1 A 0 a_noblocking
		CLTS H 0 a_playsound ("monsters/zeldahurt",0)
		TNT1 A 1 a_spawnitemex ("zeldamonsterdie",0,0,35)
		TNT1 A 0 a_playsound ("monsters/zeldadeath",0)
		TNT1 A 0 a_spawnitemex ("Magicrod",0,0,15,0,0,10,0,0,160)
		DEDM ABCDEFG 3
		DEDM H 2
		TNT1 A 0 a_spawnitemex ("droppeditemspawner",0,0,35)
		TNT1 A 0 a_spawnitemex ("droppeditemspawner",0,0,35)
		TNT1 A 0 a_spawnitemex ("droppeditemspawner",0,0,35)
		DEDM H -1
		stop
	Raise:
		TNT1 A 0
		TNT1 A 0 Thing_SetTranslation(0, 0)
		DEDM H 30
		DEDM GFEDCBA 2
		Goto See 
	}
}	

actor robewave
{
	PROJECTILE
	scale 1
	Damage (15)
	Speed 30
	Radius 8
	Height 8
	+bright
	damagetype "zelda"
	States
	{
	Spawn:
		MWAV ABC 3
		loop
	Death:
		WVBM H 4 
		Stop
	}
}

actor zeldamonsterdie
{
	+NOINTERACTION
	+clientsideonly
	scale 4
	Radius 4
	Height 5
	+bright
	states
	{
	spawn:
		TNT1 A 0
		ZDTH A 2
		ZDTH B 2
		ZDTH A 2
		stop
	Death:
		TNT1 A 1
		stop
	}
}
	