ACTOR TrueDarkEnragedLegendaryZombie
{
Monster
Health 6500
PainChance 10
Speed 21
BloodColor "Black"
Scale 1.15
DamageFactor 0.4
DamageFactor "PlayerNemesisPlasma", 0.0
DamageFactor "Explosion", 0.2
DamageFactor "PlayerDTRG", 0.4
DamageFactor "DTRailgun", 0.4
DamageFactor "PDTPuff", 0.4
DamageFactor "RailG", 0.3
DamageFactor "PlayerPyro", 0.2
DamageFactor "VileFires", 0.0
DamageFactor "DarkDemoEx", 0.0
DropItem "NemesisHealthBonusMax", 256, 32
DropItem "NemesisArmorBonus32", 256
DropItem "NemesisHealthBonusMax", 256, 32
DropItem "NemesisArmorBonus32", 256
DropItem "VengefulNemesisArmor" 110 1
DropItem "NemesisPowerSphere" 100 1
DropItem "NemesisGreaterDemonicEnergy" 200 
DropItem "NemesisDemonicEnergy" 256
DropItem "LegTimeFreezeSphere" 100
DropItem "NemesisPowerShard" 65 1
DropItem "Nemesis Rifle" 40 1
SeeSound "VexedNemesisZombie/Sight"
PainSound "VexedNemesisZombie/Pain"
DeathSound "VexedNemesisZombie/Death"
ActiveSound "VexedNemesisZombie/Active"
Obituary "%o was wiped clean off the floor by the Nemesis Fiend."
HitObituary "%o was processed into the Nemesis Fiend's daily meal."
Tag "\c[l5]True\c- \c[g2]Dark\c- \c[m6]Enraged\c- \c[z3]Legendary  Zombie\c-" 
var int user_music;
var int user_deathtimer;
var int user_deathtimeractive;
var int user_ragewait;
var int user_delay;
var int user_missile;
var int user_fake;
States
{
  Spawn:
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	DELK A 12 Bright A_Look
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	Loop
  See:
  	TNT1 A 0 A_JumpIf(user_deathtimeractive == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("NemesisDeathTimerForVexed",0)
	TNT1 A 0 A_SetUserVar("user_deathtimeractive",1)
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,6759)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_JumpIfInventory("RunesCheck",1,2)
	TNT1 A 0 ACS_NamedExecuteWithResult("CheckRunes")
	TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	TNT1 A 0 A_Jump(110,"Rush")
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("NemesisFiend/Step1")
	DELK AABB 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("NemesisFiend/Step1")
	DELK CCDD 2 Bright A_Chase
	TNT1 A 0 A_Jump(25,"Teleport")
	Loop
  Rush:
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("NemesisFiend/Step2")
	DELK AA 0 A_Chase
	DELK A 1 Bright A_SpawnItemEx("NemesisFiendGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	DELK AA 0 A_Chase
	DELK A 1 Bright A_SpawnItemEx("NemesisFiendGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	DELK AA 0 A_Chase
	DELK B 1 Bright A_SpawnItemEx("NemesisFiendGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	DELK AA 0 A_Chase
	DELK B 1 Bright A_SpawnItemEx("NemesisFiendGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TNT1 A 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("NemesisFiend/Step2")
	DELK AA 0 A_Chase
	DELK C 1 Bright A_SpawnItemEx("NemesisFiendGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	DELK AA 0 A_Chase
	DELK C 1 Bright A_SpawnItemEx("NemesisFiendGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	DELK AA 0 A_Chase
	DELK D 1 Bright A_SpawnItemEx("NemesisFiendGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	DELK AA 0 A_Chase
	DELK D 1 Bright A_SpawnItemEx("NemesisFiendGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TNT1 A 0 A_Jump(15,"Teleport")
	TNT1 A 0 A_Jump(87,"See")
	Loop
	Strafing:
	TNT1 A 0 A_SpawnItem("FootStep")
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	DELK AA 3 A_GiveInventory("LegZombieStrafingg",1)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	DELK BB 3 A_GiveInventory("LegZombieStrafingg",1)
	TNT1 A 0 A_SpawnItem("FootStep")
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
    DELK CC 3 A_GiveInventory("LegZombieStrafingg",1)	
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	DELK DD 3 A_GiveInventory("LegZombieStrafingg",1)
	Goto See
 Teleport:
	DELK A 1 Bright A_UnSetShootable
	DELK AAAA 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	DELK AAAAAAAAAA 1 A_FadeOut(0.1,0)
	DELK AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	DELK AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	DELK A 1 A_PlayWeaponSound("boss/teleport")
	DELK AAAA 0 A_SpawnItem("EnragedHellionSmokeSpawner",0,0,0,0)
	DELK AAAAAAAAAA 1 A_FadeIn(0.1)
	DELK A 1 Bright A_SetShootable
	Goto See		
  Missile:
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_Jump(128,2)
	TNT1 A 0 A_JumpIfCloser(500,"FireBreath")
	TNT1 A 0 A_Jump(48,"Rage")
	TNT1 A 0 A_Jump(64,"Ripper","BigBall","DeadHands")
	TNT1 A 0 A_JumpIfCloser(300,"Lunge")
  Normal:		
	DELK EF 6 Bright A_FaceTarget
	DELK G 6 Bright A_CustomMissile("NemesisFiendBall",32,0,0)
	DELK EF 6 Bright A_FaceTarget
	DELK G 6 Bright A_CustomMissile("NemesisFiendBall",32,0,0)	
	DELK EF 8 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisFiendBall",32,0,10)
	TNT1 A 0 A_CustomMissile("NemesisFiendBall",32,0,-10)	
	DELK G 8 Bright A_CustomMissile("NemesisFiendBall",32,0,0)	
	DELK E 6 Bright
	Goto See	
  BigBall:
	DELK EF 8 A_FaceTarget
	DELK G 8 Bright A_CustomMissile("NemesisFiendBigBall",32,0,0)
	DELK EF 8 A_FaceTarget
	DELK G 8 Bright A_CustomMissile("NemesisFiendBigBall",32,0,0)
	Goto See
  FireBreath:
	TNT1 A 0 A_PlaySound("LegFiend/Melee",2)
	DELK EF 5 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("magma/firebreath")
	TNT1 A 0 A_FaceTarget
	DELK FFFFFFFFFFFF 1 Bright A_CustomMissile("ELegBehCannonProj",32,0,Random(6,-6))
	TNT1 A 0 A_FaceTarget
	DELK FFFFFFFFFFFF 1 Bright A_CustomMissile("ELegBehCannonProj",32,0,Random(6,-6))
	TNT1 A 0 A_FaceTarget
	DELK FFFFFFFFFFFF 1 Bright A_CustomMissile("ELegBehCannonProj",32,0,Random(6,-6))
	TNT1 A 0 A_FaceTarget
	DELK FFFFFFFFFFFF 1 Bright A_CustomMissile("ELegBehCannonProj",32,0,Random(6,-6))
	DELK E 10 Bright
	TNT1 A 0 A_JumpIf(user_delay >= 5,"CometEnd")
	TNT1 A 0 A_CustomMissile("ELegBehComet", 30, -30, Random(0, 6))
	DELK FFFFFFFFFFFF 2 A_CustomMissile("ELegBehComet", 30, 30, Random(0, -6))	
	TNT1 A 0 A_CustomMissile("ELegBehComet", 30, 30, Random(-7, -12))
	DELK FFFFFFFFFFFF 4 A_CustomMissile("ELegBehComet", 30, -30, Random(7, 12))
	DELK FFFFFFFFFFFF 5 A_FaceTarget
	TNT1 A 0 A_SetUserVar(user_delay,user_delay+1)
	Loop
	Goto See
  Ripper:		
	DELK EEEFFF 3 Bright A_FaceTarget
	DELK GGG 3 Bright A_CustomMissile("NemesisFiendBoomerang",32,0,random(-2,2))
	DELK G 0 A_FaceTarget
	DELK GGG 3 Bright A_CustomMissile("NemesisFiendBoomerang",32,0,random(-2,2))
	DELK G 0 A_FaceTarget
	DELK GGG 3 Bright A_CustomMissile("NemesisFiendBoomerang",32,0,random(-2,2))
	DELK E 2 Bright A_FaceTarget
	Goto See
  Lunge:
	TNT1 A 0 A_Jump(64,"Normal")
	TNT1 A 0 A_PlaySound("LegFiend/Melee")
	DELK EF 4 Bright A_FaceTarget
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,1)
	TNT1 A 0 ThrustThingZ(0,20,0,1)
	DELK F 2 Bright A_Recoil(-36)
	DELK F 3 Bright A_CustomMissile("NemesisFiendLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 6 Bright
	DELK G 2 Bright A_ScaleVelocity(0.2)
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	DELK G 1 Bright A_ScaleVelocity(0)
	Goto Missile
  Rage:	
	DELK G 1 A_JumpIfCloser(1500,1)
	Goto Normal
	DELK G 1 Bright A_PlaySound("NemesisFiend/Attack",2)
	DELK G 0 A_SetInvulnerable
	DELK G 1 Bright A_FaceTarget
  RageWait:
	TNT1 A 0 A_JumpIf(user_ragewait >= 10,"RageGo")
	TNT1 A 0 A_SetUserVar("user_ragewait",user_ragewait+1)
	DELK G 0 A_JumpIfTargetInLos(2)
	DELK G 0 A_Jump(256,2)
	DELK G 0 A_FaceTarget
	DELK G 2 Bright A_SpawnItem("NemesisSoulFlameSpawner",0,0,0,0)
	Loop
  RageGo:
	TNT1 A 0 A_SetUserVar("user_ragewait",0) 
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 ThrustThingZ(0,35,0,1)
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,1)
	TNT1 A 0 A_ChangeFlag(NOPAIN,1)
	TNT1 A 0 A_PlaySound("TrueDarkZombie/Attack",7)
	DELK G 9 Bright
	DELK G 0 A_JumpIfTargetInLos(2)
	DELK G 0 A_Jump(256,2)
	DELK G 0 A_FaceTarget
	DELK G 3 Bright
	TNT1 A 0 ThrustThingZ(0,20,0,1)
	DELK F 2 A_Recoil(-100)
	TNT1 A 0 A_PlaySound("TrueDarkZombie/Attack",4)
	DELK G 0 A_SpawnItemEx("DarkNemesisFiendLungeGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("NemesisSoulFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("ELFGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("ELFiendFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	TNT1 A 0 A_Jump(128,"LungeTeleport")
	DELK G 0 A_SpawnItemEx("DarkNemesisFiendLungeGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("NemesisSoulFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("ELFGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("ELFiendFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget	
	DELK G 0 A_SpawnItemEx("DarkNemesisFiendLungeGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("NemesisSoulFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("ELFGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("ELFiendFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("DarkNemesisFiendLungeGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("NemesisSoulFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("ELFGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("ELFiendFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("DarkNemesisFiendLungeGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("NemesisSoulFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("ELFGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("ELFiendFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("DarkNemesisFiendLungeGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("NemesisSoulFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("ELFGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("ELFiendFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("DarkNemesisFiendLungeGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("NemesisSoulFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("ELFGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("ELFiendFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("DarkNemesisFiendLungeGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("NemesisSoulFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("ELFGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("ELFiendFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("DarkNemesisFiendLungeGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("NemesisSoulFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("ELFGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("ELFiendFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("DarkNemesisFiendLungeGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("NemesisSoulFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	DELK G 0 A_SpawnItemEx("ELFGhost",0,0,0,0,0,0,0,128)
	DELK G 0 A_SpawnItem("ELFiendFlameSpawner",0,0,0,0)
	DELK G 0 A_CustomMissile("BigLFLunge",18,0,0,CMF_AIMDIRECTION)
	DELK G 2 Bright A_FaceTarget
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	Goto See
   DeadHands:	
    DELK K 0 A_JumpIf(user_missile >= 4,"DeadHandsEnd")	 
    DELK GH 3 A_FaceTarget
    DELK I 3 A_CustomMissile("LegRevFloorDeadHands",0)
	DELK RS 3 A_FaceTarget
    DELK T 3 A_CustomMissile("LegRevFloorDeadHands",0)
	DELK K 0 A_SetUserVar("user_missile",user_missile+1)
  LungeTeleport:
	DELK G 1 Bright A_UnSetShootable
	TNT1 A 0 A_PlaySound("boss/teleport",1)
	DELK AAAA 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	DELK GGGGGGGGGG 1 A_FadeOut(0.1,0)
	TNT1 A 0 A_Stop
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 1 A_Chase("","")
	DELK A 1 A_PlaySound("boss/teleport",1)
	DELK AAAA 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	DELK AAAAAAAAAA 1 A_FadeIn(0.1)
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	TNT1 A 0 A_ChangeFlag(NOPAIN,0)
	DELK A 1 Bright A_SetShootable
	TNT1 A 0 A_Jump(128,"RageGo")
	Goto See
  Melee:
	DELK EF 2 Bright A_FaceTarget
	DELK G 2 Bright A_MeleeAttack
	DELK E 2 Bright A_FaceTarget
	Goto See
  Pain:
  	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	TNT1 A 0 A_Jump(35,"Teleport")
	TNT1 A 0 A_Jump(88,"Rage")
	DELK H 2 Bright
	DELK H 2 Bright A_Pain
	Goto See
  PainMissile:
	DELK H 2 Bright
	DELK H 2 Bright A_Pain
	Goto Missile
  Fake:
  	TNT1 A 0 A_JumpIf(user_fake >= 2,"See")	 
    TNT1 A 0 A_SetUserVar("user_fake",user_fake+1)
	TNT1 A 0 A_ChangeFlag("SHOOTABLE",0)
    TNT1 A 0 A_ChangeFlag("SOLID",0)
	TNT1 A 0 A_ChangeFlag("BRIGHT",0)
	DELK JJ 7
	TNT1 A 0 A_StopSound(6)
	TNT1 A 0 A_SetUserVar("user_music",0)
	DELK J 7 A_PlaySoundEx("VexedNemesisZombie/Death","body",0,1)
    DELK J 7
	DELK K 0 A_SpawnItemEx("BossArmorBonusMax")
	DELK K 7 A_SpawnItemEx("BossLifeEssence")
    DELK L 17
	TNT1 A 0 A_Jump(54,"FakeDone")
	DELK MMMMMMMMMMMMM 2 A_SpawnItemEx("LRUndeadHand",random(-128,128),random(-128,128))
	DELK MMMMMMMMMMMMM 2 A_SpawnItemEx("LRUndeadHand",random(-128,128),random(-128,128))
	TNT1 A 0 A_Jump(54,"FakeDone")
	DELK MMMMMMMMMMMMM 2 A_SpawnItemEx("LRUndeadHand",random(-128,128),random(-128,128))
	DELK MMMMMMMMMMMMM 2 A_SpawnItemEx("LRUndeadHand",random(-128,128),random(-128,128))
	DELK MMMMMMMMMMMMM 2 A_SpawnItemEx("LRUndeadHand",random(-128,128),random(-128,128))
	DELK M 175
  FakeDone:
	EREV M 0 A_PlaySound("misc/gibbed")
  	EREV M 0 A_SpawnItemEx("EnragedRevenantRes",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	EREV M 0 A_ChangeFlag("SHOOTABLE",1)
	TNT1 A 0 A_ChangeFlag("BRIGHT",1)
    EREV M 5 A_ChangeFlag("SOLID",1)
	EREV M 0 A_PlaySound("VexedNemesisZombie/Active","Body",1,0,ATTN_NONE)
    EREV MLKJI 3
    Goto See
  Death:
  	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	DELK I 10 A_StopSound(6)
	DELK J 0 A_PlaySound("Gore/Splat")
	DELK J 0 A_SpawnItemEx("NemesisGibbedGenerator",0,0,0,0,0,0,0,128,0)
	DELK J 10 A_Scream
	DELK K 10 
	DELK L 10 A_NoBlocking
	DELK M 10 
	TNT1 A 0 A_Jump(100,"MoreStuff")
	DELK N -1
	Stop
	}
}

Actor DarkDarkNemesisFiendLungeGhost : NemesisFiendGhost
{
  States
  {
  Spawn:
	TNT1 A 0
	TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1,"NULL")
	DELK G 2 A_FadeOut(0.09)
	Wait
	}
}