ACTOR DarkVoidGod : PainLord
{ 
Health 400099
PainChance 1
Bloodcolor Purple
Speed 35
Scale 2
Mass 10000
Height 120
Radius 34
Meleedamage 800
MeleeRange 120
Species "Void"
Damagefactor "Void", 0.0 
DropItem "DarkVoidArmor" 256
DropItem "NemesispowerShard" 256
DropItem "CommanderSuperSphere" 256
DropItem "TrueLegendaryrune" 256
DropItem "Legendaryrune" 256
DropItem "BeastSoulSphere" 256
DropItem "NemesisOmegaSphere" 256
DropItem "TalismanOfChaos" 256
DropItem "Terminator" 256 1
Damagefactor 0.7
DamageFactor "TechBlast", 0.0
DamageFactor "PlayerDTRG", 0.0001
DamageFactor "DTRailgun", 0.0001
DamageFactor "PDTPuff", 0.0001
DamageFactor "RailG", 0.0001
DamageFactor "PyroShot", 0.05
DamageFactor "PlayerPyro", 0.05
DamageFactor "PlayerBHole", 0.0001
DamageFactor "PlayerDBFG", 0.0001
DamageFactor "PlayerDBFG2", 0.0001
DamageFactor "Extreme", 0.0
DamageFactor "PDTPuff", 0.0
DamageFactor "FreezerBurn", 0.0
DamageFactor "Fire", 0.0
DamageFactor "Crush", 0.0
DamageFactor "Suicide", 0.0
DamageFactor "Telefrag", 0.0
DamageFactor "Massacre", 0.0
DamageFactor "Ice", 0.0
DamageFactor "CDTBFG", 0.0
DamageFactor "DBFG10K", 0
DamageFactor "C0mm4nder", 0.0
DamageFactor "DBFG2",0.0
DamageFactor "Legendary", 0.5
DamageFactor "LegendaryPlayer", 0.5
DamageFactor "LegendaryGuru", 0.4
DamageFactor "LegendaryGuruPlayer", 0.4
DamageFactor "PlayerNemesisPlasma", 0.65
DamageFactor "TrueLegendaryDamage", 0.75
DamageFactor "TrueLegendaryPlayer", 0.75
DamageFactor "PlayerDevBall", 0.05
DamageFactor "Explosion", 0.05
DamageFactor "Cursed", 0.45
DamageFactor "Hackroid", 0.7
DamageFactor "Fire", 0.15
DamageFactor "Marine", 0.5
DamageFactor "DiscoBFG", 0.05
Tag "\c[u9]Azathoth The Dark Void God\c-"
Translation "0:255=%[0.00,0.00,0.00]:[0.93,0.20,0.99]"
+LookAllAround
+NoFear
+FLOORCLIP
+MISSILEMORE
+MISSILEEVENMORE
+QUICKTORETALIATE
+NOTARGET
+DONTHARMSPECIES
+NOTIMEFREEZE
+BOSS
+BOSSDEATH
+NOBLOCKMONST
  Obituary "%o had his soul cast into the void by the \c[u9]Azathoth The Dark Void God\c-."
  HitObituary "%o had his soul cast into the void by the \c[u9]Azathoth The Dark Void God\c-."
  SeeSound "NemesisCyber/Sight"
  ActiveSound "NemesisCyber/Active"
  PainSound "NemesisCyber/Pain"
  DeathSound "EnragedCyberdemon/Death"
  var int user_music;
  var int user_CheckPower;
  var int user_Minionssummon;
  var int user_Minionssummon2;
  var int user_Minionssummon3;
  var int user_Minionssummon4;
  var int user_Minionssummon5;
  States 
  { 
  Spawn: 
    TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
    PILD A 5 A_Look 
    Loop 
  See: 
    TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,1760,1012)
	TNT1 A 0 ACS_NamedExecuteAlways("CommanderSky")
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_JumpIf(user_CheckPower == 1,2)
	TNT1 A 0 A_JumpIfHealthLower(400000, "CheckPower")
	TNT1 A 0 A_JumpIf(user_Minionssummon == 1,2)
	TNT1 A 0 A_JumpIfHealthLower(350000, "Minionssummon")
	TNT1 A 0 A_JumpIf(user_Minionssummon2 == 1,2)
	TNT1 A 0 A_JumpIfHealthLower(300000, "Minionssummon2")
	TNT1 A 0 A_JumpIf(user_Minionssummon3 == 1,2)
	TNT1 A 0 A_JumpIfHealthLower(250000, "Minionssummon3")
	TNT1 A 0 A_JumpIf(user_Minionssummon4 == 1,2)
	TNT1 A 0 A_JumpIfHealthLower(200000, "Minionssummon4")
	TNT1 A 0 A_JumpIf(user_Minionssummon5 == 1,2)
	TNT1 A 0 A_JumpIfHealthLower(150000, "Minionssummon5")
    TNT1 A 0 A_SpawnItem("HoofStep",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,128)
    PILD AA 3 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,128)
    PILD BB 3 Bright A_Chase
    TNT1 A 0 A_SpawnItem("HoofStep",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,128)
    PILD CC 3 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner",0,0,0,0,0,0,0,128)
	PILD DD 3 Bright A_Chase
    Loop
  Missile:  
    TNT1 A 0 A_Jump(100,"Pyroshots","CommanderSuperBlasts","TriplePyroshots")
    TNT1 A 0 A_Jump(65,"PurpleBFGBlasts","DoomsdayShot","VoidAuraPush")
  Normal:
    PILD EF 6 Bright A_FaceTarget 
    PILD G 0 A_Custommissile("CommanderAntiMatterMissile", 42, 0, 0) 
	PILD G 0 A_Custommissile("CommanderAntiMatterMissile", 42, 0, 6)
	PILD G 5 Bright A_Custommissile("CommanderAntiMatterMissile", 42, 0, -6)
    PILD IJ 6 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
    PILD K 0 A_Custommissile("CommanderAntiMatterMissile", 42, 0, 0)
	PILD K 0 A_Custommissile("CommanderAntiMatterMissile", 42, 0, 6)
	PILD K 5 Bright A_Custommissile("CommanderAntiMatterMissile", 42, 0, -6)
	TNT1 A 0 A_Jump(160,"Pyroshots","See")
    PILD MN 8 Bright A_FaceTarget 	
	PILD O 0 Bright A_Custommissile("CommanderAntiMatterMissile", 42, 0, 5)
	PILD O 0 Bright A_Custommissile("CommanderAntiMatterMissile", 42, 0, -5)
	PILD O 0 Bright A_Custommissile("CommanderAntiMatterMissile", 42, 0, 10)
	PILD O 0 Bright A_Custommissile("CommanderAntiMatterMissile", 42, 0, -10)
    PILD O 7 Bright A_Custommissile("CommanderAntiMatterMissile", 42, 0, 0)
	PILD IJ 6 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
    PILD K 0 A_Custommissile("CyberCommanderBFG9500Ball", 42, 0, 0)
	PILD K 0 A_Custommissile("CyberCommanderBFG9500Ball", 42, 0, 6)
	PILD K 5 Bright A_Custommissile("CyberCommanderBFG9500Ball", 42, 0, -6)
	TNT1 A 0 A_Jump(160,"Pyroshots","See")
    PILD MN 8 Bright A_FaceTarget 	
	PILD O 0 Bright A_Custommissile("CyberCommanderBFG9500Ball", 42, 0, 5)
	PILD O 0 Bright A_Custommissile("CyberCommanderBFG9500Ball", 42, 0, -5)
	PILD O 0 Bright A_Custommissile("CyberCommanderBFG9500Ball", 42, 0, 10)
	PILD O 0 Bright A_Custommissile("CyberCommanderBFG9500Ball", 42, 0, -10)
    PILD O 7 Bright A_Custommissile("CyberCommanderBFG9500Ball", 42, 0, 0)
    Goto See
  Teleport:
        PILD A 1 Bright A_UnSetShootable
	    PILD AAAAAAAAAAAAA 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	    PILD AAAAAAAAAA 1 A_FadeOut(0.1,0)
	    PILD A 2
	    PILD AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	    PILD AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA  0 A_Wander
        PILD A 1 A_PlayWeaponSound("boss/teleport")
	    PILD AAAAAAAAAAAAA 0 A_SpawnItemEx("CyberCommanderFlameSpawner")
	    PILD AAAAAAAAAA 1 A_FadeIn(0.1)
        PILD A 1 Bright A_SetShootable
		TNT1 A 0 A_Jump(100,"Jump")
      Goto See
   Jump:
	    PILD A 10 A_FaceTarget
		TNT1 A 0 ThrustThingZ(0,120,0,1)
		PILD B 5 A_FaceTarget
		PILD A 10 A_FaceTarget
		TNT1 A 0 A_Recoil(-50)
	Goto See
  CommanderSuperBlasts:
    PILD EF 6 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD G 0 Bright A_Custommissile("CyberCommanderBFG9500Ball", 42, 0, random(-6,6))
	PILD G 5 Bright A_Custommissile("CyberCommanderBFG9500Ball", 42, 0, 0)
    PILD IJ 6 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD G 0 Bright A_Custommissile("CyberCommanderBFG9500Ball", 42, 0, random(-6,6))
	PILD K 5 Bright A_Custommissile("CyberCommanderBFG9500Ball", 42, 0, 0)
	TNT1 A 0 A_Jump(128,"Pyroshots")
	TNT1 A 0 A_Jump(64,"See")
    PILD MN 8 Bright A_FaceTarget 	
	PILD O 0 Bright A_Custommissile("CyberCommanderBFG9500Ball", 42, 0, 4)
	PILD O 0 Bright A_Custommissile("CyberCommanderBFG9500Ball", 42, 0, -4)
	PILD O 0 Bright A_Custommissile("CyberCommanderBFG9500Ball", 42, 0, 12)
    PILD O 7 Bright A_Custommissile("CyberCommanderBFG9500Ball", 42, 0, -12)
	TNT1 A 0 A_Jump(100,"Teleport")
    Goto See
  Pyroshots:
    PILD MN 8 Bright A_FaceTarget 	
    PILD O 7 Bright A_Custommissile("CommanderPyroShot", 42, 0, 0)
	TNT1 A 0 A_Jump(64,"See")
    PILD NMN 8 Bright A_FaceTarget 	
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
    PILD O 7 Bright A_Custommissile("CommanderPyroShot", 42, 0, 0)	
	PILD MN 5 Bright A_FaceTarget 	
    PILD O 5 Bright A_Custommissile("CommanderPyroShot", 42, 0, 0)
	TNT1 A 0 A_Jump(64,"See")
    PILD NMN 5 Bright A_FaceTarget 	
    PILD O 5 Bright A_Custommissile("CommanderPyroShot", 42, 0, 0)	
	TNT1 A 0 A_Jump(64,"Normal","PurpleBFGBlasts","Teleport")	
	Goto See
  TriplePyroshots:
    PILD MN 8 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
    PILD NMN 9 Bright A_FaceTarget 	
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
    PILD O 7 Bright A_Custommissile("CommanderPyroShot", 42, 0, 0)
	TNT1 A 0 Bright A_CustomMissile("CommanderPyroShot",42,15,30)
	TNT1 A 0 Bright A_CustomMissile("CommanderPyroShot",42,15,-30)
	PILD MN 5 Bright A_FaceTarget 	
	TNT1 A 0 A_Jump(100,"Teleport")
	Goto See
  PurpleBFGBlasts:
	PILD M 20
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
    PILD MN 12 Bright A_FaceTarget 	
    PILD O 3 Bright A_Custommissile("PurpleBFG3500Ball", 42, 0, 0)
    PILD O 0 A_Custommissile("PurpleBFG3500Ball", 42, 0, -8)
    PILD O 6 Bright A_Custommissile("PurpleBFG3500Ball", 42, 0, 8)
    PILD EF 5 Bright A_FaceTarget 	
    PILD G 5 Bright A_Custommissile("PurpleBFG3500Ball", 42, 0, 0)
    PILD IJ 5 Bright A_FaceTarget 	
    PILD K 5 Bright A_Custommissile("PurpleBFG3500Ball", 42, 0, 0)	
	TNT1 A 0 A_Jump(128,"See")	
	TNT1 A 0 A_Jump(120,"Jump")
	Goto See
  DoomsdayShot:
    PILD E 12 Bright A_FaceTarget 
	TNT1 A 0 A_PlaySound("NemesisCyber/Taunt",2,1.0,0,ATTN_NONE)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD F 12  Bright A_FaceTarget 
    PILD G 0 A_Custommissile("CyberCommanderDoomsdayCannon", 42, 0, 0)
	PILD IJ 15 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD E 17 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD F 14  Bright A_FaceTarget 
    PILD G 0 A_Custommissile("CyberCommanderDoomsdayCannon", 42, 0, 0)
	PILD IJ 10 Bright A_FaceTarget
	TNT1 A 0 A_Jump(100,"Jump")
	Goto See
  VoidAuraPush:
    TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
    PILD G 10 Bright A_FaceTarget 
	TNT1 A 0 A_PlaySound("NemesisCyber/Taunt",2,1.0,0,ATTN_NONE)
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD G 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD E 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD E 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("DMBall/Impact",0,1.0,0,ATTN_NONE)
    PILD F 1 A_Custommissile("BlackDeathSequence")
	TNT1 A 0 Bright A_Explode(600,600,0,0,600)
	PILD F 5 Bright A_FaceTarget
	TNT1 A 0 Bright A_CustomMissile("CommanderPyroShot",63,15,0)
	TNT1 A 0 Bright A_CustomMissile("CommanderPyroShot",63,15,30)
	TNT1 A 0 Bright A_CustomMissile("CommanderPyroShot",63,15,60)
	TNT1 A 0 Bright A_CustomMissile("CommanderPyroShot",63,15,-30)
	TNT1 A 0 Bright A_CustomMissile("CommanderPyroShot",63,15,-60)
	PILD F 25 Bright A_FaceTarget
	TNT1 A 0 A_Jump(100,"Jump")
	Goto See
  MinionsSummon:
    TNT1 A 0 A_SetUserVar("user_Minionssummon",1)
    TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
    PILD G 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD G 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD E 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD E 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("CommTeleportFXSpawner",0,0,62)
	PILD F 1 A_SpawnItemEx("RandomVoidGodMinion",0,0,64,random(1,8),0,2,random(0,360),0,0)
	PILD F 20 Bright A_FaceTarget
	Goto See
  MinionsSummon2:
    TNT1 A 0 A_SetUserVar("user_Minionssummon2",1)
    TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
    PILD G 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD G 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD E 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD E 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("CommTeleportFXSpawner",0,0,62)
	PILD F 1 A_SpawnItemEx("RandomVoidGodMinion",0,0,64,random(1,8),0,2,random(0,360),0,0)
	PILD F 20 Bright A_FaceTarget
	Goto See
  MinionsSummon3:
    TNT1 A 0 A_SetUserVar("user_Minionssummon3",1)
    TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
    PILD G 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD G 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD E 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD E 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("CommTeleportFXSpawner",0,0,62)
	PILD F 1 A_SpawnItemEx("RandomVoidGodMinion",0,0,64,random(1,8),0,2,random(0,360),0,0)
	PILD F 20 Bright A_FaceTarget
	Goto See
  MinionsSummon4:
    TNT1 A 0 A_SetUserVar("user_Minionssummon4",1)
    TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
    PILD G 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD G 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD E 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD E 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("CommTeleportFXSpawner",0,0,62)
	PILD F 1 A_SpawnItemEx("RandomVoidGodMinion",0,0,64,random(1,8),0,2,random(0,360),0,0)
	PILD F 20 Bright A_FaceTarget
	Goto See
  MinionsSummon5:
    TNT1 A 0 A_SetUserVar("user_Minionssummon5",1)
    TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
    PILD G 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD G 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD E 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	PILD E 10 Bright A_FaceTarget 
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("CommTeleportFXSpawner",0,0,62)
	PILD F 1 A_SpawnItemEx("RandomVoidGodMinion",0,0,64,random(1,8),0,2,random(0,360),0,0)
	PILD F 20 Bright A_FaceTarget
	Goto See
  Melee:
    PILD EF 5 Bright A_FaceTarget 
    PILD G 4 Bright A_MeleeAttack 
    PILD FE 3 Bright A_FaceTarget 		
    Goto See
  Pain: 
    PILD Q 10 Bright A_Pain 
    Goto See 
  CheckPower:
	   TNT1 A 0 A_SetUserVar("user_CheckPower",1)
	   TNT1 A 0 A_Print("The God Of The Void Is Eager To Face You!")
       TNT1 A 0 A_JumpIfInTargetInventory("NexusStrength",1,"CheckPower2")
       Goto See
  CheckPower2:
       TNT1 A 0 A_JumpIfInTargetInventory("TerminatorDamage2",1,"TruePower")
       Goto See
  TruePower:
       TNT1 A 0 A_GiveInventory("GodFinalBattleResistanceGiver",1)
	   TNT1 A 0 A_GiveInventory("GodsFullImunityGiver3",1)
	   TNT1 A 0 A_GiveInventory("GodsFinalBattleShield3",1)
       Goto See
  Death: 
  XDeath:
	TNT1 A 0 Bright A_FaceTarget
	TNT1 A 0 Radius_Quake(3,35,0,32,8)
	TNT1 A 0 A_PlaySound("DMBall/Impact",0,1.0,0,ATTN_NONE)
    PILD F 0 A_Custommissile("BlackDeathSequence")
	TNT1 A 0 A_PlaySound("DoomsdayCannon/Boom",1)
    TNT1 A 0 A_SpawnItemEx("CyberCommanderDoomsdayExploder",0,0,0,0,0,0,0,SXF_TRANSFERPOINTERS,0)
    PILD QQQQQQQQQQ 2 Bright A_SpawnItemEx("ShadowVaporSpawnerDust",0,0,32,0,0,0,0,32)
    PILD QQQQQQQQQQ 3 Bright A_SpawnItemEx("PurpleDBFGBoltExp",0,0,32,0,0,0,0,32)
	PILD RR 1 A_SpawnItemEx("ShadowVaporSpawnerDust",0,0,32,0,0,0,0,32)
    PILD RR 1 A_SpawnItemEx("PurpleDBFGBoltExp",0,0,32,0,0,0,0,32)
    PILD SS 1 A_SpawnItemEx("ShadowVaporSpawnerDust",0,0,32,0,0,0,0,32)
    PILD SS 1 A_SpawnItemEx("PurpleDBFGBoltExp",0,0,32,0,0,0,0,32)
    PILD TT 1 A_SpawnItemEx("ShadowVaporSpawnerDust",0,0,32,0,0,0,0,32)
    PILD TT 1 A_SpawnItemEx("PurpleDBFGBoltExp",0,0,32,0,0,0,0,32)
	TNT1 A 0 ACS_NamedExecuteAlways("SetDefaultSky")
	TNT1 A 0 A_PlaySound("DMBall/Impact",0,1.0,0,ATTN_NONE)
    PILD F 0 A_Custommissile("BlackDeathSequence")
	TNT1 A 0 A_NoBlocking
    TNT1 A 0 Bright A_Explode(650,600,0,0,600)
	TNT1 A 0 A_SpawnItemEx("BlackHole Generator",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("CommanderExpMinigunUpgrade",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("Terminator",0,0,8,0,0,0,0,0,192)
	TNT1 A 0 A_SpawnItemEx("CommanderDTShotgunUpgrade",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("CommanderDevUpgrade",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("CommanderD-BFGUpgrade",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("Demon Tech Shotgun",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("Demon Tech Devastator",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("PyroCannon",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("VoidRune",0,0,64,random(1,8),0,2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("NexusHighJumpRune",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("NexusStrengthRune",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("VoidSoul",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("VoidSoul",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("VoidSoul",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("VoidSoul",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("VoidSoul",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("RandomSuperPowerUp",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("RandomSuperPowerUp",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	PILD UV 8
	PILD WXY 6
	TNT1 A 0 A_Print("SUPREME GOD SLAIN!")
	PILD Z -1 A_KillMaster
	Stop
   Raise:
    Stop
  } 
}

Actor INFDarkVoidGod : DarkVoidGod
{
Tag "\c[u9]Azathoth The Dark Void God\c-"
States
{
  Spawn:
    TNT1 A 0
    TNT1 A 0 A_Jump(160,"Remove")
	TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("TrueLegendaryRuneSpawnCheck") == 2,1)
	Goto Remove
	Idle:
	   TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	   TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
       PILD A 5 A_Look 
	   Loop
  Remove:
	TNT1 A 1
	TNT1 A 0 A_SpawnItemEx("Cyberdemon",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	TNT1 A 0 A_ChangeFlag("COUNTKILL", FALSE)
	TNT1 A 0
	Stop
	}
}

Actor PMCDarkVoidGod : DarkVoidGod
{
Tag "\c[u9]Azathoth The Dark Void God\c-"
States
{
  Spawn:
    TNT1 A 0
	TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("TrueLegendaryRuneSpawnCheck") == 2,1)
	Goto Remove
	Idle:
	   TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	   TNT1 A 0 A_SpawnItem("CyberCommanderFlameSpawner",0,0,0,0)
       PILD A 5 A_Look 
	   Loop
  Remove:
	TNT1 A 1
	TNT1 A 0 A_SpawnItemEx("Cyberdemon",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	TNT1 A 0 A_ChangeFlag("COUNTKILL", FALSE)
	TNT1 A 0
	Stop
	}
}

ACTOR RandomVoidGodMinion : RandomSpawner
{
DropItem "DarkVoidBaronMinion", 256, 1
DropItem "VoidReaperMinion", 256, 1
DropItem "TrueLegendaryKriegerVoidPower", 256, 1
DropItem "TrueLegendaryDoomguyVoidPower", 256, 1
+NOBLOCKMONST
+DONTHARMSPECIES
+DONTHARMCLASS
}

Actor VoidReaperMinion : VoidReaper
{
DropItem "BossLifeEssence" 256 25
DropItem "BossArmorBonusMax" 256 1
+NOBLOCKMONST
States
	{
	Death:
    TNT1 A 0 A_StopSound(CHAN_WEAPON)
	DATH K 5
	DATH L 6 A_Scream
	DATH MNOP 5
	TNT1 A 0 A_Noblocking
	TNT1 A 0 A_SpawnItem("BodyCrash",0,0,0,0)
	DATH QRSTU 5 
	DATH V -1
	Stop
	}
}

ACTOR DarkVoidBaronMinion : DarkVoidBaron
{ 
DropItem "BossLifeEssence" 256 25
DropItem "BossArmorBonusMax" 256 1
+NOBLOCKMONST
}