ACTOR INFPhaseUberCommando : PhaseCommando Replaces PhaseCommando
{
//Creator: ConsulCast
//Origin: Nexus Infinity
//Sprite: PHCG
//Title: "Phase Commando"
Health 1640
Speed 13
Alpha 0.65
Scale 1.2
DropItem "HandGrenadeAmmo" 256 2
DropItem "MineAmmo" 256 2
DropItem "Backpack" 256 1
DropItem "Armorplate" 256 1
DropItem "Portablemedkit" 256 1
Dropitem "MarineSquadBeacon", 80, 1
Dropitem "MarineDBFGBeacon", 55, 1
DropItem "DemonicChalice", 128, 1
DropItem "UltraSphere", 256, 1
DropItem "PhaseSphere", 256, 1
DropItem "BigGas" 256 100
DamageFactor 0.6
DamageFactor "PlayerDTRG", 0.4
DamageFactor "DTRailgun", 0.4
DamageFactor "Player",0.3
DamageFactor "LegendaryPlayer",0.5
DamageFactor "Legendary",0.5
DamageFactor "CChainTracer",0.0
DamageFactor "DBFG2",0.0
DamageFactor "SuperWeapon", 0.75
DamageFactor "LegendaryGuruPlayer", 0.75
DamageFactor "PlayerDevBall", 0.65
DamageFactor "PlayerDevTracer", 0.15
DamageFactor "PowerDoubleDamage", 0.5
DamageFactor "BFG10K", 0.65
DamageFactor "BFG9500Ball", 0.4
DamageFactor "CustomSpray", 0.1
DamageFactor "BFGSplash", 0.1
DamageFactor "BFGSpray", 0.1
DamageFactor "Explosion", 0.1
DamageFactor "PDTBFG", 0.1
DamageFactor "PDTBFGTracer", 0.1
DamageFactor "PlayerDTBFGRailgunSlug", 0.1
DamageFactor "PDTPuff", 0.1
DamageFactor "SatanGuard", 0.0
DamageFactor "Moloch", 0.0
DamageFactor "ZombieDev", 0.0
DamageFactor "Terminator", 0.0
DamageFactor "Legendary1", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "UltimateLegendary", 0.0
DamageFactor "Cybers", 0.0
DamageFactor "Hell", 0.0
DamageFactor "Commander", 0.0
DamageFactor "Baby15K", 0.0
DamageFactor "Cyber10K", 0.0
DamageFactor "DemolisherEx", 0.0
DamageFactor "DarkDemoEx", 0.0
DamageFactor "CerChainguns", 0.0
DamageFactor "CerEnergyBall", 0.0
DamageFactor "HellComet", 0.0
DamageFactor "HFCyber", 0.0
DamageFactor "DBFG10K2", 0.1
DamageFactor "DBFGSplash2", 0.1
DamageType "DBFG2"
Obituary "%o was destroyed by the Phase Uber Commando."
Tag "\ctPhase Uber Commando\c-"
States
{
  Spawn:
	PHCG A 5 A_Look
	loop
  See:
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,3107)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	PHCG AA 3 A_Chase
	TNT1 A 0 A_JumpIfTargetInLos("OpeningDelay")
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_PlaySound("CCHAIN/step")
	PHCG BB 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	PHCG CC 3 A_Chase
	TNT1 A 0 A_PlaySound("CCHAIN/step")
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	PHCG DD 3 A_Chase
	TNT1 A 0 A_Jump(128, "Teleport")
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	Loop
  OpeningDelay:
	PHCG E 3 A_GiveInventory("PHCommandoStrafing",1)	
  Opening:
	TNT1 A 0 A_Playsound("CCHAIN/Telegraph",CHAN_WEAPON)
	PHCG E 1 A_Facetarget
	PHCG EEEEEEEEEE 2 A_CustomRailgun(-1,10,NONE,"Purple",RGF_SILENT|RGF_NOPIERCING,1,0,"RailTargetPuff",0,0,0,0,2,0,"PChainLaserTarget",-8)
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	PHCG EE 1 Bright A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_Playsound("CCHAIN/Rocket",CHAN_WEAPON)
	PHCG FF 1 A_CustomMissile("PCFamineBall", 25, 0, 0)
	TNT1 A 0 A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	PHCG EE 1 Bright A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_Playsound("CCHAIN/Rocket",CHAN_WEAPON)
	PHCG FF 1 A_CustomMissile("PCFamineBall", 25, 0, 0)
	TNT1 A 0 A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	PHCG EE 1 Bright A_GiveInventory("PHCommandoStrafing",1)
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_Playsound("CCHAIN/Rocket",CHAN_WEAPON)
	PHCG FF 1 A_CustomMissile("PCFamineBall", 25, 0, 0)
	TNT1 A 0 A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	PHCG EE 1 Bright A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Rocket",CHAN_WEAPON)
	PHCG FF 1 A_CustomMissile("PCFamineBall", 25, 0, 0)
	TNT1 A 0 A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
  Teleport:
	TNT1 A 0 A_UnSetShootable
	TNT1 AAAAAAAAA 0 A_SpawnItemEx("PComShadowSpawner")
	PHCG HHHHH 1 A_Fadeout(0.1,0)
	TNT1 A 0 A_Stop
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 A 0 A_PlaySound("boss/teleport", 6)
	TNT1 AAAAAAAAA 0 A_SpawnItemEx("PComShadowSpawner")
	PHCG HHHHH 1 A_FadeIn(0.1)
	TNT1 AAAAAAAAA 0 A_SpawnItemEx("PComShadowSpawner")
	PHCG E 1 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_JumpIfTargetInLOS(1)
	Goto See
	TNT1 A 0
  Missile:
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_Jump(128,"Laser", "DTBFG")
  Normal:
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	PHCG E 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("sentient/fire")
	PHCG F 2 Bright A_CustomMissile("CommanderExplosiveTracer",25,0,random(-5,5))
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_FaceTarget
	PHCG EE 1 Bright A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_PlaySound("sentient/fire")
	PHCG F 1 Bright A_CustomMissile("CommanderExplosiveTracer",25,0,random(-5,5))
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_FaceTarget
	PHCG EE 1 Bright A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	PHCG F 2 Bright A_CustomMissile("CommanderExplosiveTracer",25,0,random(-5,5))
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_FaceTarget
	PHCG EE 1 Bright A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_PlaySound("sentient/fire")
	PHCG F 1 Bright A_CustomMissile("CommanderExplosiveTracer",25,0,random(-5,5))
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_FaceTarget
	PHCG EE 1 Bright A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_PlaySound("sentient/fire")
	PHCG F 1 Bright A_CustomMissile("CommanderExplosiveTracer",25,0,random(-5,5))
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_FaceTarget
	PHCG EE 1 Bright A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_PlaySound("sentient/fire")
	PHCG F 1 Bright A_CustomMissile("CommanderExplosiveTracer",25,0,random(-5,5))
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_FaceTarget
	PHCG EE 1 Bright A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	PHCG F 1 Bright A_CustomMissile("CommanderExplosiveTracer",25,0,random(-5,5))
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_FaceTarget
	PHCG EE 1 Bright A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_PlaySound("sentient/fire")
	PHCG F 1 Bright A_CustomMissile("CommanderExplosiveTracer",25,0,random(-5,5))
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_FaceTarget
	PHCG EE 1 Bright A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_PlaySound("sentient/fire")
	PHCG F 1 Bright A_CustomMissile("CommanderExplosiveTracer",25,0,random(-5,5))
	TNT1 A 0 A_Jump(32, "Teleport")
	Goto Missile+1
  Laser:
	TNT1 A 0 A_PlaySound("CCHAIN/Charge", CHAN_NOPAUSE, 500)
	TNT1 A 0 A_PlaySound("CCHAIN/Active",CHAN_VOICE,1,0,0.5)
	TNT1 A 0 A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	PHCG E 20 Bright A_FaceTarget
  Lasering:
	TNT1 A 0 A_JumpIf(user_missile >= 10, "LaserCool")
    TNT1 A 0 A_SetUserVar("user_missile", user_missile+1)
	TNT1 A 0 A_GiveInventory("PHCommandoStrafing",1)	
	PHCG E 1 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("CCHAIN/Laser", CHAN_WEAPON, 500)
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_GiveInventory("PHCommandoStrafing",1)	
	PHCG F 1 Bright A_CustomMissile("PCPhazoLaser",25,0,0,0)
	//TNT1 A 0 A_Jump (110,"Lasering")
	Loop
  LaserCool:
	TNT1 A 0 A_PlaySound("weapons/steam")
	TNT1 A 0 A_SetUserVar("user_missile", 0)
	TNT1 A 0 A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	PHCG EEEEEEEEEEEEE 1 A_SpawnItemEx("Smoke",20,10,25,random(2,-2),random(2,-2),random(1,3),0,0,0,0)
	TNT1 A 0 A_GiveInventory("PHCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	Goto Teleport
  DTBFG:
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_PlaySound("CCHAIN/Charge",1)
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_PlaySound("CCHAIN/Active",CHAN_VOICE,1,0,0.5)
	PHCG E 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("PComShadowSpawner")
	TNT1 A 0 A_GiveInventory("PHCommandoStrafing",1)
	PHCG E 1 A_SpawnItemEx("PComShadowSpawner")
	PHCG EEEEEEEEEE 2 A_CustomRailgun(-1,10,NONE,"Purple",RGF_SILENT|RGF_NOPIERCING,1,0,"RailTargetPuff",0,0,0,0,2,0,"PChainLaserTarget",-8)
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	PHCG F 4 Bright A_CustomMissile("PCPhase10KBall",38,0,0)
	TNT1 A 0 A_Jump(120,"Teleport")
	Goto See
  Death:
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	PHCG I 20 A_StopSound(6)
	PHCG J 0 A_PlaySound("Gore/Splat")
	PHCG J 10 Bright A_SpawnItemEx("Kaboom18Purple",random(12,-12),random(12,-12),random(12,64),0,0,random(1,3),0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	PHCG J 10 A_Scream
	PHCG K 20 Bright A_SpawnItemEx("Kaboom18Purple",random(12,-12),random(12,-12),random(12,64),0,0,random(1,3),0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	PHCG L 20 A_NoBlocking
	PHCG M 20 Bright A_SpawnItemEx("Kaboom18Purple",random(12,-12),random(12,-12),random(12,64),0,0,random(1,3),0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	PHCG M -1
	Stop
	}
}

Actor PHCommandoStrafing : LegZombieStrafing2
{
States
  {
  Pickup:
	NULL A 1 
	NULL A 1 A_SpawnItem("PComShadowSpawner",0,0,0,0)
	NULL A 1 A_Jump(188,2)
	NULL A 1 A_GiveInventory("LegZombieJumping",1)
	NULL A 1 A_JumpIf(velx != 0 || vely != 0,2)
	NULL A 1 A_Jump(256,2)
	NULL A 1 A_Jump(235,5)
	NULL A 1 A_JumpIfInventory("LegCommandoStrafeSens",1,3)
	NULL A 1 A_GiveInventory("LegCommandoStrafeSens",1)
	NULL A 1 A_Jump(256,2)  
	NULL A 1 A_TakeInventory("LegCommandoStrafeSens",1)
	NULL A 1 A_JumpIfInventory("LegCommandoStrafeSens",1,3)
	NULL A 1 ThrustThing(angle*256/360+38.7,3,0,0)
	NULL A 1 A_Jump(256,2)  
	NULL A 1 ThrustThing(angle*256/360+38.7,-3,0,0)
	NULL A 1 A_FaceTarget
	NULL A 1 A_Jump(24,2)
	NULL A 1 A_JumpIfCloser(300,2)
	NULL A 1 A_Recoil(-1)
    Stop
	NULL A 1 A_Recoil(1)
	Stop  
  }
}

ACTOR INFCorruptedUberCommando : CorruptedCommando Replaces CorruptedCommando
{
//Creator: ConsulCast
//Origin: Nexus Infinity
//Sprite: CRCG
//Title: "Corrupted Commando"
Health 1850
Radius 20
Height 56
Speed 13
Mass 100
Monster
Scale 1.2
DropItem "HandGrenadeAmmo" 256 2
DropItem "MineAmmo" 256 2
DropItem "Backpack" 256 1
DropItem "Armorplate" 256 1
DropItem "Portablemedkit" 256 1
Dropitem "D-BFG", 100, 1
Dropitem "MarineSquadBeacon", 80, 1
Dropitem "MarineDBFGBeacon", 55, 1
Dropitem "DCellPack", 256, 32
Dropitem "DCellPack", 128, 30
Dropitem "DCell", 256, 10
Dropitem "DCell", 256, 10
Dropitem "DCell", 256, 10
DropItem "DemonicChalice", 128, 1
DropItem "UltraSphere", 256, 1
DamageFactor 0.5
DamageFactor "PlayerDTRG", 0.4
DamageFactor "DTRailgun", 0.4
DamageFactor "Player",0.3
DamageFactor "LegendaryPlayer",0.5
DamageFactor "Legendary",0.5
DamageFactor "CChainTracer",0.0
DamageFactor "SuperWeapon", 0.75
DamageFactor "LegendaryGuruPlayer", 0.75
DamageFactor "PlayerDevBall", 0.65
DamageFactor "PlayerDevTracer", 0.15
DamageFactor "PowerDoubleDamage", 0.5
DamageFactor "BFG10K", 0.65
DamageFactor "BFG9500Ball", 0.4
DamageFactor "CustomSpray", 0.1
DamageFactor "BFGSplash", 0.1
DamageFactor "BFGSpray", 0.1
DamageFactor "Explosion", 0.1
DamageFactor "PDTBFG", 0.1
DamageFactor "PDTBFGTracer", 0.1
DamageFactor "PlayerDTBFGRailgunSlug", 0.1
DamageFactor "PDTPuff", 0.1
DamageFactor "SatanGuard", 0.0
DamageFactor "Moloch", 0.0
DamageFactor "ZombieDev", 0.0
DamageFactor "Terminator", 0.0
DamageFactor "Legendary1", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "UltimateLegendary", 0.0
DamageFactor "Cybers", 0.0
DamageFactor "Hell", 0.0
DamageFactor "Commander", 0.0
DamageFactor "Baby15K", 0.0
DamageFactor "Cyber10K", 0.0
DamageFactor "DemolisherEx", 0.0
DamageFactor "DarkDemoEx", 0.0
DamageFactor "CerChainguns", 0.0
DamageFactor "CerEnergyBall", 0.0
DamageFactor "HellComet", 0.0
DamageFactor "HFCyber", 0.0
DamageFactor "DBFG2", 0.0
DamageFactor "DBFG10K2", 0.0
DamageFactor "DBFGSplash2", 0.0
DamageType "DBFG2"
Species "SpecOps"
SeeSound "CCHAIN/Sight"
ActiveSound "CCHAIN/Active"
PainSound "UCHAIN/Pain"
DeathSound "CCHAIN/Death"
Obituary "%o was destroyed by the Corrupted Uber Commando."
Tag "\c[l5]Corrupted Uber Commando\c-"
+FLOORCLIP
+SEEINVISIBLE
+MISSILEMORE
+DONTMORPH
+NOICEDEATH
+DONTRIP
+NOPAIN
+DONTGIB
+BOSS
+MISSILEEVENMORE
+DONTHARMSPECIES
+QUICKTORETALIATE
+NOBLOOD
var int user_music;
var int user_missile;
States
{
  Spawn:
	CRCG AA 1 A_Look
	loop
  See:
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,3100)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	CRCG AA 3 A_Chase
	TNT1 A 0 A_JumpIfTargetInLos("OpeningDelay")
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	TNT1 A 0 A_PlaySound("CCHAIN/step")
	CRCG BB 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	CRCG CC 3 A_Chase
	TNT1 A 0 A_PlaySound("CCHAIN/step")
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	CRCG DD 3 A_Chase
	TNT1 A 0 A_Jump(128, "Teleport")
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	Loop
  OpeningDelay:
	CRCG E 3 A_GiveInventory("COCommandoStrafing",1)	
  Opening:
	TNT1 A 0 A_Playsound("CCHAIN/Telegraph",CHAN_WEAPON)
	CRCG E 1 A_Facetarget
	CRCG EEEEEEEEEE 2 A_CustomRailgun(-1,10,NONE,NONE,RGF_SILENT|RGF_NOPIERCING,1,0,"RailTargetPuff",0,0,0,0,2,0,"CChainLaserTarget")
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	CRCG EE 1 Bright A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Rocket",CHAN_WEAPON)
	CRCG FF 1 A_CustomMissile("BlueCommandoRocket", 32, 0, 0)
	TNT1 A 0 A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	CRCG EE 1 Bright A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Rocket",CHAN_WEAPON)
	CRCG FF 1 A_CustomMissile("BlueCommandoRocket", 32, 0, 0)
	TNT1 A 0 A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	CRCG EE 1 Bright A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Rocket",CHAN_WEAPON)
	CRCG FF 1 A_CustomMissile("BlueCommandoRocket", 32, 0, 0)
	TNT1 A 0 A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	CRCG EE 1 Bright A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Rocket",CHAN_WEAPON)
	CRCG FF 1 A_CustomMissile("BlueCommandoRocket", 32, 0, 0)
	TNT1 A 0 A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
  Teleport:
	TNT1 A 0 A_UnSetShootable
	TNT1 AAAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	CRCG HHHHHHHHHHH 1 A_Fadeout(0.1,0)
	TNT1 A 0 A_Stop
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 A 0 A_PlaySound("boss/teleport", 6)
	TNT1 AAAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	CRCG HHHHHHHHHHH 1 A_FadeIn(0.1)
	CRCG E 3 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_JumpIfTargetInLOS(1)
	Goto See
  Missile:
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	TNT1 A 0 A_Jump(128,"Laser", "DTBFG")
  Normal:
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	CRCG E 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("sentient/fire")
	CRCG F 2 Bright A_CustomMissile("CChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	CRCG EE 1 Bright A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	CRCG F 1 Bright A_CustomMissile("CChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	CRCG EE 1 Bright A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	CRCG F 2 Bright A_CustomMissile("CChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	TNT1 A 0 A_FaceTarget
	CRCG EE 1 Bright A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	CRCG F 1 Bright A_CustomMissile("CChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	TNT1 A 0 A_FaceTarget
	CRCG EE 1 Bright A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	CRCG F 1 Bright A_CustomMissile("CChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	CRCG EE 1 Bright A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	CRCG F 1 Bright A_CustomMissile("CChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	CRCG EE 1 Bright A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	CRCG F 1 Bright A_CustomMissile("CChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	CRCG EE 1 Bright A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	TNT1 A 0 A_PlaySound("sentient/fire")
	CRCG F 1 Bright A_CustomMissile("CChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	CRCG EE 1 Bright A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	CRCG F 1 Bright A_CustomMissile("CChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_Jump(80, "Teleport")
	TNT1 A 0 A_Jump(100,"See")
	Goto Missile+1
  Laser:
	TNT1 A 0 A_PlaySound("CCHAIN/Charge", CHAN_NOPAUSE, 500)
	TNT1 A 0 A_PlaySound("CCHAIN/Active",CHAN_VOICE,1,0,0.5)
	TNT1 A 0 A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	CRCG E 20 Bright A_FaceTarget
  Lasering:
	TNT1 A 0 A_JumpIf(user_missile >= 10, "LaserCool")
    TNT1 A 0 A_SetUserVar("user_missile", user_missile+1)
	TNT1 A 0 A_GiveInventory("COCommandoStrafing",1)	
	CRCG E 7 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("CCHAIN/Laser", CHAN_WEAPON, 500)
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	TNT1 A 0 A_GiveInventory("COCommandoStrafing",1)	
	CRCG F 2 Bright A_CustomMissile("COCommanderBall",32,0,0,0)
	//TNT1 A 0 A_Jump (110,"Lasering")
	Loop
  LaserCool:
	TNT1 A 0 A_PlaySound("weapons/steam")
	TNT1 A 0 A_SetUserVar("user_missile", 0)
	TNT1 A 0 A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	TNT1 A 0 A_Jump(45, "Teleport")
	CRCG EEEEEEEEEEEEE 2 A_SpawnItemEx("Smoke",20,10,32,random(2,-2),random(2,-2),random(1,3),0,0,0,0)
	TNT1 A 0 A_GiveInventory("COCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	Goto See
  DTBFG:
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	TNT1 A 0 A_PlaySound("CCHAIN/Charge",1)
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	TNT1 A 0 A_PlaySound("CCHAIN/Active",CHAN_VOICE,1,0,0.5)
	CRCG E 1 Bright A_FaceTarget
	CRCG E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("CBoysFireSpawner")
	CRCG E 1 A_SpawnItemEx("CBoysFireSpawner")
	CRCG EEEEEEEEEE 2 A_CustomRailgun(-1,10,NONE,"Blue",RGF_SILENT|RGF_NOPIERCING,1,0,"RailTargetPuff",0,0,0,0,2,0,"CChainLaserTarget")
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	CRCG F 4 Bright A_CustomMissile("CODBFG10KBall",38,0,0)
	Goto See
  Death:
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	CRCG I 20 A_StopSound(6)
	CRCG J 0 A_PlaySound("Gore/Splat")
	CRCG J 10 Bright A_SpawnItemEx("BlueCardRocketExplosion",random(12,-12),random(12,-12),random(12,64),0,0,random(1,3),0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	CRCG J 10 A_Scream
	CRCG K 20 Bright A_SpawnItemEx("BlueCardRocketExplosion",random(12,-12),random(12,-12),random(12,64),0,0,random(1,3),0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	CRCG L 20 A_NoBlocking
	CRCG M 20 Bright A_SpawnItemEx("BlueCardRocketExplosion",random(12,-12),random(12,-12),random(12,64),0,0,random(1,3),0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	CRCG M -1
	Stop
	}
}

Actor COCommandoStrafing : LegZombieStrafing2
{
States
  {
  Pickup:
	NULL A 1 
	NULL A 1 A_SpawnItem("CBoysFireSpawner",0,0,0,0)
	NULL A 1 A_Jump(188,2)
	NULL A 1 A_GiveInventory("LegZombieJumping",1)
	NULL A 1 A_JumpIf(velx != 0 || vely != 0,2)
	NULL A 1 A_Jump(256,2)
	NULL A 1 A_Jump(235,5)
	NULL A 1 A_JumpIfInventory("LegCommandoStrafeSens",1,3)
	NULL A 1 A_GiveInventory("LegCommandoStrafeSens",1)
	NULL A 1 A_Jump(256,2)  
	NULL A 1 A_TakeInventory("LegCommandoStrafeSens",1)
	NULL A 1 A_JumpIfInventory("LegCommandoStrafeSens",1,3)
	NULL A 1 ThrustThing(angle*256/360+38.7,3,0,0)
	NULL A 1 A_Jump(256,2)  
	NULL A 1 ThrustThing(angle*256/360+38.7,-3,0,0)
	NULL A 1 A_FaceTarget
	NULL A 1 A_Jump(24,2)
	NULL A 1 A_JumpIfCloser(300,2)
	NULL A 1 A_Recoil(-1)
    Stop
	NULL A 1 A_Recoil(1)
	Stop  
  }
}

Actor COCommanderBall : LegCommanderBall
{
Species "SpecOps"
+DONTHARMSPECIES
DamageType "DBFG2"
States
    {
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_Jump(128,"Homing")	
    Normal:
        CSTA ABCD 2 A_CustomMissile("CorruptedRevBallFX",0,0,0,0)
        Loop
    Homing:
	    TNT1 A 0 A_SeekerMissile(15,0)
        CSTA A 2 A_CustomMissile("CorruptedRevBallFX",0,0,0,0)
	    TNT1 A 0 A_SeekerMissile(15,0)
        CSTA B 2 A_CustomMissile("CorruptedRevBallFX",0,0,0,0)
	    TNT1 A 0 A_SeekerMissile(15,0)
        CSTA C 2 A_CustomMissile("CorruptedRevBallFX",0,0,0,0)
	    TNT1 A 0 A_SeekerMissile(15,0)
        CSTA D 2 A_CustomMissile("CorruptedRevBallFX",0,0,0,0)		
        Loop	
    Death:
	    CSTA ABCD 4
		TNT1 A 0 A_Explode(48,64,0) 
		TNT1 A 0 A_PlaySound("weapons/clrocketexplode")
	    TNT1 A 0 A_SpawnItemEx("BlueBFGShockwave", 0, 0, 15, 0, 0, 0, 0, 128)
        TNT1 A 20 A_SpawnItem("BlueParticleSpawner",0,-10)
		CSTA E 3 Bright A_BFGSpray("BlueKaboom3")
        CSTA FGHIJKLMNO 3
        Stop
}
}

Actor CODBFG10KBall : DTBFG10KBall
{
PROJECTILE
Speed 20
Alpha 0.85
Decal "DBFG9500Lightning"
Damage 150
+FORCERADIUSDMG
+THRUSPECIES
+DONTHARMSPECIES
Species "SpecOps"
DamageType "DBFG2"
States
  {
  Spawn:
	TNT1 A 0
	TNT1 A 0 A_Jump(128,"SFX")
	TNT1 A 0 A_AlertMonsters
	TNT1 A 0 A_PlaySoundEx("weapons/dtech10kball","Voice",1)
	TNT1 A 0 A_SpawnItemEx("BFGTrailParticleBlue",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	B3S1 A 1 Bright A_SpawnItemEx("PlayerT3DBFGShockAttack",0,0,0,0,0,0,0,SXF_SETMASTER)
	TNT1 A 0 A_SpawnItemEx("BFGTrailParticleBlue",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	B3S1 B 1 Bright A_SpawnItemEx("PlayerT3DBFGShockAttack",0,0,0,0,0,0,0,SXF_SETMASTER)
	TNT1 A 0 A_SpawnItemEx("BFGTrailParticleBlue",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	B3S1 C 1 Bright A_SpawnItemEx("PlayerT3DBFGShockAttack",0,0,0,0,0,0,0,SXF_SETMASTER)
	TNT1 A 0 A_SpawnItemEx("BFGTrailParticleBlue",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	B3S1 D 1 Bright A_SpawnItemEx("PlayerT3DBFGShockAttack",0,0,0,0,0,0,0,SXF_SETMASTER)
    Loop
  SFX:
	TNT1 A 0 A_AlertMonsters
	TNT1 A 0 A_PlaySoundEx("weapons/dtech10kball","Voice",1)
	TNT1 A 0 A_SpawnItemEx("DTBFGLightningBlue",Random(6,-6),Random(6,-6),Random(16,8),0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	TNT1 A 0 A_SpawnItemEx("BFGTrailParticleBlue",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	B3S1 A 1 Bright A_SpawnItemEx("PlayerT3DBFGShockAttack",0,0,0,0,0,0,0,SXF_SETMASTER)
	TNT1 A 0 A_SpawnItemEx("DTBFGLightningBlue2",Random(6,-6),Random(6,-6),Random(16,8),0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	TNT1 A 0 A_SpawnItemEx("BFGTrailParticleBlue",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	B3S1 B 1 Bright A_SpawnItemEx("PlayerT3DBFGShockAttack",0,0,0,0,0,0,0,SXF_SETMASTER)
	TNT1 A 0 A_SpawnItemEx("DTBFGLightningBlue",Random(6,-6),Random(6,-6),Random(16,8),0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	TNT1 A 0 A_SpawnItemEx("BFGTrailParticleBlue",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	B3S1 C 1 Bright A_SpawnItemEx("PlayerT3DBFGShockAttack",0,0,0,0,0,0,0,SXF_SETMASTER)
	TNT1 A 0 A_SpawnItemEx("DTBFGLightningBlue2",Random(6,-6),Random(6,-6),Random(16,8),0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	TNT1 A 0 A_SpawnItemEx("BFGTrailParticleBlue",Random(-12,12),Random(-12,12),Random(12,22),Random(-2,2),Random(-2,2),Random(-2,2),Random(-20,20),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	B3S1 D 1 Bright A_SpawnItemEx("PlayerT3DBFGShockAttack",0,0,0,0,0,0,0,SXF_SETMASTER)
	Goto Spawn   
  Death:
	TNT1 A 0
	TNT1 A 0 A_SetTranslucent(0.75,1)
	TNT1 A 0 Radius_Quake(5,60,0,10,0)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,0,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,10,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,20,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,30,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,40,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,50,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,60,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,70,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,80,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,90,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,100,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,110,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,120,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,130,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,140,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,150,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,160,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,170,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,180,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,190,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,200,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,210,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,220,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,230,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,240,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,250,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,260,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,270,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,280,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,290,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,300,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,310,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,320,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,330,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,340,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_CustomMissile("T3DBFGTracer",0,0,350,CMF_TRACKOWNER|CMF_AIMDIRECTION)
	TNT1 A 0 A_SpawnItemEx("DTBFGLightningBlueSpawner",0,0,15,0,0,0,0,SXF_CLIENTSIDE,0)
	B3S1 ABCD 6 Bright A_SpawnItemEx("DTech10KShockwaveBlue",0,0,15,0,0,0,0,SXF_CLIENTSIDE,0)
	TNT1 A 0 A_Explode(480,240,0)
	TNT1 A 0 A_StopSoundEx("Voice")
	TNT1 A 0 Radius_Quake(15,20,0,20,0)
	TNT1 A 0 A_PlaySound("weapons/dtech10kexplode")
	TNT1 A 0 A_SpawnItemEx("DTech10KShockwaveBlue1",0,0,15,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	TNT1 A 20 A_SpawnItemEx("T3DBFGBallExp")
	Stop
}
}

ACTOR INFLegendaryUberCommando : LegendaryUberCommando Replaces LegendaryUberCommando
{
//Creator: ConsulCast
//Origin: Nexus Infinity
//Sprite: LLBC
//Title: "Legendary Uber Commando"
Monster
Health 2000
Radius 20
Height 56
Speed 13
Mass 100
PainChance 0
Scale 1.2
BloodColor "Blue"
DropItem "HandGrenadeAmmo" 235 2
DropItem "MineAmmo" 235 2
DropItem "Backpack" 198 1
DropItem "LDemonAmmo" 250
DropItem "LDemonAmmoBox" 200
DropItem "LegAmmoSphere" 256 1
DropItem "LegendaryArmor" 256 1
DropItem "Legendary Plasmatic Cannon" 256 1
DropItem "Legendary Plasmatic Rifle" 256 1
DropItem "LegendaryRune" 150 1
DropItem "LegendaryPowerShard" 256 1
DamageFactor 0.7
DamageFactor "Explosion", 0.4
DamageFactor "PlayerDTRG", 0.5
DamageFactor "DTRailgun", 0.5
DamageFactor "Player",0.1
DamageFactor "Legendary",0.0
DamageFactor "SuperWeapon", 0.75
DamageFactor "LegendaryPlayer", 0.0
DamageFactor "LegendaryGuruPlayer", 0.0
DamageFactor "PlayerDevBall", 0.65
DamageFactor "PlayerDevTracer", 0.15
DamageFactor "PowerDoubleDamage", 0.35
DamageFactor "BFG10K", 0.65
DamageFactor "BFG9500Ball", 0.1
DamageFactor "CustomSpray", 0.1
DamageFactor "BFGSplash", 0.5
DamageFactor "BFGSpray", 0.1
DamageFactor "PDTBFG", 0.5
DamageFactor "PDTBFGTracer", 0.5
DamageFactor "PlayerDTBFGRailgunSlug", 0.5
DamageFactor "PDTPuff", 0.5
DamageFactor "SatanGuard", 0.0
DamageFactor "Moloch", 0.0
DamageFactor "ZombieDev", 0.0
DamageFactor "Terminator", 0.0
DamageFactor "Legendary1", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "UltimateLegendary", 0.0
DamageFactor "Cybers", 0.0
DamageFactor "Hell", 0.0
DamageFactor "Commander", 0.0
DamageFactor "NobleComet", 0.0
DamageFactor "Baby15K", 0.0
DamageFactor "Cyber10K", 0.0
DamageFactor "DemolisherEx", 0.0
DamageFactor "DarkDemoEx", 0.0
DamageFactor "CerChainguns", 0.0
DamageFactor "CerEnergyBall", 0.0
DamageFactor "HellComet", 0.0
DamageFactor "HFCyber", 0.0
DamageFactor "DBFG2", 0.1
DamageFactor "DBFG10K2", 0.1
DamageFactor "DBFGSplash2", 0.1
DamageFactor "LegMind", 0.0
DamageType "Legendary"
Species "Legendary"
SeeSound "LUCOMM/Sight"
ActiveSound "LUCOMM/Active"
PainSound "UCHAIN/Pain"
DeathSound "CCHAIN/Death"
Obituary "%o was destroyed by the Legendary UberCommando."
Tag "\c[z3]Legendary Uber Commando\c-"
+FLOORCLIP
+SEEINVISIBLE
+MISSILEMORE
+DONTMORPH
+NOICEDEATH
+DONTRIP
+NOPAIN
+DONTGIB
+BOSS
+MISSILEEVENMORE
+DONTHARMSPECIES
+DONTHURTSPECIES
+QUICKTORETALIATE
+NOBLOOD
+NOTIMEFREEZE
var int user_music;
var int user_missile;
States
{
  Spawn:
	LLBC AA 1 A_Look
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	loop
  See:
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,3103)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_SetUserVar("user_missile",0)
	TNT1 A 0 A_JumpIfTargetINLOS("Missile")
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	LLBC AA 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("CCHAIN/step")
	LLBC BB 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	LLBC CC 3 A_Chase
	TNT1 A 0 A_PlaySound("CCHAIN/step")
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	LLBC DD 3 A_Chase
	TNT1 A 0 A_Jump(30,"Teleport")
	TNT1 A 0 A_Jump(80, "Rush")
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	Loop
  OpeningDelay:
	LLBC E 3 A_GiveInventory("LegZombieStrafing2",1)	
  Opening:
	TNT1 A 0 A_Playsound("CCHAIN/Telegraph",CHAN_WEAPON,500)
	LLBC E 1 A_Facetarget
	LLBC EEEEEEEEEE 2 A_CustomRailgun(-1,10,NONE,NONE,RGF_SILENT|RGF_NOPIERCING,1,0,"RailTargetPuff",0,0,0,0,2,0,"CChainLaserTarget")
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	LLBC EE 1 Bright A_GiveInventory("LegZombieStrafing2",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	LLBC FF 3 A_CustomMissile("UCommLegPlasma", 32,0,random(-25,25))
	LLBC EE 1 Bright A_GiveInventory("LegZombieStrafing2",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	LLBC FF 3 A_CustomMissile("UCommLegPlasma", 32,0,random(-25,25))
	LLBC EE 1 Bright A_GiveInventory("LegZombieStrafing2",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	LLBC FF 3 A_CustomMissile("UCommLegPlasma", 32,0,random(-25,25))
	LLBC EE 1 Bright A_GiveInventory("LegZombieStrafing2",1)	
	Goto See
  Rush:
	TNT1 A 0 A_JumpIfTargetInLOS("Missile")
	TNT1 A 0 A_SpawnItem("LegendaryFootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("LegUCommandoGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	LLCB A 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("LegUCommandoGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	LLCB A 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("LegUCommandoGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	LLCB B 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("LegUCommandoGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	LLCB B 1 Bright A_Chase
	TNT1 A 0 A_SpawnItem("LegendaryFootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("LegUCommandoGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	LLCB C 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("LegUCommandoGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	LLCB C 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("LegUCommandoGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	LLCB D 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("LegUCommandoGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	LLCB D 1 Bright A_Chase
	TNT1 A 0 A_SpawnItem("LegendaryFootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Jump(84,"See")
	TNT1 A 0 A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	Loop
  Teleport:
	TNT1 A 0 A_UnSetShootable
	TNT1 AAAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	LLCB EEEEEEEEEEE 1 A_Fadeout(0.1,0)
	TNT1 A 0 A_Stop
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 A 0 A_PlaySound("boss/teleport", 6)
	TNT1 AAAAAAAAA 0 A_SpawnItemEx("BlueSentLineSpawner")
	LLCB EEEEEEEEEEE 1 A_FadeIn(0.1)
	LLCB E 3 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_JumpIfTargetInLOS(1)
	Goto See
  Missile:
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	TNT1 A 0 A_SetUserVar("user_missile",0)
	TNT1 A 0 A_Jump(30,"DTBFG")
	TNT1 A 0 A_Jump(64,"OpeningDelay","Laser")
  Normal:
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	LLBC E 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("sentient/fire")
	LLBC F 2 Bright A_CustomMissile("LegUCommandoExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	LLBC EE 1 Bright A_GiveInventory("LegZombieStrafing2",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	LLBC F 1 Bright A_CustomMissile("LegUCommandoExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	LLBC EE 1 Bright A_GiveInventory("LegZombieStrafing2",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	LLBC F 2 Bright A_CustomMissile("LegUCommandoExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	TNT1 A 0 A_FaceTarget
	LLBC EE 1 Bright A_GiveInventory("LegZombieStrafing2",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	LLBC F 1 Bright A_CustomMissile("LegUCommandoExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	TNT1 A 0 A_FaceTarget
	LLBC EE 1 Bright A_GiveInventory("LegZombieStrafing2",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	LLBC F 1 Bright A_CustomMissile("LegUCommandoExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	LLBC EE 1 Bright A_GiveInventory("LegZombieStrafing2",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	LLBC F 1 Bright A_CustomMissile("LegUCommandoExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	LLBC EE 1 Bright A_GiveInventory("LegZombieStrafing2",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	LLBC F 1 Bright A_CustomMissile("LegUCommandoExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	LLBC EE 1 Bright A_GiveInventory("LegZombieStrafing2",1)	
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("sentient/fire")
	LLBC F 1 Bright A_CustomMissile("LegUCommandoExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	LLBC EE 1 Bright A_GiveInventory("LegZombieStrafing2",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	LLBC F 1 Bright A_CustomMissile("LegUCommandoExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_Jump(80, "Teleport")
	TNT1 A 0 A_Jump(80, "Missile")
	Loop
  Laser:
	TNT1 A 0 A_PlaySound("legendary/defense", CHAN_NOPAUSE, 500)
	TNT1 A 0 A_PlaySound("LUCOMM/Active",CHAN_VOICE,1,0,0.5)
	TNT1 A 0 A_GiveInventory("LegZombieStrafing2",1)	
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	LLBC E 20 Bright A_FaceTarget
  Lasering:
	TNT1 A 0 A_JumpIf(user_missile >= 8, "See")
    TNT1 A 0 A_SetUserVar("user_missile", user_missile+1)
	TNT1 A 0 A_GiveInventory("LegZombieStrafing2",1)
	LLBC E 4 Bright A_facetarget
	TNT1 A 0 A_GiveInventory("LegZombieStrafing2",1)	
	TNT1 A 0 A_PlaySound("legendarycannon/charge", CHAN_WEAPON, 500)
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	TNT1 A 0 A_GiveInventory("LegZombieStrafing2",1)	
	LLBC F 2 Bright A_CustomMissile("LegCommanderBall",32,0,0,0)
	//TNT1 A 0 A_Jump (110,"Lasering")
	Loop
  DTBFG:
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("LUCOMM/Active",CHAN_VOICE,1,0,0.5)
	LLBC E 1 Bright A_FaceTarget 
	TNT1 A 0 A_PlaySound("CCHAIN/Charge",CHAN_WEAPON, 500)
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	LLBC EEEEEEEEEE 6 A_FaceTarget
	TNT1 A 0 A_PlaySound ("weapons/bfgf")
	LLBC F 4 Bright A_CustomMissile("LegTerminatorBFG9500Ball2",32,0,0)
  DTBFGCool:
	TNT1 A 0 A_PlaySound("weapons/steam", CHAN_WEAPON, 500)
	TNT1 A 0 A_SetUserVar("user_missile", 0)
	TNT1 A 0 A_GiveInventory("LegZombieStrafing2",1)	
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	LLBC EEEEEEEEEEEEE 4 A_SpawnItemEx("Smoke",20,10,32,random(2,-2),random(2,-2),random(1,3),0,0,0,0)
	TNT1 A 0 A_GiveInventory("LegZombieStrafing2",1)	
	TNT1 A 0 A_SpawnItemEx("LHellionSmokeSpawner")
	Goto See
  Death:
	TNT1 A 0 A_StopSound(6)
	TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("TrueLegMode") == 0,3)
	TNT1 A 0 A_JumpIfInTargetInventory("TrueLegendaryRuneItem",1,"TrueLeg")
	TNT1 A 0 A_JumpIfInTargetInventory("TrueLegendaryRuneItem2",1,"TrueLeg")
	TNT1 A 0 A_Jump(36,"TrueLeg")
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	LLBC I 20 A_StopSound(6)
	LLBC J 0 A_PlaySound("Gore/Splat")
	LLBC J 10 Bright 
	LLBC J 10 A_Scream
	LLBC K 20 Bright 
	LLBC L 20 A_NoBlocking
	LLBC M 20 Bright 
	LLBC M -1
	Stop
  TrueLeg:
	TNT1 A 0 A_StopSound(6)
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	LLBC H 5 A_Scream
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	LLBC I 5 A_Fall
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	LLBC J 5 A_SpawnItem("BodyCrash",0,0,0,0)
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	LLBC K 5 
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	LLBC L 140
	LLBC L 0 A_PlaySoundEx("brain/spit","Voice",0,2)
	LLBC LLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLL 2 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	LLBC L 0 A_PlaySoundEx("TLegZomb/Resurrect",7,0,0.4)
	TLBC MLKJIH 15 Bright
	TNT1 A 0 A_SpawnItemEx("TrueLegendaryUberCommando",0,0,16,0,0,0,0,32)
	TNT1 A 1
	Stop
	}
}

ACTOR INFTrueLegendaryUberCommando : TrueLegendaryUberCommando Replaces TrueLegendaryUberCommando
{
Health 2399
Speed 16
Scale 1.2
DropItem "HandGrenadeAmmo" 235 2
DropItem "MineAmmo" 235 2
DropItem "Backpack" 198 1
DropItem "LDemonAmmo" 250
DropItem "LDemonAmmoBox" 200
DropItem "LegAmmoSphere" 256 1
DropItem "Legendary Plasmatic Cannon" 256 1
DropItem "Legendary Plasmatic Rifle" 256 1
DropItem "LegendaryRune" 256 1
DropItem "LegendaryPowerShard" 256 1
DropItem "TrueLegendaryCell" 256
DropItem "TrueLegendaryCellPack" 256
DropItem "TrueLegendaryBFGUpgrade" 256 1
DropItem "TrueLegendaryRune" 10 1
DropItem "TrueLegTimeFreezeSphere" 256 1
DropItem "TrueLegAmmoSphere" 256 1
DropItem "TrueLegendaryArmor" 256 1
DropItem "LegendaryFusionCell" 256 1
DropItem "TrueLegUpgradeSpawnerMedium" 256 1
DropItem "True Legendary Railgun" 256 1
DamageFactor 0.5
DamageFactor "Explosion", 0.4
DamageFactor "PlayerDTRG", 0.5
DamageFactor "DTRailgun", 0.5
DamageFactor "Player",0.1
DamageFactor "Legendary",0.0
DamageFactor "SuperWeapon", 0.75
DamageFactor "LegendaryPlayer", 0.0
DamageFactor "LegendaryGuruPlayer", 0.0
DamageFactor "PlayerDevBall", 0.65
DamageFactor "PlayerDevTracer", 0.15
DamageFactor "PowerDoubleDamage", 0.35
DamageFactor "BFG10K", 0.5
DamageFactor "BFG9500Ball", 0.3
DamageFactor "CustomSpray", 0.3
DamageFactor "BFGSplash", 0.5
DamageFactor "BFGSpray", 0.1
DamageFactor "PDTBFG", 0.3
DamageFactor "PDTBFGTracer", 0.3
DamageFactor "PlayerDTBFGRailgunSlug", 0.3
DamageFactor "PDTPuff", 0.3
DamageFactor "SatanGuard", 0.0
DamageFactor "Moloch", 0.0
DamageFactor "ZombieDev", 0.0
DamageFactor "Terminator", 0.0
DamageFactor "Legendary1", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "UltimateLegendary", 0.0
DamageFactor "Cybers", 0.0
DamageFactor "Hell", 0.0
DamageFactor "Commander", 0.0
DamageFactor "NobleComet", 0.0
DamageFactor "Baby15K", 0.0
DamageFactor "Cyber10K", 0.0
DamageFactor "DemolisherEx", 0.0
DamageFactor "DarkDemoEx", 0.0
DamageFactor "CerChainguns", 0.0
DamageFactor "CerEnergyBall", 0.0
DamageFactor "HellComet", 0.0
DamageFactor "HFCyber", 0.0
DamageFactor "DBFG2", 0.1
DamageFactor "DBFG10K2", 0.1
DamageFactor "DBFGSplash2", 0.1
DamageFactor "LegMind", 0.0
DamageFactor "TrueLegendaryDamage", 0.0
Obituary "%o was annihilated by the True Legendary UberCommando."
Tag "\c[l5]True\c- \c[z3]Legendary Uber Commando\c-"
States
{
  Spawn:
	TLBC AA 1 A_Look
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	loop
  See:
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,3104)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_SetUserVar("user_missile",0)
	TNT1 A 0 A_JumpIfTargetINLOS("Missile")
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TLBC AA 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("CCHAIN/step")
	TLBC BB 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TLBC CC 3 A_Chase
	TNT1 A 0 A_PlaySound("CCHAIN/step")
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TLBC DD 3 A_Chase
	TNT1 A 0 A_Jump(128, "Teleport")
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	Loop
  OpeningDelay:
	TLBC E 3 A_GiveInventory("LegZombieStrafing6",1)	
  Opening:
	TNT1 A 0 A_Playsound("CCHAIN/Telegraph",CHAN_WEAPON,500)
	TLBC E 1 A_Facetarget
	TLBC EEEEEEEEEE 2 A_CustomRailgun(-1,10,NONE,NONE,RGF_SILENT|RGF_NOPIERCING,1,0,"RailTargetPuff",0,0,0,0,2,0,"CChainLaserTarget")
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TLBC EE 1 Bright A_GiveInventory("LegZombieStrafing6",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	TLBC FF 1 A_CustomMissile("UCommLegPlasma", 32,0,random(-25,25))
	TLBC EE 1 Bright A_GiveInventory("LegZombieStrafing6",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	TLBC FF 1 A_CustomMissile("UCommLegPlasma", 32,0,random(-25,25))
	TLBC EE 1 Bright A_GiveInventory("LegZombieStrafing6",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	TLBC FF 1 A_CustomMissile("UCommLegPlasma", 32,0,random(-25,25))
	TLBC EE 1 Bright A_GiveInventory("LegZombieStrafing6",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	TLBC FF 1 A_CustomMissile("UCommLegPlasma", 32,0,random(-25,25))
	TLBC EE 1 Bright A_GiveInventory("LegZombieStrafing6",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	TLBC FF 1 A_CustomMissile("UCommLegPlasma", 32,0,random(-25,25))
	TLBC EE 1 Bright A_GiveInventory("LegZombieStrafing6",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	TLBC FF 1 A_CustomMissile("UCommLegPlasma", 32,0,random(-25,25))
	TLBC EE 1 Bright A_GiveInventory("LegZombieStrafing6",1)	
	TNT1 A 0 A_Jump(128, "Teleport")
	Goto See
  Teleport:
	TNT1 A 0 A_UnSetShootable
	TNT1 AAAAAAAAA 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TLBC HHHHHHHHHHH 1 A_Fadeout(0.1,0)
	TNT1 A 0 A_Stop
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 A 0 A_PlaySound("boss/teleport", 6)
	TNT1 AAAAAAAAA 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TLBC HHHHHHHHHHH 1 A_FadeIn(0.1)
	TLBC E 3 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_JumpIfTargetInLOS(1)
	Goto See
  Missile:
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TLBC A 1 A_SetUserVar("user_missile",0)
	TNT1 A 0 A_Jump(30,"DTBFG")
	TNT1 A 0 A_Jump(86,"Laser","OpeningDelay")
  Normal:
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TNT1 A 0 A_GiveInventory("LegZombieStrafing6",1)
	TLBC E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("sentient/fire")
	TLBC F 1 Bright A_CustomMissile("LegUCommandoExplosiveTracer",32,0,random(-15,15))
	TNT1 A 0 A_GiveInventory("LegZombieStrafing6",1)
	TLBC E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("sentient/fire")
	TLBC F 1 Bright A_CustomMissile("LegUCommandoExplosiveTracer",32,0,random(-15,15))
	TNT1 A 0 A_GiveInventory("LegZombieStrafing6",1)
	TLBC E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("sentient/fire")
	TLBC F 1 Bright A_CustomMissile("LegUCommandoExplosiveTracer",32,0,random(-15,15))
	TNT1 A 0 A_GiveInventory("LegZombieStrafing6",1)
	TLBC E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("sentient/fire")
	TLBC F 1 Bright A_CustomMissile("LegUCommandoExplosiveTracer",32,0,random(-15,15))
	TNT1 A 0 A_GiveInventory("LegZombieStrafing6",1)
	TLBC E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("sentient/fire")
	TLBC F 1 Bright A_CustomMissile("LegUCommandoExplosiveTracer",32,0,random(-15,15))
	TNT1 A 0 A_Jump(32, "Teleport")
	TNT1 A 0 A_Jump(32, "See")
	Loop
  Laser:
	TNT1 A 0 A_PlaySound("legendary/defense", CHAN_NOPAUSE, 500)
	TNT1 A 0 A_PlaySound("LUCOMM/Active",CHAN_VOICE,1,0,0.5)
	TNT1 A 0 A_GiveInventory("LegZombieStrafing6",1)	
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TLBC E 20 Bright A_FaceTarget
  Lasering:
	TNT1 A 0 A_JumpIf(user_missile >= 8, "Missile")
    TNT1 A 0 A_SetUserVar("user_missile", user_missile+1)
	TNT1 A 0 A_GiveInventory("LegZombieStrafing6",1)
	TLBC E 1 Bright A_facetarget
	TNT1 A 0 A_GiveInventory("LegZombieStrafing6",1)	
	TNT1 A 0 A_PlaySound("legendarycannon/charge", CHAN_WEAPON, 500)
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TNT1 A 0 A_GiveInventory("LegZombieStrafing6",1)	
	TLBC F 2 Bright A_CustomMissile("TLegCommanderBall",32,0,0,0)
	//TNT1 A 0 A_Jump (110,"Lasering")
	Loop
  DTBFG:
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("LUCOMM/Active",CHAN_VOICE,1,0,0.5)
	TLBC E 1 Bright A_FaceTarget 
	TNT1 A 0 A_PlaySound("NemesisSentient/Attack2",CHAN_WEAPON, 500)
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TLBC EE 20 A_FaceTarget
	TNT1 A 0 A_PlaySound ("weapons/bfgf")
	TLBC F 4 Bright A_CustomMissile("LegTerminatorBFG9500Ball2",32,0,0)
  DTBFGCool:
	TNT1 A 0 A_PlaySound("weapons/steam", CHAN_WEAPON, 500)
	TNT1 A 0 A_SetUserVar("user_missile", 0)
	TNT1 A 0 A_GiveInventory("LegZombieStrafing6",1)	
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	TLBC EEEEEEEEEEEEE 8 A_SpawnItemEx("Smoke",20,10,32,random(2,-2),random(2,-2),random(1,3),0,0,0,0)
	TNT1 A 0 A_GiveInventory("LegZombieStrafing6",1)	
	TNT1 A 0 A_SpawnItemEx("BHellionSmokeSpawner")
	Goto See
  Death:
	TNT1 A 0 A_Jump(36,"TrueLegendarySoul")
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	TLBC I 20 A_StopSound(6)
	TLBC J 0 A_PlaySound("Gore/Splat")
	TLBC J 10 Bright 
	TLBC J 10 A_Scream
	TLBC K 20 Bright 
	TLBC L 20 A_NoBlocking
	TLBC M 20 Bright 
	TLBC M -1
	Stop
  TrueLegendarySoul:
  	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLBC I 5 A_StopSound(6)
	TLBC I 5 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLBC I 5 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLBC I 5 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLBC J 0 A_PlaySound("Gore/Splat")
	TLBC J 10 Bright A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLBC J 10 A_Scream
	TLBC K 20 Bright A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLBC L 20 A_NoBlocking
	TLBC M 20 Bright A_SpawnItem("BHellionSmokeSpawner",0,0,0,0)
	TLBC M 140
    TLBC M 0 A_PlaySoundEx("brain/spit","Voice",0,2)
	TLBC MMMMMMMMMMMMMMMMM 2 Bright A_GiveInventory("LegSoulEvent",1)
	TLBC MMMMMMMMMMMMMMMMM 2 Bright A_GiveInventory("LegSoulEvent",1)
	TLBC MMMMMMMMMMMMMMMMM 2 Bright A_GiveInventory("LegSoulEvent",1)
	TNT1 A 0 A_SpawnItemEx("INFTrueLegendarySoul",0,0,16,0,0,0,0,32)
	TNT1 A 0 A_SpawnItemEx("TeleportFog",0,0,16,0,0,0,0,32)
	TLBC M -1
	Stop
	}
}

ACTOR INFHellfireUberCommando : HellfireCommando Replaces HellfireCommando
{
//Creator: ConsulCast
//Origin: Nexus Infinity
//Sprite: HFCG
//Title: "Hellfire Commando"
Health 2250
Speed 13
DropItem "HandGrenadeAmmo" 256 2
DropItem "MineAmmo" 256 2
DropItem "Backpack" 256 1
DropItem "Armorplate" 256 1
DropItem "Portablemedkit" 256 1
Dropitem "Welder", 256, 1 //should be welder note to change xddr
Dropitem "MarineSquadBeacon", 80 1
DropItem "BossLifeEssence", 256 50
DropItem "SkullofPower" 64 1
DropItem "DemonAmmoBox" 196 200
Dropitem "HellfireUltraSphere", 256, 10
DamageFactor 0.5
DamageFactor "PlayerDTRG", 0.4
DamageFactor "DTRailgun", 0.4
DamageFactor "Player",0.3
DamageFactor "LegendaryPlayer",0.5
DamageFactor "Legendary",0.5
DamageFactor "CChainTracer",0.0
DamageFactor "DBFG2",0.0
DamageFactor "SuperWeapon", 0.75
DamageFactor "LegendaryGuruPlayer", 0.75
DamageFactor "PlayerDevBall", 0.65
DamageFactor "PlayerDevTracer", 0.15
DamageFactor "PowerDoubleDamage", 0.5
DamageFactor "BFG10K", 0.65
DamageFactor "BFG9500Ball", 0.4
DamageFactor "CustomSpray", 0.1
DamageFactor "BFGSplash", 0.1
DamageFactor "BFGSpray", 0.1
DamageFactor "Explosion", 0.1
DamageFactor "PDTBFG", 0.1
DamageFactor "PDTBFGTracer", 0.1
DamageFactor "PlayerDTBFGRailgunSlug", 0.1
DamageFactor "PDTPuff", 0.1
DamageFactor "PlayerPyro", 0.1
DamageFactor "PyroShot", 0.0
DamageFactor "Fire", 0.0
DamageFactor "SatanGuard", 0.0
DamageFactor "Moloch", 0.0
DamageFactor "ZombieDev", 0.0
DamageFactor "Terminator", 0.0
DamageFactor "Legendary1", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "UltimateLegendary", 0.0
DamageFactor "Cybers", 0.0
DamageFactor "Hell", 0.0
DamageFactor "Commander", 0.0
DamageFactor "Baby15K", 0.0
DamageFactor "Cyber10K", 0.0
DamageFactor "DemolisherEx", 0.0
DamageFactor "DarkDemoEx", 0.0
DamageFactor "CerChainguns", 0.0
DamageFactor "CerEnergyBall", 0.0
DamageFactor "HellComet", 0.0
DamageFactor "HFCyber", 0.0
DamageFactor "HFCyb3r", 0.0
DamageFactor "DBFG10K2", 0.1
DamageFactor "DBFGSplash2", 0.1
Obituary "%o was destroyed by the Hellfire Uber Commando."
Tag "\c[z4]Hellfire Uber Commando\c-"
States
{
  Spawn:
	HFCG AA 1 A_Look
	loop
  See:
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,3101)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_SetUserVar("user_missile",0)
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")	
	TNT1 A 0 A_JumpIfTargetINLOS("Missile")
	HFCG AA 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	TNT1 A 0 A_PlaySound("CCHAIN/step")
	HFCG BB 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	HFCG CC 3 A_Chase
	TNT1 A 0 A_PlaySound("CCHAIN/step")
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	HFCG DD 3 A_Chase
	TNT1 A 0 A_Jump(128, "Teleport")
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	Loop
  OpeningDelay:
	HFCG E 3 A_GiveInventory("HFCommandoStrafing",1)	
  Opening:
	TNT1 A 0 A_Playsound("CCHAIN/Telegraph",CHAN_WEAPON)
	HFCG E 1 A_Facetarget
	HFCG EEEEEEEEEE 2
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	HFCG EE 1 Bright A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Rocket",CHAN_WEAPON)
	HFCG FF 1 A_CustomMissile("HFCommandoRocket", 32, 0, 0)
	TNT1 A 0 A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	HFCG EE 1 Bright A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Rocket",CHAN_WEAPON)
	HFCG FF 1 A_CustomMissile("HFCommandoRocket", 32, 0, 0)
	TNT1 A 0 A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	HFCG EE 1 Bright A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Rocket",CHAN_WEAPON)
	HFCG FF 1 A_CustomMissile("HFCommandoRocket", 32, 0, 0)
	TNT1 A 0 A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	HFCG EE 1 Bright A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Rocket",CHAN_WEAPON)
	HFCG FF 1 A_CustomMissile("HFCommandoRocket", 32, 0, 0)
	TNT1 A 0 A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	TNT1 A 0 A_Jump(128, "Teleport")
	Goto Missile
  Teleport:
	TNT1 A 0 A_UnSetShootable
	TNT1 AAAAAAAAA 0 A_SpawnItemEx("BHellionSmokeSpawner")
	HFCG AAAAAAAAAAA 1 A_Fadeout(0.1,0)
	TNT1 A 0 A_Stop
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 A 0 A_PlaySound("boss/teleport", 6)
	TNT1 AAAAAAAAA 0 A_SpawnItemEx("BHellionSmokeSpawner")
	HFCG AAAAAAAAAAA 1 A_FadeIn(0.1)
	HFCG A 3 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_JumpIfTargetInLOS(1)
	Goto See
  Missile:
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	TNT1 A 0 A_Jump(128,"Laser","DTBFG","OpeningDelay")
  Normal:
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	HFCG E 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("sentient/fire")
	HFCG F 1 Bright A_CustomMissile("MinigunnerExplosiveTracer", 32, 0, 0)
	TNT1 A 0 A_FaceTarget
	HFCG EE 2 Bright A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	HFCG F 1 Bright A_CustomMissile("MinigunnerExplosiveTracer", 32, 0, 0)
	TNT1 A 0 A_FaceTarget
	HFCG EE 2 Bright A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	HFCG F 3 Bright A_CustomMissile("MinigunnerExplosiveTracer", 32, 0, 0)
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	TNT1 A 0 A_FaceTarget
	HFCG EE 2 Bright A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	HFCG F 1 Bright A_CustomMissile("MinigunnerExplosiveTracer", 32, 0, 0)
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	TNT1 A 0 A_FaceTarget
	HFCG EE 2 Bright A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	HFCG F 1 Bright A_CustomMissile("MinigunnerExplosiveTracer", 32, 0, 0)
	TNT1 A 0 A_FaceTarget
	HFCG EE 2 Bright A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	HFCG F 1 Bright A_CustomMissile("MinigunnerExplosiveTracer", 32, 0, 0)
	TNT1 A 0 A_FaceTarget
	HFCG EE 2 Bright A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	HFCG F 1 Bright A_CustomMissile("MinigunnerExplosiveTracer", 32, 0, 0)
	TNT1 A 0 A_FaceTarget
	HFCG EE 2 Bright A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	TNT1 A 0 A_PlaySound("sentient/fire")
	HFCG F 1 Bright A_CustomMissile("MinigunnerExplosiveTracer", 32, 0, 0)
	TNT1 A 0 A_FaceTarget
	HFCG EE 2 Bright A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	HFCG F 1 Bright A_CustomMissile("MinigunnerExplosiveTracer", 32, 0, 0)
	TNT1 A 0 A_Jump(80, "Teleport")
	TNT1 A 0 A_Jump(100,"See")
	Goto Missile+1
  Laser:
	TNT1 A 0 A_PlaySound("CCHAIN/Charge", CHAN_NOPAUSE, 500)
	TNT1 A 0 A_PlaySound("CCHAIN/Active",CHAN_VOICE,1,0,0.5)
	TNT1 A 0 A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	HFCG E 20 Bright A_FaceTarget
  Lasering:
	TNT1 A 0 A_JumpIf(user_missile >= 8, "See")
    TNT1 A 0 A_SetUserVar("user_missile", user_missile+1)
	HFCG E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("HFCommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("Weapons/HFGaussFire", CHAN_NOPAUSE, 500)
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	TNT1 A 0 A_GiveInventory("HFCommandoStrafing",1)	
	HFCG F 1 Bright A_CustomMissile("HFCommanderBall",32,0,0,0)
	TNT1 A 0 A_GiveInventory("HFCommandoStrafing",1)	
	Loop
  DTBFG:
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	TNT1 A 0 A_PlaySound("CCHAIN/Charge",1)
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	TNT1 A 0 A_PlaySound("CCHAIN/Active",CHAN_VOICE,1,0,0.5)
	HFCG E 1 Bright A_FaceTarget
	HFCG E 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("HBoysFireSpawner")
	HFCG E 1 A_SpawnItemEx("HBoysFireSpawner")
	HFCG EEEEEEEEEE 2 A_CustomRailgun(-1,10,NONE,"Blue",RGF_SILENT|RGF_NOPIERCING,1,0,"RailTargetPuff",0,0,0,0,2,0,"HChainLaserTarget")
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2")
	HFCG F 4 Bright A_CustomMissile("PyroShot",38,0,0)
	Goto See
  Death:
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	HFCG I 20 A_StopSound(6)
	HFCG J 0 A_PlaySound("Gore/Splat")
	TNT1 A 0 A_SpawnItemEx("HFBaronLavaMist",0,0,20,Random(8,-8),Random(8,-8),Random(6,-6))
	HFCG J 10 A_Scream
	TNT1 A 0 A_SpawnItemEx("HFBaronLavaMist",0,0,20,Random(8,-8),Random(8,-8),Random(6,-6))
	HFCG L 20 A_NoBlocking
	TNT1 A 0 A_SpawnItemEx("HFBaronLavaMist",0,0,20,Random(8,-8),Random(8,-8),Random(6,-6))
	HFCG M -1
	Stop
	}
}

Actor HFCommandoStrafing : LegZombieStrafing3
{
States
  {
  Pickup:
	NULL A 1 
	NULL A 1 A_SpawnItem("HBoysFireSpawner",0,0,0,0)
	NULL A 1 A_Jump(188,2)
	NULL A 1 A_GiveInventory("LegZombieJumping",1)
	NULL A 1 A_JumpIf(velx != 0 || vely != 0,2)
	NULL A 1 A_Jump(256,2)
	NULL A 1 A_Jump(235,5)
	NULL A 1 A_JumpIfInventory("LegZombieStrafeSens",1,3)
	NULL A 1 A_GiveInventory("LegZombieStrafeSens",1)
	NULL A 1 A_Jump(256,2)  
	NULL A 1 A_TakeInventory("LegZombieStrafeSens",1)
	NULL A 1 A_JumpIfInventory("LegZombieStrafeSens",1,3)
	NULL A 1 ThrustThing(angle*256/360+38.7,3,0,0)
	NULL A 1 A_Jump(256,2)  
	NULL A 1 ThrustThing(angle*256/360+38.7,-3,0,0)
	NULL A 1 A_FaceTarget
	NULL A 1 A_Jump(24,2)
	NULL A 1 A_JumpIfCloser(300,2)
	NULL A 1 A_Recoil(-1)
	Stop
	NULL A 1 A_Recoil(1)
	Stop  
  }
}

ACTOR HFCommandoRocket : FuelRocket
{
Species "SpecOps"
+DONTHARMSPECIES
Speed 40
FastSpeed 50
Damage 20
ExplosionDamage 20
DamageType "HFCyber"
}

Actor HFCommanderBall : LegCommanderBall
{
Species "SpecOps"
+DONTHARMSPECIES
DamageType "HFCyber"
Translation "0:255=%[0.00,0.00,0.00]:[1.50,0.20,0.00]"
States
{
  Spawn:
    STAR ABCD 2 Bright A_CustomMissile("HellfireTerminatorStarFX",0,0,0,0)
    Loop	
  Death:
	STAR ABCD 4 Bright A_SpawnItemEx("OrangeParticleSpawner",0,0,0,0,0,0,0,128)
	TNT1 A 0 A_Explode(24,32,0) 
	TNT1 A 0 A_PlaySound("weapons/clrocketexplode")
	TNT1 A 0 A_SpawnItemEx("OrangeParticleSpawner", 0, 0, 0, 0, 0, 0, 0, 128) 
	TNT1 AAA 0 A_CustomMissile("Kaboom3", 0, 0, random(0,360), 2, random(0,360))
	TNT1 AAA 0 A_CustomMissile("SmokeFX", 0, 0, random(0,360), 2, random(0,360))	
	TNT1 H 1 Bright A_SpawnItemEx("BaseFireFlare",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_TRANSFERPOINTERS|SXF_SETMASTER,160)
    STAR EFGHIJKLMNO 3 Bright
    Stop
    }
}

Actor HFRevBallFX
{   
   Radius 2
   Height 2
   Speed 0
   PROJECTILE
   RENDERSTYLE ADD
   +CLIENTSIDEONLY
   +NOTIMEFREEZE
   Scale 0.9
   ALPHA 0.67
   Translation "0:255=%[0.00,0.00,0.00]:[1.50,0.20,0.00]"
   States
   {
   Spawn:
	  TNT1 A 0
      TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "Toaster")
	  TNT1 A 1
      STAR PQ 4 Bright A_FadeOut(0.1)
      Loop
   Toaster:
      TNT1 A 0
	  Stop	  
   }
}

ACTOR INFSacrosanctUberCommando : SacrosanctCommando Replaces SacrosanctCommando
{
//Creator: ConsulCast
//Origin: Nexus Infinity
//Sprite: HRCG
//Title: "Sacrosanct Commando"
Health 1500
Speed 18
Scale 1.2
DropItem "HandGrenadeAmmo" 256 2
DropItem "MineAmmo" 256 2
DropItem "Backpack" 256 1
DropItem "Armorplate" 256 1
DropItem "Portablemedkit" 256 1
DropItem "BossLifeEssence" 256 25
DropItem "BossArmorBonusMax" 256 1
DropItem "DemonAmmoBox" 128 200
DropItem "SkullOfPower" 128
DropItem "DemonicChalice" 128
DropItem "PlasmaRepeater" 256
DropItem "Demon Tech BFG10K" 256
DropItem "ChaosEssence" 256
DamageFactor 0.6
DamageFactor "PlayerDTRG", 0.4
DamageFactor "DTRailgun", 0.4
DamageFactor "Player",0.3
DamageFactor "LegendaryPlayer",0.5
DamageFactor "Legendary",0.5
DamageFactor "CChainTracer",0.0
DamageFactor "DBFG2",0.0
DamageFactor "SuperWeapon", 0.75
DamageFactor "LegendaryGuruPlayer", 0.75
DamageFactor "PlayerDevBall", 0.65
DamageFactor "PlayerDevTracer", 0.15
DamageFactor "PowerDoubleDamage", 0.5
DamageFactor "BFG10K", 0.65
DamageFactor "BFG9500Ball", 0.4
DamageFactor "CustomSpray", 0.1
DamageFactor "BFGSplash", 0.1
DamageFactor "BFGSpray", 0.1
DamageFactor "Explosion", 0.1
DamageFactor "PDTBFG", 0.1
DamageFactor "PDTBFGTracer", 0.1
DamageFactor "PlayerDTBFGRailgunSlug", 0.1
DamageFactor "PDTPuff", 0.1
DamageFactor "SatanGuard", 0.0
DamageFactor "Moloch", 0.0
DamageFactor "ZombieDev", 0.0
DamageFactor "Terminator", 0.0
DamageFactor "Legendary1", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "UltimateLegendary", 0.0
DamageFactor "Cybers", 0.0
DamageFactor "Hell", 0.0
DamageFactor "Commander", 0.0
DamageFactor "Baby15K", 0.0
DamageFactor "Cyber10K", 0.0
DamageFactor "DemolisherEx", 0.0
DamageFactor "DarkDemoEx", 0.0
DamageFactor "CerChainguns", 0.0
DamageFactor "CerEnergyBall", 0.0
DamageFactor "DarkDemolisherEx", 0.0
DamageFactor "HellComet", 0.0
DamageFactor "HFCyber", 0.0
DamageFactor "DBFG10K2", 0.1
DamageFactor "DBFGSplash2", 0.1
Obituary "%o was destroyed by the Sacrosanct Uber Commando."
Tag "\c[n4]Sacrosanct Uber Commando\c-"
States
{
  Spawn:
	HRCG AA 1 A_Look
	loop
  See:
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,3102)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_SetUserVar("user_missile",0)
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	TNT1 A 0 A_FaceTarget
	HRCG AA 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_PlaySound("CCHAIN/step")
	HRCG BB 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	TNT1 A 0 A_FaceTarget
	HRCG CC 1 A_Chase
	TNT1 A 0 A_PlaySound("CCHAIN/step")
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	TNT1 A 0 A_FaceTarget	
	HRCG DD 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	TNT1 A 0 A_FaceTarget
	Loop
  OpeningDelay:
	HRCG E 3 A_GiveInventory("SACommandoStrafing",1)	
  Opening:
	TNT1 A 0 A_Playsound("CCHAIN/Telegraph",CHAN_WEAPON)
	HRCG E 1 A_Facetarget
	HRCG EEEEEEEEEE 2
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	HRCG EE 5 Bright A_GiveInventory("SACommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("ThunderCannon/Fire", CHAN_NOPAUSE, 500)
	HRCG EEEE 1 A_CustomRailgun(0,0,NONE,NONE,RGF_SILENT|RGF_NOPIERCING,1,0,"OverseerRailPuff",0,0,0,0,2.0,0,"OverseerRailParticle",-10)
	HRCG FF 4 A_CustomMissile("SCommandoGaussAnnihilator", 19, 0, 0)
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	HRCG EEEEEEEEEE 2
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	HRCG EE 5 Bright A_GiveInventory("SACommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("ThunderCannon/Fire", CHAN_NOPAUSE, 500)
	HRCG EEEE 1 A_CustomRailgun(0,0,NONE,NONE,RGF_SILENT|RGF_NOPIERCING,1,0,"OverseerRailPuff",0,0,0,0,2.0,0,"OverseerRailParticle",-10)
	HRCG FF 4 A_CustomMissile("SCommandoGaussAnnihilator", 19, 0, 0)
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	HRCG EEEEEEEEEE 2
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	HRCG EE 5 Bright A_GiveInventory("SACommandoStrafing",1)	
	TNT1 A 0 A_PlaySound("ThunderCannon/Fire", CHAN_NOPAUSE, 500)
	HRCG EEEE 1 A_CustomRailgun(0,0,NONE,NONE,RGF_SILENT|RGF_NOPIERCING,1,0,"OverseerRailPuff",0,0,0,0,2.0,0,"OverseerRailParticle",-10)
	HRCG FF 4 A_CustomMissile("SCommandoGaussAnnihilator", 19, 0, 0)
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	TNT1 A 0 A_Jump(128, "Railgun")
	Goto Missile
  Railgun:	
	TNT1 A 0 A_PlaySound("weapons/rgcharge")
	TNT1 A 0 A_GiveInventory("SACommandoStrafing",1)
	HRCG EEEEEEEEEE 2 A_CustomRailgun(-1,10,NONE,"Green",RGF_SILENT|RGF_NOPIERCING,1,0,"RailTargetPuff",0,0,0,0,2,0,"SChainLaserTarget",-15)
	HRCG F 4 Bright A_CustomMissile("OverseerRail", 19, 0, 0)
	TNT1 A 0 A_PlaySound("weapons/rgcharge")
	TNT1 A 0 A_GiveInventory("SACommandoStrafing",1)
	HRCG EEEEEEEEEE 2 A_CustomRailgun(-1,10,NONE,"Green",RGF_SILENT|RGF_NOPIERCING,1,0,"RailTargetPuff",0,0,0,0,2,0,"SChainLaserTarget",-15)
	HRCG F 4 Bright A_CustomMissile("OverseerRail", 19, 0, 0)
	HRCG E 2 Bright A_FaceTarget	
  Missile:
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	TNT1 A 0 A_Jump(188,"Laser","Beam","OpeningDelay","Railgun")
  Normal:
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	HRCG E 1 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("SACommandoStrafing",1)	
	HRCG F 2 Bright A_CustomMissile("SCommandoPlasma", 19, 0, 0)
	TNT1 A 0 A_FaceTarget
	HRCG EE 2 Bright A_GiveInventory("SACommandoStrafing",1)	
	HRCG E 1 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("SACommandoStrafing",1)	
	HRCG F 2 Bright A_CustomMissile("SCommandoPlasma", 19, 0, 0)
	TNT1 A 0 A_FaceTarget
	HRCG EE 2 Bright A_GiveInventory("SACommandoStrafing",1)
	HRCG E 1 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("SACommandoStrafing",1)	
	HRCG F 2 Bright A_CustomMissile("SCommandoPlasma", 19, 0, 0)
	TNT1 A 0 A_FaceTarget
	HRCG EE 2 Bright A_GiveInventory("SACommandoStrafing",1)	
	HRCG E 1 Bright A_FaceTarget
	TNT1 A 0 A_Jump(60,"See")
	Loop
  Laser:
	TNT1 A 0 A_PlaySound("CCHAIN/Charge", CHAN_NOPAUSE, 500)
	TNT1 A 0 A_PlaySound("CCHAIN/Active",CHAN_VOICE,1,0,0.5)
	TNT1 A 0 A_GiveInventory("SACommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	HRCG E 20 Bright A_FaceTarget
  Lasering:
	TNT1 A 0 A_JumpIf(user_missile >= 3, "See")
    TNT1 A 0 A_SetUserVar("user_missile", user_missile+1)
	HRCG E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("SACommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	TNT1 A 0 A_PlaySound("weapons/bfgf", CHAN_NOPAUSE, 500)
	TNT1 A 0 A_GiveInventory("SACommandoStrafing",1)	
	HRCG F 1 Bright A_CustomMissile("SCommandoLightningBall",19)
	TNT1 A 0 A_GiveInventory("SACommandoStrafing",1)	
	HRCG E 3 Bright A_FaceTarget
	Loop
  Beam:
	TNT1 A 0 A_PlaySound("Cardinal/9k")
	HRCG E 4 A_FaceTarget
	TNT1 A 0 A_GiveInventory("SACommandoStrafing",1)
	HRCG E 4 A_FaceTarget
	TNT1 A 0 A_GiveInventory("SACommandoStrafing",1)
	HRCG E 4 A_FaceTarget
	TNT1 A 0 A_GiveInventory("SACommandoStrafing",1)
	HRCG F 4 A_CustomMissile("OverseerDTBFG10KBall",48,0,0)
  BeamEnd:
	TNT1 A 0 A_PlaySound("weapons/steam")
	TNT1 A 0 A_GiveInventory("SACommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	HRCG EEEEEEEEEEEEE 5 A_SpawnItemEx("Smoke",20,10,32,random(2,-2),random(2,-2),random(1,3),0,0,0,0)
	TNT1 A 0 A_GiveInventory("SACommandoStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("SBoysFireSpawner")
	Goto Missile
  Death:
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	HRCG I 20 A_StopSound(6)
	HRCG J 0 A_PlaySound("Gore/Splat")
	TNT1 A 0 A_SpawnItemEx("BigGreenBloodCloud",0,0,20,Random(8,-8),Random(8,-8),Random(6,-6))
	HRCG J 10 A_Scream
	TNT1 A 0 A_SpawnItemEx("BigGreenBloodCloud",0,0,20,Random(8,-8),Random(8,-8),Random(6,-6))
	HRCG L 20 A_NoBlocking
	TNT1 A 0 A_SpawnItemEx("BigGreenBloodCloud",0,0,20,Random(8,-8),Random(8,-8),Random(6,-6))
	HRCG M -1
	Stop
	}
}

Actor SACommandoStrafing : LegZombieStrafing2
{
States
  {
  Pickup:
	NULL A 1 
	NULL A 1 A_SpawnItem("SBoysFireSpawner",0,0,0,0)
	NULL A 1 A_Jump(188,2)
	NULL A 1 A_GiveInventory("LegZombieJumping",1)
	NULL A 1 A_JumpIf(velx != 0 || vely != 0,2)
	NULL A 1 A_Jump(256,2)
	NULL A 1 A_Jump(235,5)
	NULL A 1 A_JumpIfInventory("LegZombieStrafeSens",1,3)
	NULL A 1 A_GiveInventory("LegZombieStrafeSens",1)
	NULL A 1 A_Jump(256,2)  
	NULL A 1 A_TakeInventory("LegZombieStrafeSens",1)
	NULL A 1 A_JumpIfInventory("LegZombieStrafeSens",1,3)
	NULL A 1 ThrustThing(angle*256/360+38.7,3,0,0)
	NULL A 1 A_Jump(256,2)  
	NULL A 1 ThrustThing(angle*256/360+38.7,-3,0,0)
	NULL A 1 A_FaceTarget
	NULL A 1 A_Jump(24,2)
	NULL A 1 A_JumpIfCloser(300,2)
	NULL A 1 A_Recoil(-1)
	Stop
	NULL A 1 A_Recoil(1)
	Stop  
  }
}

ACTOR INFNemesisUberCommando : NemesisUberCommando Replaces NemesisUberCommando //gotta have at least SIX half life soundtracks
{
//Creator: ConsulCast
//Origin: Nexus Infinity
//Sprite: NMBC
//Title: "Nemesis Uber Commando"
Health 2700
Speed 18
BloodColor "Black"
Scale 1.2
DropItem "HandGrenadeAmmo" 235 2
DropItem "MineAmmo" 235 2
DropItem "Backpack" 198 1
DropItem "NemesisRuneSpawnerTier1", 256, 1
DropItem "Nemesis Plasmatic Cannon", 256, 1
DropItem "NLDemonAmmoBox", 200 
DropItem "NLDemonAmmo", 250 
DropItem "NemesisHealthBonusMax", 256, 32
DropItem "NemesisArmorBonus32", 256
DropItem "NemesisHealthBonusMax", 256, 32
DropItem "NemesisArmorBonus32", 256
DropItem "NemesisArmor", 256, 1
DropItem "NemesisSphere", 256, 1
DamageFactor 0.5
DamageFactor "PlayerNemesisPlasma", 0.0
DamageFactor "Explosion", 0.2 //0.4
DamageFactor "PlayerDTRG", 0.5
DamageFactor "DTRailgun", 0.5
DamageFactor "Player",0.1
DamageFactor "Legendary",0.0
DamageFactor "SuperWeapon", 0.75
DamageFactor "LegendaryPlayer", 0.0
DamageFactor "LegendaryGuruPlayer", 0.0
DamageFactor "PlayerDevBall", 0.65
DamageFactor "PlayerDevTracer", 0.15
DamageFactor "PowerDoubleDamage", 0.35
DamageFactor "PlayerBHole", 0.025
DamageFactor "PlayerDBFG", 0.015
DamageFactor "PlayerDBFG2", 0.015
DamageFactor "BFG10K", 0.65
DamageFactor "BFG9500Ball", 0.1
DamageFactor "CustomSpray", 0.1
DamageFactor "BFGSplash", 0.5
DamageFactor "BFGSpray", 0.1
DamageFactor "PDTBFG", 0.5
DamageFactor "PDTBFGTracer", 0.5
DamageFactor "PlayerDTBFGRailgunSlug", 0.5
DamageFactor "PDTPuff", 0.5
DamageFactor "SatanGuard", 0.0
DamageFactor "Moloch", 0.0
DamageFactor "ZombieDev", 0.0
DamageFactor "Terminator", 0.0
DamageFactor "Legendary1", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "UltimateLegendary", 0.0
DamageFactor "Cybers", 0.0
DamageFactor "Hell", 0.0
DamageFactor "Commander", 0.0
DamageFactor "NobleComet", 0.0
DamageFactor "Baby15K", 0.0
DamageFactor "Cyber10K", 0.0
DamageFactor "DemolisherEx", 0.0
DamageFactor "DarkDemoEx", 0.0
DamageFactor "CerChainguns", 0.0
DamageFactor "CerEnergyBall", 0.0
DamageFactor "HellComet", 0.0
DamageFactor "HFCyber", 0.0
DamageFactor "DBFG2", 0.1
DamageFactor "DBFG10K2", 0.1
DamageFactor "DBFGSplash2", 0.1
DamageFactor "LegMind", 0.0
Obituary "%o was demolished by the Nemesis Uber Commando."
Tag "\c[v9]Nemesis Uber Commando\c-"
+BRIGHT
var int user_deathtimer;
var int user_deathtimeractive;
States
{
  Spawn:
	NMBC AA 1 A_Look
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	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,3105)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_SetUserVar("user_missile",0)
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NMBC AA 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("CCHAIN/step")
	NMBC BB 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NMBC CC 1 A_Chase
	TNT1 A 0 A_PlaySound("CCHAIN/step")
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NMBC DD 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	Loop
  OpeningDelay:
	NMBC E 3 A_GiveInventory("NLegZombieStrafing2",1)	
  Opening:
	NMBC E 1 A_Facetarget
	NMBC E 1 A_Playsound("CCHAIN/Telegraph",CHAN_WEAPON,500)
	NMBC EEEEEEEEEEEEEEEEEEEE 2 A_CustomRailgun(-1,10,NONE,NONE,RGF_SILENT|RGF_NOPIERCING,1,0,"RailTargetPuff",0,0,0,0,2,0,"NemesisCyberNobleRailTarget")
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NMBC EE 1 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	NMBC FF 3 A_CustomMissile("NemesisSentientCannonBall", 32,0,random(-25,25))
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NMBC EE 1 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	NMBC FF 3 A_CustomMissile("NemesisSentientCannonBall", 32,0,random(-25,25))
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NMBC EE 1 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	NMBC FF 3 A_CustomMissile("NemesisSentientCannonBall", 32,0,random(-25,25))
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NMBC EE 1 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	NMBC FF 3 A_CustomMissile("NemesisSentientCannonBall", 32,0,random(-25,25))
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NMBC EE 1 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	NMBC FF 3 A_CustomMissile("NemesisSentientCannonBall", 32,0,random(-25,25))
	Goto See
  Teleport:
	TNT1 A 0 A_UnSetShootable
	TNT1 AAAAAAAAA 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NMBC EEEEEEEEEEE 1 A_Fadeout(0.1,0)
	TNT1 A 0 A_Stop
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 A 0 A_PlaySound("boss/teleport", 6)
	TNT1 AAAAAAAAA 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NMBC EEEEEEEEEEE 1 A_FadeIn(0.1)
	NMBC E 3 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_JumpIfTargetInLOS(1)
	Goto See
  Missile:
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_SetUserVar("user_missile",0)
	TNT1 A 0 A_Jump(128,"Laser","OpeningDelay")
	TNT1 A 0 A_Jump(32, "Teleport", "DTBFG")
  Normal:
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NMBC E 1 A_FaceTarget
	TNT1 A 0 A_PlaySound("sentient/fire")
	NMBC F 2 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	NMBC EE 1 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	NMBC F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	NMBC EE 1 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	NMBC F 2 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_FaceTarget
	NMBC EE 1 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	NMBC F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_FaceTarget
	NMBC EE 1 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	NMBC F 2 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_FaceTarget
	NMBC EE 1 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	NMBC F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	NMBC EE 1 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	NMBC F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	NMBC EE 1 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	NMBC F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	NMBC EE 1 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("sentient/fire")
	NMBC F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	NMBC EE 1 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	NMBC F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_Jump(64, "See")
	Loop
  Laser:
	TNT1 A 0 A_PlaySound("legendary/defense", CHAN_NOPAUSE, 500)
	TNT1 A 0 A_PlaySound("LUCOMM/Active",CHAN_VOICE,1,0,0.5)
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NMBC E 20 A_FaceTarget
  Lasering:
	TNT1 A 0 A_JumpIf(user_missile >= 10, "Missile")
    TNT1 A 0 A_SetUserVar("user_missile", user_missile+1)
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing2",1)
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NMBC E 3 A_facetarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail", CHAN_WEAPON, 500)
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing2",1)	
	NMBC F 1 A_CustomMissile("NemesisZombieCannonLaser",32,0,0,0)
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	//TNT1 A 0 A_Jump (110,"Lasering")
	Loop
  DTBFG:
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("LUCOMM/Active",CHAN_VOICE,1,0,0.5)
	NMBC E 1 A_FaceTarget 
	TNT1 A 0 Radius_Quake(8,40,0,40,0)
	TNT1 A 0 A_PlaySound("CCHAIN/Charge",CHAN_WEAPON, 500)
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NMBC EEEEEEEEEE 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfgf",CHAN_WEAPON, 500)
	NMBC F 4 A_CustomMissile("MiniNemesisBFGBall",32,0,0)
  DTBFGCool:
	TNT1 A 0 A_PlaySound("weapons/steam", CHAN_WEAPON, 500)
	TNT1 A 0 A_SetUserVar("user_missile", 0)
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NMBC EEEEEEEEEEEEE 4 A_SpawnItemEx("Smoke",20,10,32,random(2,-2),random(2,-2),random(1,3),0,0,0,0)
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing2",1)	
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	Goto See
  Death:
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	TNT1 A 0 A_StopSound(6)
	TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("NoVexedBoys") == 1,4)
	TNT1 A 0 A_JumpIfInTargetInventory("TrueLegendaryRuneItem",1,"VexedSpawn")
	TNT1 A 0 A_JumpIfInTargetInventory("TrueLegendaryRuneItem2",1,"VexedSpawn")
	TNT1 A 0 A_JumpIf(user_deathtimer <= 10,"VexedSpawn")	
	NMBC I 20 
	NMBC J 0 A_PlaySound("Gore/Splat")
	NMBC J 10 A_ChangeFlag(BRIGHT,0)
	NMBC J 10 A_Scream
	NMBC K 20 
	NMBC L 20 A_NoBlocking
	TNT1 A 0 A_Jump(100,"MoreStuff")
	NMBC M -1
	Stop
  MoreStuff:
	NMBC M 100
	TNT1 A 0 A_SpawnItem("HellionSmokeAttack")
	NMBC MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM 1 Bright A_SpawnItem("NemesisZombieItemRandomizer")
	NMBC MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM 1 Bright A_SpawnItem("NemesisZombieItemRandomizer")
	NMBC M 1 A_SpawnItem("NemesisZombieSuperItemRandomizer")
	NMBC M -1
	Stop
  VexedSpawn:
	NMBC G 3 Bright 
	NMBC G 0 A_PlaySoundEx("brain/spit",7,0,2)
	NMBC GGGGGGGGGGGGGGGGG 2 Bright A_GiveInventory("NemesisSoulEvent",1)
	NMBC GGGGGGGGGGGGGGGGG 2 Bright A_GiveInventory("NemesisSoulEvent",1)
	NMBC GGGGGGGGGGGGGGGGG 2 Bright A_GiveInventory("NemesisSoulEvent",1)
	TNT1 A 0 A_SpawnItemEx("NemesisLightning")
	NMBC GGGGGGGGGGGG 2 Bright A_SpawnItemEx("VexedNemesisFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("VexedNemesisUberCommando",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_TELEFRAG)
	TNT1 A 1
	Stop	
	}
}

/*
ACTOR LegUCommandoGhost
{
Scale 1.1
Radius 20
Height 56
Speed 0
Alpha 0.7
PROJECTILE
RENDERSTYLE Translucent
+CLIENTSIDEONLY
+NOINTERACTION
+NOTIMEFREEZE
States
{
Spawn:
    TNT1 A 0
    TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "Toaster")
Fade:
    TNT1 A 1
    NMBC A 2 A_FadeOut(0.10)
    Goto Fade+1
Toaster:
    TNT1 A 0
    Stop
    }
}
*/

ACTOR INFVexedNemesisUberCommando : VexedNemesisUberCommando Replaces VexedNemesisUberCommando //gotta have at least SEVEN half life soundtracks
{
//Creator: ConsulCast
//Origin: Nexus Infinity
//Sprite: TRCG
//Title: "Vexed Nemesis Uber Commando"
Health 3000
Speed 24
Scale 1.2
DropItem "HandGrenadeAmmo" 235 2
DropItem "MineAmmo" 235 2
DropItem "Backpack" 198 1
DropItem "NemesisRuneSpawnerTier1", 256, 1
DropItem "Nemesis Plasmatic Cannon", 256, 1
DropItem "NLDemonAmmoBox", 200 
DropItem "NLDemonAmmo", 250 
DropItem "NemesisHealthBonusMax", 256, 32
DropItem "NemesisArmorBonus32", 256
DropItem "NemesisHealthBonusMax", 256, 32
DropItem "NemesisArmorBonus32", 256
DropItem "NemesisArmor", 256, 1
DropItem "NemesisSphere", 256, 1
DamageFactor "Explosion", 0.0001
DamageFactor "PlayerDTRG", 0.0001
DamageFactor "DTRailgun", 0.0001
DamageFactor "PDTPuff", 0.0001
DamageFactor "RailG", 0.0001
DamageFactor "PyroShot", 0.0001
DamageFactor "PlayerPyro", 0.0001
DamageFactor "PlayerBHole", 0.025
DamageFactor "PlayerDBFG", 0.015
DamageFactor "PlayerDBFG2", 0.015
Obituary "%o was devestated by the Vexed Nemesis UberCommando."
Tag "\c[w2] Vexed Nemesis Uber Commando\c-"
States
{
  Spawn:
	TRCG AA 1 A_Look
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	loop
  See:
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,3106)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_SetUserVar("user_missile",0)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG AA 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("CCHAIN/step")
	TRCG BB 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG CC 3 A_Chase
	TNT1 A 0 A_PlaySound("CCHAIN/step")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG DD 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	Loop
  OpeningDelay:
	TRCG E 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
  Opening:
	TRCG E 1 A_Facetarget
	TRCG E 1 A_Playsound("CCHAIN/Telegraph",CHAN_WEAPON,500)
	TRCG EEEEEEEEEEEEEEEEEEEE 2 A_CustomRailgun(-1,10,NONE,NONE,RGF_SILENT|RGF_NOPIERCING,1,0,"RailTargetPuff",0,0,0,0,2,0,"NemesisCyberNobleRailTarget")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	TRCG FF 3 A_CustomMissile("NemesisSentientCannonBall", 32,0,random(-25,25))
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	TRCG FF 3 A_CustomMissile("NemesisSentientCannonBall", 32,0,random(-25,25))
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	TRCG FF 3 A_CustomMissile("NemesisSentientCannonBall", 32,0,random(-25,25))
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	TRCG FF 3 A_CustomMissile("NemesisSentientCannonBall", 32,0,random(-25,25))
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	TRCG FF 3 A_CustomMissile("NemesisSentientCannonBall", 32,0,random(-25,25))
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	TRCG FF 3 A_CustomMissile("NemesisSentientCannonBall", 32,0,random(-25,25))
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	TRCG FF 3 A_CustomMissile("NemesisSentientCannonBall", 32,0,random(-25,25))
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_Playsound("CCHAIN/Laser",CHAN_WEAPON,500)
	TRCG FF 3 A_CustomMissile("NemesisSentientCannonBall", 32,0,random(-25,25))
	Goto See
  Orbs:
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("LUCOMM/Active",CHAN_VOICE,1,0,0.5)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TRCG E 1 A_FaceTarget 
	TNT1 A 0 A_PlaySound("star/fire",CHAN_WEAPON, 500)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG EE 5 A_FaceTarget
	TRCG F 4 A_CustomMissile("DivineGodTerminatorStar",32,0,0)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TRCG E 1 A_FaceTarget 
	TNT1 A 0 A_PlaySound("star/fire",CHAN_WEAPON, 500)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG EE 5 A_FaceTarget
	TRCG F 4 A_CustomMissile("DivineGodTerminatorStar",32,0,0)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	Goto See
  Teleport:
	TNT1 A 0 A_UnSetShootable
	TNT1 AAAAAAAAA 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG EEEEEEEEEEE 1 A_Fadeout(0.1,0)
	TNT1 A 0 A_Stop
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 A 0 A_PlaySound("boss/teleport", 6)
	TNT1 AAAAAAAAA 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG EEEEEEEEEEE 1 A_FadeIn(0.1)
	TRCG E 3 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_JumpIfTargetInLOS(1)
	Goto See
  Missile:
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SetUserVar("user_missile",0)
	TNT1 A 0 A_Jump(128,"Laser","OpeningDelay","Orbs")
	TNT1 A 0 A_Jump(88, "Teleport", "DTBFG")
  Normal:
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_FaceTarget
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	TRCG F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	TRCG F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	TRCG F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	TRCG F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	TRCG F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	TRCG F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	TRCG F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	TRCG F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	TRCG F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_FaceTarget
	TRCG EE 1 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_PlaySound("sentient/fire")
	TRCG F 1 A_CustomMissile("NUChainExplosiveTracer",32,0,random(-5,5))
	TNT1 A 0 A_Jump(64,"Missile")
	Loop
  Laser:
	TNT1 A 0 A_PlaySound("legendary/defense", CHAN_NOPAUSE, 500)
	TNT1 A 0 A_PlaySound("LUCOMM/Active",CHAN_VOICE,1,0,0.5)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG E 10 A_FaceTarget
  Lasering:
	TNT1 A 0 A_JumpIf(user_missile >= 10, "Missile")
    TNT1 A 0 A_SetUserVar("user_missile", user_missile+1)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG E 2 A_facetarget
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("ExplosiveRailgun/Fire", CHAN_WEAPON, 500)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TRCG F 1 A_CustomMissile("NemesisZombieCannonLaser",32,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	//TNT1 A 0 A_Jump (110,"Lasering")
	Loop
  DTBFG:
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_PlaySound("LUCOMM/Active",CHAN_VOICE,1,0,0.5)
	TRCG E 1 A_FaceTarget 
	TNT1 A 0 Radius_Quake(8,40,0,40,0)
	TNT1 A 0 A_PlaySound("CCHAIN/Charge",CHAN_WEAPON, 500)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG EEEEE 1 A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/dbfgfire2",CHAN_WEAPON, 500)
	TRCG F 4 A_CustomMissile("MiniNemesisBFGBall",32,0,0)
  DTBFGCool:
	TNT1 A 0 A_PlaySound("weapons/steam", CHAN_WEAPON, 500)
	TNT1 A 0 A_SetUserVar("user_missile", 0)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TRCG EEEEEEEEEEEEE 2 A_SpawnItemEx("Smoke",20,10,32,random(2,-2),random(2,-2),random(1,3),0,0,0,0)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)	
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	Goto See
  Death:
	TNT1 A 0 A_ChangeFlag(SLIDESONWALLS,0)
	TRCG G 20 A_StopSound(6)
	TNT1 A 0 A_PlaySound("Gore/Splat")
	TRCG H 10 A_ChangeFlag(BRIGHT,0)
	TRCG I 10 A_Scream
	TRCG J 20 
	TRCG K 20 A_NoBlocking
	TNT1 A 0 A_Jump(100,"MoreStuff")
	TRCG L 100
	TNT1 A 0 A_JumpIfInTargetInventory("NemesisFragmentToken",1,3)
	TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("NemesisFragment") == 0,2)
	TNT1 A 0 A_SpawnItemEx("NemesisFragmentSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,192)
	TRCG L -1
	Stop
  MoreStuff:
	TRCG L 100
	TNT1 A 0 A_JumpIfInTargetInventory("NemesisFragmentToken",1,3)
	TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("NemesisFragment") == 0,2)
	TNT1 A 0 A_SpawnItemEx("NemesisFragmentSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,192)
	TNT1 A 0 A_SpawnItem("HellionSmokeAttack")
	TRCG LLLLLLLLLLLLLLLLLLLLLLLLLLLLLL 1 Bright A_SpawnItem("NemesisZombieItemRandomizer")
	TRCG LLLLLLLLLLLLLLLLLLLLLLLLLLLLLL 1 Bright A_SpawnItem("NemesisZombieItemRandomizer")
	TRCG L 1 A_SpawnItem("NemesisZombieSuperItemRandomizer")
	TRCG L -1
	Stop
	}
}

actor INFLegendarySegwayZombie : LegendarySegwayZombie Replaces LegendarySegwayZombie
{
//Creator: Complex Doom CF 3.0 team
//Origin: Complex Doom CF 3.0 Aprilfools
//Sprite: ZSEG
//Title: "Legendary Segway Zombie"
obituary "%o became roadkill meat thanks to the Legendary Segway Zombie"
speed 1
painchance 100
meleedamage 20
meleerange 32
Tag "\c[z3]Legendary Segway Zombie\c-"
DropItem "LegendaryArmor" 85 1
DropItem "LegAmmoSphere" 88 1
DropItem "HandGrenadeAmmo" 235 2
DropItem "MineAmmo" 235 2
DropItem "Backpack" 198 1
DropItem "Armorplate" 205 1
DropItem "Portablemedkit" 210 1
DropItem "LDemonAmmoBox" 200 
DropItem "LDemonAmmo" 250 
DropItem "LegendaryRune" 30 1
DropItem "Legendary Plasmatic Rifle" 155 1
DamageFactor "LegendaryZombie", 0.0
DamageFactor "PDTBFG", 0.25
DamageFactor "PDTBFGTracer", 0.25
DamageFactor "PlayerDevBall", 0.125
DamageFactor "PlayerDevBall2", 0.125
DamageFactor "PlayerDTBFGRailgunSlug", 0.125
DamageFactor "PlayerDevTracer", 0.125
+STRIFEDAMAGE
-FORCERADIUSDMG
-NOFEAR
states
{
  Spawn:
    TNT1 A 0 A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
    ZSEG A 10 A_Look
    ZSEG A 0 A_Stop
    ZSEG A 0 A_StopSoundEx ("SoundSlot7")
    loop
  See:
    TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,820)
	TNT1 A 0 A_SetUserVar("user_music",1)
    TNT1 A 0 A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
    ZSEG A 1 A_Chase
    ZSEG A 0 A_Recoil (-3)
    ZSEG A 0 A_MeleeAttack
    ZSEG A 0 A_PlaySoundEx ("Segway/Go", "SoundSlot7", 1)
    loop
  Melee: 
    TNT1 A 0 A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
    ZSEG A 1 A_Recoil (-10)
    ZSEG A 1 A_MeleeAttack
    ZSEG A 1 A_MeleeAttack
    ZSEG A 1 A_MeleeAttack
	ZSEG A 0 A_PlaySoundEx ("Segway/Go", "SoundSlot7", 1)
    Goto See
  Pain:
    ZSEG A 0 A_Recoil (5)
    ZSEG A 0 A_Pain
    ZSEG A 0 A_PlaySoundEx ("Segway/Go", "SoundSlot7", 1)
    goto See
  Death:
    TNT1 A 0 A_StopSound(6)
    ZSEG B 5 A_SpawnItemEx ("LegBoom", 0, 0, 32, 0, 0, 0, 0, 160)
    ZSEG B 0 A_StopSoundEx ("SoundSlot7")
    ZSEG B 0 A_PlaySound ("weapons/rocklx")
    ZSEG C 5 A_Scream
    ZSEG D 5 A_NoBlocking
	TNT1 A 0 A_Jump(64,3)
	TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("SignetAvaliableTokensCheck") == 2,2)
	TNT1 A 0 A_JumpIfInTargetInventory("SignetActiveToken",1,"SignetResurrect")
    ZSEG E -1
    stop
  SignetResurrect:
    TNT1 A 0 A_GiveToTarget("ResurrectedMonsters",1)
	TNT1 A 0 Thing_ChangeTID(0,ACS_NamedExecuteWithResult("SignetTargetID"))
    ZSEG E 100 A_ChangeFlag(FRIENDLY,1)
	ZSEG E 200 A_SpawnItem("SignetRessurectionFire")
	ZSEG E 40 Bright A_SpawnItem("SignetRessurectionFlame")
	//LEGN N 0 A_PlaySoundEx("TLegZomb/Resurrect",7,0,0.4)
    ZSEG EDCB 15 Bright
	TNT1 A 3 A_SpawnItemEx("FriendlyLegendarySegwayZombie",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0,tid-2)
	TNT1 A 1
	Stop
  }
}

Actor INFExos : Exos Replaces Exos //Exos is too powerful, what, gonna cry?
{
Monster
Health 4000
WoundHealth 0
GibHealth 1000
Height 100//110
Radius 35//40
Mass 1000
Speed 40
MeleeRange 400
MinMissileChance 100//160
PainChance 20
Painchance "SS", 0
Painchance "Crush", 256
Painchance "Mine", 256
PainChance "NuclearFire", 128
Painchance "BFG9500Ball", 256
Painchance "UpBFG9500Ball", 256
Painchance "BFGSplash", 256
Painchance "UpBFGSplash", 256
PainChance "BFG10K", 256
PainChance "PDTBFG", 256
PainChance "PDTBFGTracer", 256
PainChance "PlayerDevBall", 256
PainChance "PlayerDevBall2", 256
PainChance "PlayerDevTracer", 256
PainChance "Players", 256
PainChance "PlayerDBFG2", 256
PainChance "PlayerDBFG10K2", 256
PainChance "PlayerDBFGSplash2", 256
Species "Cybers"
Damagetype "Exos"
DamageFactor "Crush", 0.1
Damagefactor "Melee", 0.05
Damagefactor "Acid", 0.1
DamageFactor "Ice", 0.05
Damagefactor "Fire", 0.01
Damagefactor "Poison", 0.0
Damagefactor "PoisonCloud", 0.0
Damagefactor "Electric", 0.1
Damagefactor "Disintegrate", 0.1
Damagefactor "Mine", 0.1
Damagefactor "Explosion", 0.1
Damagefactor "NuclearFire", 0.01
DamageFactor "PyroShot", 0.01
DamageFactor "PlayerPyro", 0.01
DamageFactor "Extreme", 0.01
DamageFactor "PDTPuff", 0.01
DamageFactor "Player", 0.0
DamageFactor "BFG10K", 0.65
DamageFactor "BFG9500Ball", 0.5
DamageFactor "UpBFG9500Ball", 0.5
DamageFactor "BFGSplash", 0.5
DamageFactor "UpBFGSplash", 0.5
DamageFactor "PDTBFG", 0.03
DamageFactor "PDTBFGTracer", 0.03
DamageFactor "PlayerDevBall", 0.02
DamageFactor "PlayerDevBall2", 0.02
DamageFactor "PlayerDevTracer", 0.02
DamageFactor "PlayerBHole", 0.05
DamageFactor "PlayerDBFG2", 0.65
DamageFactor "PlayerDBFG10K2", 0.65
DamageFactor "PlayerDBFGSplash2", 0.65
DamageFactor "Legendary", 0.015
DamageFactor "LegendaryPlayer", 0.015
DamageFactor "SuperWeapon", 0.0
DamageFactor "LegendaryGuruPlayer", 0.015
DamageFactor "PlayerHellfire", 0.25
DamageFactor "SatanGuard", 0.01
DamageFactor "AbyssalSatyr", 0.01
Damagefactor "Moloch", 0.01
Damagefactor 0.35
//No Infighting
DamageFactor "Exos", 0.0
DamageFactor "SS", 0.0
DamageFactor "RST", 0.0
DamageFactor "MiniRocket", 0.0
DamageFactor "ZombieDev", 0.0
DamageFactor "Legendary1", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "UltimateLegendary", 0.0
DamageFactor "Terminator", 0.0
DamageFactor "Nobles", 0.0
DamageFactor "VileFires", 0.0
DamageFactor "DarkBruiserBFG10K", 0.0
DamageFactor "DarkBruiserRailgunSlug", 0.0
DamageFactor "Cybers", 0.0
DamageFactor "Cyber10K", 0.0
DamageFactor "DemolisherEx", 0.0
DamageFactor "DarkDemoEx", 0.0
DamageFactor "CerChainguns", 0.0
DamageFactor "CerEnergyBall", 0.0
DamageFactor "LegMind", 0.0
DamageFactor "BeheComet", 0.0
DamageFactor "NobleComet", 0.0
DamageFactor "CacoComet", 0.0
DamageFactor "CadaverRocket", 0.0
DamageFactor "DBFG2", 0.0
DamageFactor "DBFG10K2", 0.0
DamageFactor "DBFGSplash2", 0.0
DamageFactor "Hell", 0.0
DamageFactor "HellComet", 0.0
DamageFactor "HFCyber", 0.0
DropItem "NemesisHealthBonusMax", 256, 40
DropItem "NemesisArmorBonusMax", 256
DropItem "NemesisArmorBonusMax", 256
DropItem "NemesisArmorBonusMax", 256
DropItem "NemesisArmorBonusMax", 256
DropItem "NemesisArmorBonusMax", 256
DropItem "NemesisArmorBonusMax", 256
DropItem "NemesisArmorBonusMax", 256
DropItem "PureRage", 128
DropItem "PureRage", 128
DropItem "ArmorCharge", 128, 4
DropItem "PortableMedCellPack", 128, 1
DropItem "HealthFlask", 128, 4
DropItem "BulletBox" 128, 400
DropItem "BulletMag" 128, 12
DropItem "DemonAmmoBox", 128
DropItem "Missile" 96, 25
DropItem "AmmoPack", 196, 2
DropItem "MineAmmo", 128, 1
DropItem "DemonicChalice", 32, 1
DropItem "SkullOfPower", 32, 1
DropItem "MarineSquadBeacon", 256, 1
DropItem "MarineMedicBeacon", 256, 1
DropItem "MarineDispensersBeacon", 256, 1
SEESOUND "Exos/See"
ACTIVESOUND "Exos/Active"
PAINSOUND "Exos/Pain"
DEATHSOUND "Exos/Die"
MeleeSound ""
Obituary "%o was exterminated by the Exos."
Tag "Exos"
+BOSS
+NOFEAR
+BOSSDEATH
+NOICEDEATH
+DONTRIP
+NORADIUSDMG
+DONTMORPH
+TELESTOMP
+NOTELEFRAG
+NOTARGET
-NOINFIGHTING
+ALWAYSFAST
+NOBLOOD
+FLOORCLIP
+NEVERRESPAWN
+SEEINVISIBLE
+MISSILEMORE
+QUICKTORETALIATE
+DONTHARMSPECIES
var int user_music;
var int user_lcounter;
var int user_pcount;
var int user_missile;
States
{
  Spawn:
	EXOS A 1
	TNT1 A 0 A_SetUserVar("user_pcount",0)
	TNT1 A 0 A_SetUserVar("user_lcounter",0)
  SpawnLoop1:
	EXOS A 10 A_Look
	TNT1 A 0 A_SetUserVar("user_lcounter",user_lcounter+1)
	TNT1 A 0 A_JumpIf(user_lcounter < 34,"SpawnLoop1")
	EXOS A 1 A_Jump(150,"SpawnLoop2")
	TNT1 A 0 A_CustomMissile("HemBeholderSpawner",20,0,-90,CMF_AIMDIRECTION|CMF_TRACKOWNER)
	EXOS A 1 A_Jump(16,"SpawnLoop2")
	TNT1 A 0 A_CustomMissile("HemBeholderSpawner",20,0,-45,CMF_AIMDIRECTION|CMF_TRACKOWNER)
	EXOS A 1 A_Jump(16,"SpawnLoop2")
	TNT1 A 0 A_CustomMissile("HemBeholderSpawner",20,0,45,CMF_AIMDIRECTION|CMF_TRACKOWNER)
	EXOS A 1 A_Jump(16,"SpawnLoop2")
	TNT1 A 0 A_CustomMissile("HemBeholderSpawner",20,0,90,CMF_AIMDIRECTION|CMF_TRACKOWNER)
  SpawnLoop2:
	EXOS A 10 A_Look
	Loop
  See:
    TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_ChangeFlag("NODAMAGE",0)
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,802)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_Jump(30,"Rush")
	EXOS AABB 4 A_Chase
	TNT1 A 0 A_SpawnItemEx("ExosStep",0,0,5,0,0,-20)
	EXOS CCDD 4 A_Chase
	TNT1 A 0 A_SpawnItemEx("ExosStep",0,0,5,0,0,-20)
	Loop
  Rush:
	EXOS A 0 A_SpawnItemEx("ExosStep",0,0,5,0,0,-20)
    TNT1 A 0 A_Chase
	EXOS A 2 A_SpawnItemEx("ExosGhost")
	TNT1 A 0 A_Chase
	EXOS A 2 A_SpawnItemEx("ExosGhost")
	TNT1 A 0 A_Chase
	EXOS B 2 A_SpawnItemEx("ExosGhost")
	TNT1 A 0 A_Chase
	EXOS B 2 A_SpawnItemEx("ExosGhost")
	EXOS A 0 A_SpawnItemEx("ExosStep",0,0,5,0,0,-20)
	TNT1 A 0 A_Chase
	EXOS C 2 A_SpawnItemEx("ExosGhost")
	TNT1 A 0 A_Chase
	EXOS C 2 A_SpawnItemEx("ExosGhost")
	TNT1 A 0 A_Chase
	EXOS D 2 A_SpawnItemEx("ExosGhost")
	TNT1 A 0 A_Chase
	EXOS D 2 A_SpawnItemEx("ExosGhost")  
	TNT1 A 0 A_Jump(38,"Teleport")
	TNT1 A 0 A_Jump(75,"See")  	
	Loop
  Teleport:
	EXOS G 1 Bright A_UnSetShootable
	TNT1 AAAA 0 A_SpawnItemEx("HemDarkLineSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
	TNT1 A 0 A_PlaySound("Exos/TeleportIn",CHAN_AUTO,1.0,0)
	EXOS GGGGGGGGGG 1 Bright A_FadeOut(0.1,0)
	TNT1 A 2 Bright
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 A 2 Bright A_PlaySound("Exos/TeleportOut",CHAN_AUTO,1.0,0)
	TNT1 AAAA 0 A_SpawnItemEx("HemDarkLineSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,0)
	EXOS GGGGGGGGGG 1 A_FadeIn(0.1)
	EXOS G 1 A_SetShootable
	Goto See
  Missile:
    TNT1 A 0
	TNT1 A 0 A_ChangeFlag("FRIENDLY",0)
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_JumpIfTargetInLOS("ChainGuns",90,JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,600,0)
	TNT1 A 0 A_Jump(160,"Rockets2","Rockets3","Rockets4","Rockets4")
  ChainGuns:
	EXOS EEEE 1 A_FaceTarget(45)
	TNT1 A 0 A_SetUserVar("user_missile",0)
  ChainGunsLoop:
    TNT1 A 0 A_JumpIf(user_missile >= 15,"ChainGunsEnd")	 
	TNT1 A 0 A_SetUserVar("user_missile",user_missile+1)
	TNT1 A 0 A_PlaySound("hitler/fire",CHAN_WEAPON,1.0,0)
	EXOS F 1 Bright A_CustomBulletAttack(4.3,2.6,1,20,"ExosBulletPuff",0,CBAF_NORANDOM)
	TNT1 A 0 A_CustomMissile("MonsterExplosiveTracer2",77,23,Random(5,-5),0)
	EXOS E 1 A_SpawnItemEx("RifleCasing",35,23,76,Random(2,6),0,Random(1,3),Random(-30,-35),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_PlaySound("hitler/fire",CHAN_WEAPON,1.0,0)
	EXOS F 1 Bright A_CustomBulletAttack(4.3,2.6,1,20,"ExosBulletPuff",0,CBAF_NORANDOM)
	TNT1 A 0 A_CustomMissile("MonsterExplosiveTracer2",77,23,Random(5,-5),0)
	EXOS E 1 A_SpawnItemEx("RifleCasing",35,23,76,Random(2,6),0,Random(1,3),Random(-40,-45),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_PlaySound("hitler/fire",CHAN_WEAPON,1.0,0)
	EXOS F 1 Bright A_CustomBulletAttack(4.3,2.6,1,20,"ExosBulletPuff",0,CBAF_NORANDOM)
	TNT1 A 0 A_CustomMissile("MonsterExplosiveTracer2",77,23,Random(5,-5),0)
	EXOS E 1 A_SpawnItemEx("RifleCasing",35,23,76,Random(2,6),0,Random(1,3),Random(-40,-45),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	Loop
  ChainGunsEnd:
    EXOS E 1 A_FaceTarget
	TNT1 A 0 A_Jump(256,"Rockets","See")
	Goto See
  Rockets:
	EXOS GGGG 1 A_FaceTarget(45)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("ExosMiniRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("ExosMiniRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("ExosMiniRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("ExosMiniRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS G 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("ExosMiniRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("ExosMiniRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("ExosMiniRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("ExosMiniRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS G 4 Bright
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	Goto See
  Rockets2:
	EXOS GGGG 1 A_FaceTarget(45)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("ExosMissile",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("ExosMissile",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("ExosMissile",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("ExosMissile",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS G 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("ExosMissile",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("ExosMissile",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("ExosMissile",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("ExosMissile",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS G 4 Bright
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	Goto See
  Rockets3:
	EXOS GGGG 1 A_FaceTarget(45)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("PyroRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("PyroRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("PyroRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("PyroRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS G 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("PyroRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("PyroRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("PyroRocket",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("PyroRocket",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS G 4 Bright
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	Goto See
  Rockets4:
	EXOS GGGG 1 A_FaceTarget(45)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("M2HellStormBomb",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("M2HellStormBomb",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("M2HellStormBomb",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("M2HellStormBomb",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS G 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("M2HellStormBomb",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("M2HellStormBomb",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS H 4 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("M2HellStormBomb",79,-15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_CustomMissile("M2HellStormBomb",79,15,0,CMF_TRACKOWNER)
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	EXOS G 4 Bright
	TNT1 A 0 A_SpawnItemEx("HemLineSpawner")
	Goto See
  Pain:
	TNT1 A 0
	EXOS I 7 A_ChangeFlag(NOPAIN,1)
	EXOS I 8 A_Pain
  PainMissile:
	EXOS I 10 Bright A_Pain
	Goto Missile
  Death:
	EXOS I 4 A_Scream
	TNT1 A 0 A_TakeInventory("Tic",999999)
	TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)	
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))	
	EXOS JJJKKK 5 Bright A_CustomMissile("Kaboom", random(10,60), random(30,-30), random(0,360), 2, random(0,360))
	TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)	
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))
	TNT1 A 0 A_SpawnItemEx("EFGFusionNukeFX",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
	TNT1 A 0 A_CustomMissile("TerminatorEFGFusionNukeExplode",0,0,0,CMF_AIMDIRECTION|CMF_TRACKOWNER,0)
	EXOS LLLMMM 2 Bright A_CustomMissile("Kaboom", random(10,60), random(30,-30), random(0,360), 2, random(0,360))  
	TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)	
	TNT1 AAA 0 A_CustomMissile("BigRedBloodCloud", random(10,80), 0, random(0,360), 2, random(0,360))	
	EXOS NNNOOO 5 Bright A_CustomMissile("Kaboom", random(10,60), random(30,-30), random(0,360), 2, random(0,360))
	TNT1 A 0 A_SpawnItemEx("ExosGib",0,0,8,random(1,8),0,2,random(0,360),SXF_CLIENTSIDE,0)
	TNT1 A 0 A_SpawnItemEx("ExosGib2",0,0,8,random(1,8),0,2,random(0,360),SXF_CLIENTSIDE,0)
	TNT1 A 0 A_SpawnItemEx("ExosGib3",0,0,8,random(1,8),0,2,random(0,360),SXF_CLIENTSIDE,0)
	TNT1 A 0 A_SpawnItemEx("ExosGib4",0,0,8,random(1,8),0,2,random(0,360),SXF_CLIENTSIDE,0)
	TNT1 A 0 A_SpawnItemEx("NemesisArmor",0,0,0,random(0,8),random(0,8),2,random(0,360),0,96)
	TNT1 A 0 A_SpawnItemEx("ArmorRegenerator",0,0,64,random(0,8),0,2,random(0,360),0,160)
	TNT1 A 0 A_SpawnItemEx("Jetpack",0,0,64,random(0,8),0,2,random(0,360),0,80)
	TNT1 A 0 A_SpawnItemEx("Improved Minigun",0,0,8,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("ExosGib5",0,0,8,random(1,8),0,2,random(0,360),SXF_CLIENTSIDE,0)
	TNT1 A 0 A_PlaySound("Exos/Gib3",CHAN_BODY,1.0,0)
	TNT1 A 0 A_Fall
	TNT1 A 0
	EXOS PQ 4
	EXOS R -1 A_Killmaster
	Stop
	}
}

ACTOR ExosGhost
{
Scale 1.2
RENDERSTYLE Translucent
Alpha 0.75
+NOTIMEFREEZE
+NONSHOOTABLE
+NOINTERACTION
States
{
  Spawn:
    TNT1 A 0
	TNT1 A 1 A_JumpIf(ACS_ExecuteWithResult(304) == 1,"NULL")
	EXOS A 2 A_FadeOut(0.18,1)
	Wait
	}
}

ACTOR HellFrostBFGZombie : CryoCannonZombie Replaces CryoCannonZombie
{
Monster
Health 750
Radius 20
Height 56
Speed 30
Damagefactor 0.8
Damagefactor "Ice", 0.0
DamageFactor "FreezerBurn", 0.0
Damagefactor "Fire", 1.25
DamageFactor "Legendary", 0.65
DamageFactor "LegendaryPlayer", 0.65
DamageFactor "PlayerNemesisPlasma", 0.65
DamageFactor "Explosion", 0.5
DamageFactor "PlayerDTRG", 0.65
DamageFactor "DTRailgun", 0.65
DamageFactor "PDTPuff", 0.65
DamageFactor "RailG", 0.5
DamageFactor "VileFires", 0.0
DamageFactor "DarkDemoEx", 0.0
+NOTIMEFREEZE
+BOSS
+BOSSDEATH
+FLOORCLIP
+MISSILEMORE
+MISSILEEVENMORE
+QUICKTORETALIATE
+NOICEDEATH
+NODROPOFF
+DONTGIB
+NOTARGET
+NORADIUSDMG
+FORCERADIUSDMG
+NOFEAR
DropItem "PortableMedkit" 190
DropItem "ArmorSphere", 96
DropItem "BackPack" 55
DropItem "PlasmaEnergy" 256 60
DropItem "GreaterPlasmaEnergy" 200
DropItem "PlasmaEnergy" 256 20
DropItem "GreaterPlasmaEnergy" 250
DropItem "Freezer Rifle" 150 1
DropItem "FreezerBFG" 90 //DJB
DropItem "MarineDBFGBeacon" 15 1
Species "Zombie"
SeeSound "fzombie/sight"
PainSound "fzombie/pain"
DeathSound "fzombie/death"
ActiveSound "fzombie/active"
Tag "\c[o7]HellFrost BFG Zombie\c-"
Obituary "%o was sent to the ice age by the \c[o7]HellFrost BFG Zombie\c-."
var int user_mine;
var int user_minecount;
var int user_music;
States
{
  Spawn:
	PCRY A 10 A_Look
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	Loop
  Idle:
	PCRY AA 3 A_Wander
	TNT1 A 0 A_look
	PCRY BB 3 A_Wander
	TNT1 A 0 A_look
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	PCRY CC 3 A_Wander
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_look
	PCRY DD 3 A_Wander
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_look
	TNT1 A 0 A_JumpIf(user_mine == 0,3)
	TNT1 A 0 A_JumpIf(user_minecount == 0,2)
	TNT1 A 0 A_Jump(10,"ThrowMineIdle")
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	Loop
  ThrowMineIdle:
	TNT1 A 0 A_SetAngle(Angle+Random(0,360))
	TNT1 A 0 A_PlaySound("weapons/hgrenadethrow",4)
	TNT1 A 0 A_SetUserVar(user_minecount,user_minecount-1)
	PCRY E 12 A_CustomMissile("CryoCannonZombieMine",32,0,0,2,15)
	TNT1 A 0 A_look
	Goto Idle
  See:
	TNT1 A 0 A_JumpIf(user_music == 1,3)
    TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,6754)
	TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	PCRY AABB 3 A_Chase
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
	PCRY CCDD 3 A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_JumpIf(user_mine == 0,2)
	PCRY A 0 A_Jump(80,"Rush")
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_Jump(10,"ThrowMine")
	TNT1 A 0 A_Jump(30,"Teleport")
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	Loop
  Rush:
    PCRY A 0 A_JumpIfTargetInLOS("Strafing")
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("HellFrostBFGZombieGhostA",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	PCRY A 1 Bright A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("HellFrostBFGZombieGhostA",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	PCRY A 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("HellFrostBFGZombieGhostB",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	PCRY B 1 Bright A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("HellFrostBFGZombieGhostB",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	PCRY B 1 Bright A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("HellFrostBFGZombieGhostC",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	PCRY C 1 Bright A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("HellFrostBFGZombieGhostC",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	PCRY C 1 Bright A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("HellFrostBFGZombieGhostD",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	PCRY D 1 Bright A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("HellFrostBFGZombieGhostD",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	PCRY D 1 Bright A_Chase
	TNT1 A 0 A_SpawnItem("FreezedCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_Jump(84,"See")
  Strafing:
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	PCRY AA 3 A_GiveInventory("Strafing")
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	PCRY BB 3 A_GiveInventory("Strafing")
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
    PCRY CC 3 A_GiveInventory("Strafing")	
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	PCRY DD 3 A_GiveInventory("Strafing")
	Loop
  Teleport:
	PCRY E 1 A_UnSetShootable
	TNT1 AAAAAA 0 A_SpawnItemEx("FreezedCyberFlameSpawner")
	TNT1 AAAAAAA 0 A_SpawnItemEx("BlueCardLineSpawner")
	PCRY EEEEEEEEEEE 1 A_FadeOut(0.1,0)
	PCRY EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE 0 A_Wander
	PCRY EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE 0 A_Wander
	PCRY E 1 A_PlayWeaponSound("boss/teleport")
	TNT1 AAAAAA 0 A_SpawnItemEx("FreezedCyberFlameSpawner")
	TNT1 AAAAAAA 0 A_SpawnItemEx("BlueCardLineSpawner")
	PCRY EEEEEEEEEEE 1 A_FadeIn(0.1)
	PCRY E 1 A_SetShootable
	Goto See
  ThrowMine:
	TNT1 A 0 A_PlaySound("weapons/hgrenadethrow",4)
	PCRY E 12 A_CustomMissile("CryoCannonZombieMine",32,0,0,2,15)
	Goto See
  Missile:
	TNT1 A 0 A_ChangeFlag(NOPAIN,1)
	TNT1 A 0 A_JumpIf(user_mine == 1,3)
	TNT1 A 0 A_SetUserVar(user_minecount,Random(0,3))
	TNT1 A 0 A_SetUserVar(user_mine,1)
	PCRY EEEEEEE 4 A_FaceTarget
	//TNT1 A 0 A_Jump(136,2)
	TNT1 A 0 A_CheckSight("MLG")
	PCRY E 4 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/PCNNF",CHAN_WEAPON)
	PCRY F 4 Bright A_CustomMissile("ZombieCryoShot",40,20,0,CMF_TRACKOWNER)
	TNT1 A 0 A_PlaySound("weapons/dtech10ksteam",6)
	TNT1 AAA 0 A_ChangeFlag(NOPAIN,0)
	PCRY E 20 Bright A_SpawnItemEx("LegendaryCannonSmoke",40,20,0)
	TNT1 A 0 A_SpawnItemEx("LegendaryCannonSmoke",40,-20,0)
	PCRY E 20 Bright A_SpawnItemEx("LegendaryCannonSmoke",40,20,0)
	TNT1 A 0 A_SpawnItemEx("LegendaryCannonSmoke",40,-20,0)
	PCRY E 20 Bright A_SpawnItemEx("LegendaryCannonSmoke",40,20,0)
	TNT1 A 0 A_SpawnItemEx("LegendaryCannonSmoke",40,-20,0)
	Goto See
  MLG:
    TNT1 A 0 A_SetTranslucent(1,1)
    PCRZ ABCDE 2 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,400,0,1)
	PCRZ E 0 A_PlaySound("loper/tele")
    PCRZ E 4 A_FaceTarget
	PCRZ E 0 A_Stop
	PCRZ E 1 ThrustThingZ(0,15,0,1)
	PCRZ EDCBA 2 A_FaceTarget
	TNT1 A 0 A_SetTranslucent(1,0)
	TNT1 A 0 A_CheckSight("MLG2")
	PCRY E 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/PCNNF",CHAN_WEAPON)
	PCRY F 4 Bright A_CustomMissile("ZombieCryoShot",40,20,0,CMF_TRACKOWNER)
	TNT1 A 0 A_PlaySound("weapons/dtech10ksteam",6)
	TNT1 AAA 0 A_ChangeFlag(NOPAIN,0)
	PCRY E 20 Bright A_SpawnItemEx("LegendaryCannonSmoke",40,20,0)
	TNT1 A 0 A_SpawnItemEx("LegendaryCannonSmoke",40,-20,0)
	PCRY E 20 Bright A_SpawnItemEx("LegendaryCannonSmoke",40,20,0)
	TNT1 A 0 A_SpawnItemEx("LegendaryCannonSmoke",40,-20,0)
	PCRY E 20 Bright A_SpawnItemEx("LegendaryCannonSmoke",40,20,0)
	TNT1 A 0 A_SpawnItemEx("LegendaryCannonSmoke",40,-20,0)
	Goto See
  MLG2:
    TNT1 A 0 A_SetTranslucent(1,1)
    PCRZ ABCDE 2 A_FaceTarget
	TNT1 A 0 ThrustThingZ(0,400,0,1)
	PCRZ E 0 A_PlaySound("loper/tele")
    PCRZ E 4 A_FaceTarget
	PCRZ E 0 A_Stop
	PCRZ E 1 ThrustThingZ(0,15,0,1)
	PCRZ EDCBA 2 A_FaceTarget
	TNT1 A 0 A_SetTranslucent(1,0)
	TNT1 A 0 A_CheckSight("See")
	PCRY E 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/PCNNF",CHAN_WEAPON)
	PCRY F 4 Bright A_CustomMissile("ZombieCryoShot",40,20,0,CMF_TRACKOWNER)
	TNT1 A 0 A_PlaySound("weapons/dtech10ksteam",6)
	TNT1 AAA 0 A_ChangeFlag(NOPAIN,0)
	PCRY E 20 Bright A_SpawnItemEx("LegendaryCannonSmoke",40,20,0)
	TNT1 A 0 A_SpawnItemEx("LegendaryCannonSmoke",40,-20,0)
	PCRY E 20 Bright A_SpawnItemEx("LegendaryCannonSmoke",40,20,0)
	TNT1 A 0 A_SpawnItemEx("LegendaryCannonSmoke",40,-20,0)
	PCRY E 20 Bright A_SpawnItemEx("LegendaryCannonSmoke",40,20,0)
	TNT1 A 0 A_SpawnItemEx("LegendaryCannonSmoke",40,-20,0)
	Goto See
  Pain:
    TNT1 A 0 A_Jump(10,"PainMissile")
    PCRY G 6 A_Pain
    Goto See
  PainMissile:
    PCRY G 6 A_Pain
	Goto Missile
  Death:
    PCRY H 5
	TNT1 A 0 A_CustomMissile("SuicideBomb",24,0,0,CMF_AIMDIRECTION) 
    TNT1 AAA 0 A_CustomMissile("BlueKaboom3",24,0,random(0,360),2,random(0,360))
	TNT1 AAAA 0 A_SpawnItemEx("BlueParticleSpawner",0,0,24,0,0,0,0,0,128)
	TNT1 AAA 0 A_CustomMissile("SmokeFX2",24,0,random(0,360),2,random(0,360))
    TNT1 AAAA 0 A_SpawnItemEx("Debris",0,0,24,Random(4,-4),Random(4,-4),Random(4,8),0,128)
    TNT1 A 0 A_SpawnItem("BlueRocketEx",0,24)
	TNT1 A 0 A_PlaySound("weapons/rocklx",CHAN_BODY)
    PCRY I 5 A_Scream
    PCRY J 5 A_Fall
    PCRY KLM 5
    PCRY N 0 A_SpawnItem("BodyCrash",0,0,0,0)
    PCRY N -1
    Stop
  XDeath:
    PCRY O 3
	TNT1 A 0 A_SpawnItemEx("ZombieCryoExplosion",0,0,36)
	TNT1 A 0 ThrustThingZ(0,40,0,1)
	TNT1 A 0 ThrustThing(Random(0,360),random(15,20))
    PCRY P 3 A_XScream
    PCRY Q 3 A_SpawnItemEx("GibbedGenerator",0,0,0,0,0,0,0,128,0)
    PCRY R 3 A_Fall
    PCRY STUV 3
    PCRY W -1
    Stop
  Raise:
	TNT1 A 0
	TNT1 A 0 A_SpawnItemEx("VileHealEffect",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
    PCRY MLKJIH 5
    Goto See
    }
}

ACTOR HellFrostBFGZombieGhostA
{
Scale 1.1
Radius 20
Height 56
Speed 0
Alpha 0.7
PROJECTILE
RENDERSTYLE Translucent
+NOTIMEFREEZE
+NOINTERACTION
+CLIENTSIDEONLY
+NONETID
States
{
  Spawn:
	TNT1 A 0
	TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "NULL")
	TNT1 A 1
	Goto Fade
  Fade:
	PCRZ A 2 A_FadeOut(0.1,1)
	Loop
  Toaster:
	TNT1 A 1
	Stop
	}
}

ACTOR HellFrostBFGZombieGhostB : HellFrostBFGZombieGhostA
{   
States
{
  Spawn:
	TNT1 A 0
	TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "NULL")
	TNT1 A 1
	Goto Fade
  Fade:
	PCRZ B 2 A_FadeOut(0.1,1)
	Loop
  }
}

ACTOR HellFrostBFGZombieGhostC : HellFrostBFGZombieGhostA
{   
States
{
  Spawn:
	TNT1 A 0
	TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "NULL")
	TNT1 A 1
	Goto Fade
  Fade:
	PCRZ C 2 A_FadeOut(0.1,1)
	Loop
  }
}

ACTOR HellFrostBFGZombieGhostD : HellFrostBFGZombieGhostA
{   
States
{
  Spawn:
	TNT1 A 0
	TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "NULL")
	TNT1 A 1
	Goto Fade
  Fade:
	PCRZ D 2 A_FadeOut(0.1,1)
	Loop
  }
}