
Actor DivineDoomguyBase : ActuallyGoodLegendaryDoomguy
{
//Creator: Nolram
//Origin: Infinity Gods (Originally Doomguy from Nexus)
//Sprite: DLD0
//Title: "Divine God Doomguy" 
  Health 9750
  +BRIGHT
  DamageFactor 0.15
  Speed 65
  BloodColor "White"
+LookAllAround
+DONTHARMSPECIES
-NODROPOFF
  Painchance 4
  Species "Divine"
  DamageFactor "Ice", 0.035
  Damagefactor "Divine", 0.0
  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
  DamageFactor "Legendary", 0.2
  DamageFactor "LegendaryPlayer", 0.2
  DamageFactor "LegendaryGuru", 0.1
  DamageFactor "LegendaryGuruPlayer", 0.1
  DamageFactor "PlayerNemesisPlasma", 0.165
  DamageFactor "Cursed", 0.135
  DamageFactor "Hackroid", 0.2
  DamageFactor "TrueLegendaryDamage", 0.2
  DamageFactor "TrueLegendaryPlayer", 0.2
  DropItem "LegAmmoSphere" 256
  DropItem "LegendaryPowerShard" 200
  DropItem "LegendaryRune" 228
  DropItem "ModdedBackPack" 256
  DropItem "LDemonAmmo" 256 200
  DropItem "TrueLegendaryBFGUpgrade" 100 1
  DropItem "TrueLegendaryRune" 90 1
  DropItem "TrueLegTimeFreezeSphere" 100 1
  DropItem "TrueLegAmmoSphere" 128 1
  DropItem "LegendaryFusionCell" 55 1
  SeeSound "LDoomguy/Sight"
  ActiveSound "LDoomguy/Active"
  PainSound "LDoomguy/Pain"
  DeathSound "legdoomguy/death"
  Obituary "%o was sent a ticket back to hell by the \c[d8]Divine God Doomguy\c-."
  Tag "\c[d8]Divine God Doomguy\c-"
  var int user_music;
  var int user_missile;
  var int user_powershard;
  var int user_powershardlimit;
  var int user_powersphere;
  var int user_resistancebufflimit;
  var int user_resistancebuff;
  var int user_skullofpower;
  var int user_infammo;
  var int user_bfg;
  States
  {
  Spawn:
	DLD0 A 10 A_Look
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	Loop
	  See:
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,1750,1011)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_JumpIfInventory("MarineKilled",1,"Taunt")
	TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 AA 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 BB 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("FootStep")
	TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 CC 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 DD 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("FootStep")
	TNT1 A 0 A_Jump(25,"Missile")
	TNT1 A 0 A_Jump(64,"MinesSpam")
	TNT1 A 0 A_Jump(25,"Jump")
	TNT1 A 0 A_Jump(80,"Rush")
	Loop
	Rush:
	TNT1 A 0 A_JumpIfInventory("MarineKilled",1,"Taunt")
	TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 A 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 A 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 B 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 B 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("FootStep")
	TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 C 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 C 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 D 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 D 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("FootStep")
	TNT1 A 0 A_Jump(25,"Missile")
	TNT1 A 0 A_Jump(50,"See")
	TNT1 A 0 A_Jump(35,"Jump")
	Loop
	Strafing:
	TNT1 A 0 A_JumpIfInventory("MarineKilled",1,"Taunt")
	TNT1 A 0 A_SpawnItemEx("FootStep")
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	DLD0 AA 3 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	DLD0 BB 3 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("FootStep")
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	DLD0 CC 3 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	DLD0 DD 3 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	Goto See
    Taunt:
	TNT1 A 0 A_PlaySound("legdoomguy/rekt",2,0.8,0,ATTN_NONE)
	TNT1 A 0 A_TakeInventory("MarineKilled",1)
	Goto See
	Jump:
	    TNT1 A 0 A_Jump(120,"HighJump")
		TNT1 A 0 ThrustThingZ(0,70,0,1)
	    DLD0 A 10 A_FaceTarget
		DLD0 A 5 A_FaceTarget
		DLD0 A 10 A_FaceTarget
		TNT1 A 0 A_Recoil(-50)
		GoTo See
	HighJump:
	    TNT1 A 0 A_ChangeFlag(Nogravity,1)
	    DLD0 A 10 A_FaceTarget
		TNT1 A 0 ThrustThingZ(0,100,0,1)
		DLD0 A 5 A_FaceTarget
		DLD0 A 10 A_FaceTarget
		TNT1 A 0 A_Recoil(-50)
		GoTo See
		Missile:
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_MonsterRefire(0,"See")
	TNT1 A 0 A_Jump(64,2)
	TNT1 A 0 A_JumpIfHealthLower(1750,"TryShard2")
	TNT1 A 0 A_Jump(32,"AmmoSphere","PowerSphere","SkullOfPower")
	TNT1 A 0 A_Jump(35,"Jump")
	MissileContinue:
	TNT1 A 0 A_JumpIfTargetInLOS("FarRange",360,JLOSF_CLOSENOJUMP|JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,0,1000)
	TNT1 A 0 A_JumpIfTargetInLOS("LongRange",360,JLOSF_CLOSENOJUMP|JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,0,750)
	TNT1 A 0 A_JumpIfTargetInLOS("NearRange",360,JLOSF_CLOSENOJUMP|JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,0,500)
	TNT1 A 0 A_JumpIfTargetInLOS("CloseRange",360,JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,500,0)
	Goto See
  FarRange:
	TNT1 A 0 A_Jump(256,"DivineMiniBall","DivineSuperBall","DivineCannonBall","DivineminiballsSpam","DivideCometsSpam","DivineLazer","DivineMachinegun")
	Goto See
  LongRange:
	TNT1 A 0 A_Jump(200,"DivineMiniBall","DivineRifle","DivineLazer","DivineMachinegun","DivineCannonBall","DivineminiballsSpam","DivideCometsSpam")
	TNT1 A 0 A_Jump(256,"DivineSuperBall","MinesSpam","DivideCometsSpam","DivineCannonBall","DivideCometsSpam","DivineMiniBall","DivineminiballsSpam")
	Goto See
  NearRange:	
	TNT1 A 0 A_Jump(200,"DivineminiballsSpam","DivineRifle","DivineRifle","DivineSaberAlt","DivineCannonBall","DivineLazer")
	TNT1 A 0 A_Jump(256,"DivineSuperBall","MinesSpam","DivineCannonBall","DivineminiballsSpam")
	Goto See
  CloseRange:
	TNT1 A 0 A_Jump(128,"DivideShotgunSpam","DivideQuadShot")
	TNT1 A 0 A_Jump(200,"DivineRifle","DivineMachinegun","DivineSaberAlt","DivineCannonBall","DivineminiballsSpam","DivineSaberAlt2")
	TNT1 A 0 A_Jump(256,"DivineMiniBall","MinesSpam","DivineCannonBall","DivineminiballsSpam","DivideCometsSpam")
	Goto See
  TryShard2:
	TNT1 A 0 A_Jump(128,"TryResistance2")
	TNT1 A 0 A_JumpIf(user_powershardlimit >= 4,"TryResistance2")
	TNT1 A 0 A_JumpIf(user_powershard == 1,"TryResistance2")
	Goto PowerShard
  TryResistance2:
	TNT1 A 0 A_JumpIf(user_resistancebufflimit >= 4,"MissileContinue")
	TNT1 A 0 A_JumpIf(user_resistancebuff == 1,"MissileContinue")
	Goto ResistanceBuff
  AmmoSphere:
	TNT1 A 0 A_JumpIf(user_infammo == 1,"MissileContinue")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 E 10
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 ACS_NamedExecuteAlways("EnemyInfiniteAmmo",0)
	TNT1 A 0 A_PlaySound("legammo/use",6,1.0,0,0.4)
	TNT1 A 0 A_PlaySound("LDoomguy/Taunt",2,1.0,0,0.4)
	Goto See
   SkullOfPower:
	TNT1 A 0 A_JumpIf(user_skullofpower == 1,"MissileContinue")
	TNT1 A 0 A_JumpIfHealthLower(1000,2)
	TNT1 A 0 A_Jump(256,"MissileContinue")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 E 10
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_GiveInventory("LegDoomguySkullOfPower")
	TNT1 A 0 ACS_NamedExecuteAlways("LegDoomguySkullOfPower",0)
	TNT1 A 0 A_PlaySound("legdoomguy/quaddmg",7,1.0,0,0.4)
	TNT1 A 0 A_PlaySound("soterror/use",6,1.0,0,0.4)
	TNT1 A 0 A_PlaySound("LDoomguy/Taunt",2,1.0,0,0.4)
	Goto See
  PowerSphere:
	TNT1 A 0 A_JumpIf(user_powersphere == 1,"MissileContinue")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 E 10
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_ChangeFlag("ALWAYSFAST",1)
	TNT1 A 0 ACS_NamedExecuteAlways("LegDoomguyPowerSphere",0)
	TNT1 A 0 A_PlaySound("legpowersphere/use",6,1.0,0,0.4)
	TNT1 A 0 A_PlaySound("LDoomguy/Taunt",2,1.0,0,0.4)
	Goto See
  PowerShard:
	TNT1 A 0 A_JumpIf(user_powershardlimit >= 4,"See")
	TNT1 A 0 A_SetUserVar(user_powershardlimit,user_powershardlimit+1)
	TNT1 A 0 A_JumpIf(user_powershard == 1,"See")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 E 10
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 ACS_NamedExecuteAlways("LegDoomguyPowerShard",0)
	TNT1 A 0 A_PlaySound("legendary/defense",6,1.0,0,0.4)
	TNT1 A 0 A_PlaySound("LDoomguy/Taunt",2,1.0,0,0.4)
	Goto See
  ResistanceBuff:
	TNT1 A 0 A_JumpIf(user_resistancebufflimit >= 4,"See")
	TNT1 A 0 A_SetUserVar(user_resistancebufflimit,user_resistancebufflimit+1)
	TNT1 A 0 A_JumpIf(user_resistancebuff == 1,"See")
	TNT1 A 0 A_PlaySound("Saber/Pickup",7,1.0,0,0.5)
	DLD2 E 10
	TNT1 A 0 A_PlaySound("Saber/Buff",1,1.0,0,0.5)
	TNT1 A 0 A_PlaySound("Saber/Resistance",6,1.0,0,0.5)
	TNT1 A 0 A_PlaySound("LDoomguy/Taunt",2,1.0,0,0.4)
	TNT1 A 0 A_GiveInventory("LegDoomguySaberResistance")
	TNT1 A 0 ACS_NamedExecuteAlways("LegDoomguyResistanceBuff",0)
	DLD2 F 20
	Goto See
	DivineSaberAlt:
	TNT1 A 0 A_PlaySound("Saber/Pickup",7,1.0,0,0.5)
	DLD2 E 10
	TNT1 A 0 A_PlaySound("Saber/Swing",1)
	TNT1 A 0 A_PlaySound("Saber/AltSwing",6,1.0,0,0.5)
	DLD2 FF 6 Fast A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	DLD2 F 8 Fast A_CustomMissile("NemesisExileSkullShot",32)
	TNT1 A 0 A_PlaySound("Saber/Swing",1)
	TNT1 A 0 A_PlaySound("Saber/AltSwing",6,1.0,0,0.5)
	DLD2 FF 6 Fast A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	DLD2 F 8 Fast A_CustomMissile("NemesisExileSkullShot",32)
	TNT1 A 0 A_PlaySound("Saber/Swing",1)
	TNT1 A 0 A_PlaySound("Saber/AltSwing",6,1.0,0,0.5)
	DLD2 FF 6 Fast A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	DLD2 F 12 Fast A_CustomMissile("NemesisExileSkullShot",32)
	TNT1 A 0 A_PlaySound("weapons/LMGReload3",7,1.0,0,0.5)
	DivineSaberAlt2:
	TNT1 A 0 A_PlaySound("Saber/Pickup",7,1.0,0,0.5)
	DLD2 E 10
	TNT1 A 0 A_PlaySound("Saber/Swing",1)
	TNT1 A 0 A_PlaySound("Saber/AltSwing",6,1.0,0,0.5)
	DLD2 FF 4 Fast A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	DLD2 F 3 Fast A_CustomMissile("ActualDarkMatter",32,0,6)
	DLD2 F 3 Fast A_CustomMissile("ActualDarkMatter",32,0,3)
	DLD2 F 3 Fast A_CustomMissile("ActualDarkMatter",32,0,0)
	TNT1 A 0 A_PlaySound("Saber/Swing",1)
	TNT1 A 0 A_PlaySound("Saber/AltSwing",6,1.0,0,0.5)
	DLD2 FF 6 Fast A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	DLD2 F 3 Fast A_CustomMissile("ActualDarkMatter",32,0,-6)
	DLD2 F 3 Fast A_CustomMissile("ActualDarkMatter",32,0,-3)
	DLD2 F 3 Fast A_CustomMissile("ActualDarkMatter",32,0,0)
	TNT1 A 0 A_PlaySound("Saber/Swing",1)
	TNT1 A 0 A_PlaySound("Saber/AltSwing",6,1.0,0,0.5)
	DLD2 FF 6 Fast A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	DLD2 F 3 Fast A_CustomMissile("ActualDarkMatter",32,0,6)
	DLD2 F 3 Fast A_CustomMissile("ActualDarkMatter",32,0,3)
	DLD2 F 3 Fast A_CustomMissile("ActualDarkMatter",32,0,0)
	TNT1 A 0 A_PlaySound("weapons/LMGReload3",7,1.0,0,0.5)
	Goto See
	DivideQuadShot:
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 10 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("weapons/qsgfire")
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 15 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("weapons/qsgopen")
		DLD0 E 4 A_PlaySound("weapons/qsgshellslide")	
		DLD0 E 4 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		DLD0 E 6 A_PlaySound("weapons/qsgclose")	
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		Goto See
	DivineMiniBall:
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 12 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 4 A_PlaySound("legendarycannon/up")
		DLD0 E 6 Bright A_CustomMissile("MiniNemesisBFGBall", 30, 0, 0)
		DLD0 E 15 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		DLD0 E 4 A_PlaySound("legendarycannon/up")
		DLD0 E 6 Bright A_CustomMissile("MiniNemesisBFGBall", 30, 0, 0)
		DLD0 E 15 A_FaceTarget
		DLD0 E 4 A_PlaySound("legendarycannon/up")
		DLD0 E 6 Bright A_CustomMissile("MiniNemesisBFGBall", 30, 0, 0)
		DLD0 E 15 A_FaceTarget
		DLD0 E 4 A_PlaySound("legendarycannon/up")
		DLD0 E 6 Bright A_CustomMissile("MiniNemesisBFGBall", 30, 0, 0)
		DLD0 E 15 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		DLD0 E 4 A_PlaySound("legendarycannon/up")
		DLD0 E 6 Bright A_CustomMissile("MiniNemesisBFGBall", 30, 0, 0)
		DLD0 E 15 A_FaceTarget
		DLD0 E 6 Bright A_CustomMissile("MiniNemesisBFGBall", 30, 0, 0)
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		DLD0 E 10 A_PlaySound("legendarycannon/up")
		TNT1 A 0 A_Jump(30,"MinesSpam")
		TNT1 A 0 A_Jump(15,"Jump")
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		Goto see
    DivineSuperBall:
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 12 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 75 A_PlaySound("NemesisBFG/charge",1)	
		DLD0 E 6 Bright A_CustomMissile("NemesisGuruBall", 30, 0, 0)
		DLD0 E 15 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_Jump(30,"MinesSpam")
		TNT1 A 0 A_Jump(15,"Jump")
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		Goto see
     DivineCannonBall:
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 12 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 35 A_FaceTarget
		DLD0 E 5 A_PlaySound("NemesisCannon/BigLaser",CHAN_WEAPON)	
		DLD0 E 6 Bright A_CustomMissile("NemesisZombieCannonIonBeam", 30, 0, 0)
		DLD0 E 15 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_Jump(30,"DivineRifle")
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		Goto see
	DivideShotgunSpam:
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		TNT1 A 0 A_Jump(30,"DivineRifle")
		TNT1 A 0 A_Jump(15,"Jump")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		Goto See
	DivideCometsSpam:
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisTormentorComet",Random(28,34),0,Random(6,-6),0)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisTormentorComet",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisTormentorComet",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisTormentorComet",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisTormentorComet",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisTormentorComet",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisTormentorComet",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		TNT1 A 0 A_Jump(30,"DivineRifle")
		TNT1 A 0 A_Jump(25,"Jump")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		Goto See
	DivineminiballsSpam:
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 16 Bright A_CustomMissile("MiniNemesisBFGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 16 Bright A_CustomMissile("MiniNemesisBFGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		DLD0 E 16 Bright A_CustomMissile("MiniNemesisBFGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 16 Bright A_CustomMissile("MiniNemesisBFGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 16 Bright A_CustomMissile("MiniNemesisBFGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		Goto See
	MinesSpam:
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 E 6 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	    DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,10,2,15)
	    DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,-10,2,15)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD2 E 8 A_FaceTarget
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,10,2,15)
	    DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,-10,2,15)
		DLD2 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD2 E 8 A_FaceTarget
		TNT1 A 0 Bright A_CustomMissile("MiniNemesisBFGBall", 30, 0, 0)
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,10,2,15)
	    DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,-10,2,15)
		DLD2 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD2 E 8 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,10,2,15)
	    DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,-10,2,15)
		DLD2 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD2 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		TNT1 A 0 A_Jump(30,"DivineRifle")
		TNT1 A 0 A_Jump(35,"Jump")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		Goto See
	DivineRifle:
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 A_FaceTarget
	    TNT1 A 0 A_CustomMissile("NemesisRifleShotEnemy",30,-16,random(-5,5))
	    DLD0 E 3 Bright A_CustomMissile("NemesisRifleShotEnemy",30,16,random(-5,5))
	    TNT1 A 0 A_FaceTarget
	    TNT1 A 0 A_CustomMissile("NemesisRifleShotEnemy",30,-16,random(-4,4))
	    DLD0 E 4 Bright A_CustomMissile("NemesisRifleShotEnemy",30,16,random(-4,4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_Jump(10,"MinesSpam")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		Goto DivineRifle+3
		DivineLazer:
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 A_FaceTarget
	    TNT1 A 0 A_CustomMissile("NemesisZombieCannonLaser",30,-16,random(-5,5))
		TNT1 A 0 A_PlaySound("NemesisCannon/Laser",1)
	    DLD0 E 1 Bright A_CustomMissile("NemesisZombieCannonLaser",30,16,random(-5,5))
		DLD0 E 1 Bright A_CustomMissile("NemesisZombieCannonLaser",30,16,random(-4,4))
		DLD0 E 1 Bright A_CustomMissile("NemesisZombieCannonLaser",30,16,random(-4,4))
		DLD0 E 1 Bright A_CustomMissile("NemesisZombieCannonLaser",30,16,random(-4,4))
	    TNT1 A 0 A_FaceTarget
		TNT1 A 0 A_PlaySound("NemesisCannon/Laser",1)
	    TNT1 A 0 A_CustomMissile("NemesisZombieCannonLaser",30,-16,random(-4,4))
	    DLD0 E 1 Bright A_CustomMissile("NemesisZombieCannonLaser",30,16,random(-4,4))
		DLD0 E 1 Bright A_CustomMissile("NemesisZombieCannonLaser",30,16,random(-4,4))
		DLD0 E 1 Bright A_CustomMissile("NemesisZombieCannonLaser",30,16,random(-4,4))
		DLD0 E 1 Bright A_CustomMissile("NemesisZombieCannonLaser",30,16,random(-4,4))
		TNT1 A 0 A_PlaySound("NemesisCannon/Laser",1)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_Jump(10,"MinesSpam")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		Goto DivineLazer+3
	DivineMachinegun:
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 A_FaceTarget
	    TNT1 A 0 A_CustomMissile("NemesisZombieCannonLaser",30,-16,random(-5,5))
		VCMS F 0 A_PlaySoundEx("weapons/LMGFire","Weapon")
	    DLD0 E 2 Bright A_CustomMissile("NemesisRebelDMGBall",30,16,random(-5,5))
		VCMS F 0 A_PlaySoundEx("weapons/LMGFire","Weapon")
		DLD0 E 2 Bright A_CustomMissile("NemesisRebelDMGBall",30,16,random(-4,4))
		VCMS F 0 A_PlaySoundEx("weapons/LMGFire","Weapon")
		DLD0 E 2 Bright A_CustomMissile("NemesisRebelDMGBall",30,16,random(-4,4))
		DLD0 E 2 Bright A_CustomMissile("NemesisRebelDMGBall",30,16,random(-4,4))
	    TNT1 A 0 A_FaceTarget
		VCMS F 0 A_PlaySoundEx("weapons/LMGFire","Weapon")
	    DLD0 E 2 Bright A_CustomMissile("NemesisRebelDMGBall",30,16,random(-4,4))
		VCMS F 0 A_PlaySoundEx("weapons/LMGFire","Weapon")
		DLD0 E 2 Bright A_CustomMissile("NemesisRebelDMGBall",30,16,random(-4,4))
		VCMS F 0 A_PlaySoundEx("weapons/LMGFire","Weapon")
		DLD0 E 2 Bright A_CustomMissile("NemesisRebelDMGBall",30,16,random(-4,4))
		VCMS F 0 A_PlaySoundEx("weapons/LMGFire","Weapon")
		DLD0 E 2 Bright A_CustomMissile("NemesisRebelDMGBall",30,16,random(-4,4))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_Jump(30,"Jump")
		TNT1 A 0 A_Jump(10,"MinesSpam")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		Goto DivineMachinegun+3
	  Pain:
	TNT1 A 0 A_JumpIfHealthLower(1000,"TryShard")
	TNT1 A 0 A_Jump(32,"PowerShard","ResistanceBuff")
	PainContinue:
	DLD0 G 3
	DLD0 G 3 A_Pain
	TNT1 A 0 A_Jump(192,"Missile")
	Goto See
	TryShard:
	TNT1 A 0 A_Jump(128,"TryResistance")
	TNT1 A 0 A_JumpIf(user_powershardlimit >= 4,"TryResistance")
	TNT1 A 0 A_JumpIf(user_powershard == 1,"TryResistance")
	Goto PowerShard
	TryResistance:
	TNT1 A 0 A_JumpIf(user_resistancebufflimit >= 4,"PainContinue")
	TNT1 A 0 A_JumpIf(user_resistancebuff == 1,"PainContinue")
	Goto ResistanceBuff
    Death:
    DLD0 G 3 A_Pain
	DLD0 G 10
	DLD0 G 10 A_SpawnItemEx("NemesisLightning")
	DLD0 G 10 A_SpawnItemEx("RedLightning")
	DLD0 G 20 A_SpawnItemEx("NemesisLightning")
	DLD0 G 20 A_SpawnItemEx("RedLightning")
	DLD0 G 15 A_SpawnItemEx("RedLightning")
	DLD0 G 8 A_SpawnItemEx("NemesisLightning")
	DLD0 G 6 A_SpawnItemEx("WarpedFXGen")
	DLD0 G 6 A_SpawnItemEx("WarpedFXGen")
	TNT1 A 0 A_SpawnItemEx("DivineDoomguyBloodlusted",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	Stop
	}
}

Actor DivineDoomguy : DivineDoomguyBase
{
Health 5750
Painchance 5
+NoGravity
Tag "\c[d8]Divine God Doomguy (Suppressed)\c-"
DamageFactor 0.25
  DamageFactor "Legendary", 0.2
  DamageFactor "LegendaryPlayer", 0.2
  DamageFactor "LegendaryGuru", 0.1
  DamageFactor "LegendaryGuruPlayer", 0.1
  DamageFactor "PlayerNemesisPlasma", 0.25
  DamageFactor "TrueLegendaryDamage", 0.3
  DamageFactor "TrueLegendaryPlayer", 0.3
  States
  {
	  See:
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,1749,1011)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_JumpIfInventory("MarineKilled",1,"Taunt")
	TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 AA 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 BB 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("FootStep")
	TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 CC 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 DD 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("FootStep")
	TNT1 A 0 A_Jump(64,"MinesSpam")
	TNT1 A 0 A_Jump(80,"Rush")
	Loop
  	Missile:
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_MonsterRefire(0,"See")
	TNT1 A 0 A_Jump(64,2)
	TNT1 A 0 A_Jump(32,"AmmoSphere","PowerSphere","SkullOfPower")
	MissileContinue:
	TNT1 A 0 A_JumpIfTargetInLOS("FarRange",360,JLOSF_CLOSENOJUMP|JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,0,1000)
	TNT1 A 0 A_JumpIfTargetInLOS("LongRange",360,JLOSF_CLOSENOJUMP|JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,0,750)
	TNT1 A 0 A_JumpIfTargetInLOS("NearRange",360,JLOSF_CLOSENOJUMP|JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,0,500)
	TNT1 A 0 A_JumpIfTargetInLOS("CloseRange",360,JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,500,0)
	Goto See
	Death:
	TNT1 A 0 A_JumpIfInTargetInventory("NexusStrength",1,"CheckStrength1")
	TNT1 A 0 A_JumpIfInTargetInventory("TerminatorDamage2",1,"CheckStrength1")
	TNT1 A 0 A_JumpIfInTargetInventory("NexusSpread",1,"CheckStrength1")
	DLD0 G 3
	DLD0 G 15 A_Pain
	TNT1 A 0 A_SpawnItemEx("NemesisLightning")
	TNT1 A 0 A_SpawnItemEx("BackPack",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
    TNT1 A 0 A_SpawnItemEx("TearofEternity",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("DivinePowerSphere",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_Print("You're still too weak To see the true power of the Divine God Doomguy!")
	Stop
    TrueDeath:
	DLD0 G 3
	DLD0 G 15 A_Pain
	TNT1 A 0 A_SpawnItemEx("NemesisLightning")
	TNT1 A 0 A_SpawnItemEx("DivineDoomguyBase",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	Stop
	CheckStrength1: 
	TNT1 A 0 A_JumpIfInTargetInventory("NexusStrength",1,"CheckStrength2")
	TNT1 A 0 A_Jump(256,"TrueDeath")
	Goto TrueDeath
	CheckStrength2: 
	TNT1 A 0 A_JumpIfInTargetInventory("NexusResistance",1,"CheckStrength3")
	TNT1 A 0 A_Jump(256,"TrueDeath")
	Goto TrueDeath
	CheckStrength3: 
	TNT1 A 0 A_JumpIfInTargetInventory("NexusSpread",1,"ZamasuTransformation")
	TNT1 A 0 A_Jump(256,"TrueDeath")
	Goto TrueDeath
	ZamasuTransformation:
	TNT1 A 0 A_Jump(125,"TrueDeath")
	DLD0 G 3
	DLD0 G 15 A_Pain
	TNT1 A 0 A_SpawnItemEx("NemesisLightning")
	DLD0 G 15 A_SpawnItemEx("NemesisCyberFlameSpawner3")
	TNT1 A 0 A_Print("Lose All Your Hope!")
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	DLD0 G 15 A_SpawnItemEx("NemesisCyberFlameSpawner3")
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	DLD0 G 15 A_SpawnItemEx("NemesisCyberFlameSpawner3")
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	DLD0 G 15 A_SpawnItemEx("NemesisCyberFlameSpawner3")
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	DLD0 G 15 A_SpawnItemEx("NemesisCyberFlameSpawner3")
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	DLD0 G 15 A_SpawnItemEx("NemesisCyberFlameSpawner3")
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	DLD0 G 15 A_SpawnItemEx("NemesisCyberFlameSpawner3")
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	DLD0 G 15 A_SpawnItemEx("NemesisCyberFlameSpawner3")
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	DLD0 G 15 A_SpawnItemEx("NemesisCyberFlameSpawner3")
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	TNT1 A 0 A_PlaySound("Nemesis/BallExplode",1,1.0,0,0.2)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisHugeExplosion")
	TNT1 A 0 A_SpawnItemEx("VexedNemesisAltBallEx")
    TNT1 A 0 A_Quake(9,100,0,2000,0)
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAA 2 A_Explode(1000,3000,XF_NOTMISSILE,0,6000)
	TNT1 A 0 A_SpawnItemEx("ZamasuGodDoomguy",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	Stop
	}
}


Actor DivineDoomguyBloodlusted : DivineDoomguyBase 
{
Health 14750
Painchance 1
Speed 80
-NODROPOFF
Tag "\c[d8]Divine God Doomguy\c- \c[g5](Bloodlusted)\c-"
DropItem "Legendaryrune" 256
DropItem "TrueLegendaryrune" 256
DamageFactor 0.12
DamageFactor "Legendary", 0.1
DamageFactor "LegendaryPlayer", 0.1
DamageFactor "LegendaryGuru", 0.05
DamageFactor "LegendaryGuruPlayer", 0.05
DamageFactor "PlayerNemesisPlasma", 0.13
DamageFactor "TrueLegendaryDamage", 0.135
DamageFactor "TrueLegendaryPlayer", 0.135
Translation "0:255=%[0.00,0.00,0.00]:[2.00,1.00,1.00]"
  States
  {
  Spawn:
	DLD0 A 10 A_Look
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
	Loop
	  See:
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,1751,1011)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_JumpIfInventory("MarineKilled",1,"Taunt")
	TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 AA 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 BB 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("FootStep")
	TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 CC 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 DD 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("FootStep")
	TNT1 A 0 A_Jump(40,"Missile")
	TNT1 A 0 A_Jump(64,"MinesSpam")
	TNT1 A 0 A_Jump(80,"Rush")
	Loop
	Rush:
	TNT1 A 0 A_JumpIfInventory("MarineKilled",1,"Taunt")
	TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
	TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 A 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 A 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 B 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 B 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("FootStep")
	TNT1 A 0 A_JumpIfTargetInLOS("Strafing")
	TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 C 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 C 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 D 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	DLD0 D 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("FootStep")
	TNT1 A 0 A_Jump(45,"Missile")
	TNT1 A 0 A_Jump(80,"See")
	TNT1 A 0 A_Jump(35,"Jump")
	Loop
	  FarRange:
	TNT1 A 0 A_Jump(256,"DivineMiniBall","BloodlustedDivineSuperBall","BloodlustedDivineminiballsSpam","BloodlustedDivideCometsSpam","BloodlustedDivineMachinegun")
	Goto See
  LongRange:
	TNT1 A 0 A_Jump(200,"BloodlustedDivineRifle","BloodlustedDivineMachinegun","DivineCannonBall","BloodlustedDivineminiballsSpam","BloodlustedDivideCometsSpam")
	TNT1 A 0 A_Jump(256,"BloodlustedDivineSuperBall","BloodlustedMinesSpam","BloodlustedDivideCometsSpam","DivineCannonBall","BloodlustedDivideCometsSpam","BloodlustedDivineminiballsSpam")
	Goto See
  NearRange:	
	TNT1 A 0 A_Jump(200,"BloodlustedDivineminiballsSpam","BloodlustedDivineRifle","DivineCannonBall","BloodlustedDivineMachinegun")
	TNT1 A 0 A_Jump(256,"BloodlustedDivineSuperBall","BloodlustedMinesSpam","DivineCannonBall","BloodlustedDivineminiballsSpam")
	Goto See
  CloseRange:
	TNT1 A 0 A_Jump(128,"BloodlustedDivideShotgunSpam")
	TNT1 A 0 A_Jump(200,"BloodlustedDivineRifle","BloodlustedDivineMachinegun","DivineCannonBall","BloodlustedDivideCometsSpam","DivineSaberAlt2")
	TNT1 A 0 A_Jump(256,"BloodlustedDivineminiballsSpam","BloodlustedMinesSpam","DivineCannonBall","BloodlustedDivideCometsSpam","BloodlustedDivideCometsSpam")
	Goto See
	AngryJump:
	    TNT1 A 0 A_Jump(120,"AngryHighJump")
	    DLD0 A 5 A_FaceTarget
		TNT1 A 0 A_Recoil(-50)
		DLD0 A 5 A_FaceTarget
		TNT1 A 0 ThrustThingZ(0,70,0,1)
		DLD0 A 5 A_FaceTarget
		GoTo See
	AngryHighJump:
	    DLD0 A 5 A_FaceTarget
		TNT1 A 0 A_Recoil(-50)
		DLD0 A 5 A_FaceTarget
		TNT1 A 0 ThrustThingZ(0,110,0,1)
		DLD0 A 5 A_FaceTarget
		GoTo See
	BloodlustedDivideShotgunSpam:
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 3 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		DLD0 E 4 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 5 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 4 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		DLD0 E 5 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		DLD0 E 4 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		DLD0 E 4 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		DLD0 E 4 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		DLD0 E 5 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		DLD0 E 4 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		DLD0 E 5 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 4 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisASGBall",Random(28,34),0,Random(6,-6),0)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_Jump(30,"BloodlustedDivideCometsSpam")
		TNT1 A 0 A_Jump(20,"AngryJump")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		Goto See
		BloodlustedDivideCometsSpam:
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 3 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 4 Bright A_CustomMissile("NemesisTormentorComet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisTormentorComet",Random(28,34),0,Random(6,-6),0)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 4 Bright A_CustomMissile("NemesisTormentorComet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisTormentorComet",Random(28,34),0,Random(6,-6),0)
		DLD0 E 4 A_FaceTarget
		DLD0 E 4 Bright A_CustomMissile("NemesisTormentorComet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisTormentorComet",Random(28,34),0,Random(6,-6),0)
		DLD0 E 4 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 5 Bright A_CustomMissile("NemesisTormentorComet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisTormentorComet",Random(28,34),0,Random(6,-6),0)
		DLD0 E 4 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 5 Bright A_CustomMissile("NemesisTormentorComet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisTormentorComet",Random(28,34),0,Random(6,-6),0)
		DLD0 E 4 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 5 Bright A_CustomMissile("NemesisTormentorComet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisTormentorComet",Random(28,34),0,Random(6,-6),0)
		DLD0 E 6 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 4 Bright A_CustomMissile("NemesisTormentorComet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisTormentorComet",Random(28,34),0,Random(6,-6),0)
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_Jump(30,"DivineRifle")
		TNT1 A 0 A_Jump(20,"AngryJump")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		Goto See
		BloodlustedDivineminiballsSpam:
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 10 Bright A_CustomMissile("MiniNemesisBFGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 10 Bright A_CustomMissile("MiniNemesisBFGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		DLD0 E 10 Bright A_CustomMissile("MiniNemesisBFGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 10 Bright A_CustomMissile("MiniNemesisBFGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 8 Bright A_CustomMissile("MiniNemesisBFGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		DLD0 E 8 Bright A_CustomMissile("MiniNemesisBFGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		DLD0 E 5 Bright A_CustomMissile("MiniNemesisBFGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 E 7 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		DLD0 E 5 Bright A_CustomMissile("MiniNemesisBFGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		DLD0 E 7 Bright A_CustomMissile("MiniNemesisBFGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 E 8 A_FaceTarget
		TNT1 AAA 0 Bright A_CustomMissile("MiniNemesisBFGBall",Random(28,34),0,Random(6,-6),0)
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_Jump(20,"AngryJump")
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		Goto See
		BloodlustedDivineSuperBall:
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 12 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 75 A_PlaySound("NemesisBFG/charge",1)	
		DLD0 E 6 Bright A_CustomMissile("NemesisGuruBall", 30, 0, 0)
		DLD0 E 15 A_FaceTarget
		DLD0 E 75 A_PlaySound("NemesisBFG/charge",1)	
		DLD0 E 6 Bright A_CustomMissile("NemesisGuruBall", 30, 0, 0)
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_Jump(30,"BloodlustedMinesSpam")
		TNT1 A 0 A_Jump(20,"AngryJump")
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		Goto see
		BloodlustedMinesSpam:
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 E 6 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	    DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,10,2,15)
	    DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,-10,2,15)
		DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,10,2,15)
	    DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,-10,2,15)
		DLD0 F 0 A_CustomMissile("MiniNemesisBFGBall", 30, 0, 0)
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD2 E 8 A_FaceTarget
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,10,2,15)
	    DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,-10,2,15)
		DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,10,2,15)
	    DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,-10,2,15)
		DLD0 F 0 A_CustomMissile("MiniNemesisBFGBall", 30, 0, 0)
		DLD2 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD2 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,10,2,15)
	    DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,-10,2,15)
		DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,10,2,15)
	    DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,-10,2,15)
		DLD0 F 0 A_CustomMissile("MiniNemesisBFGBall", 30, 0, 0)
		DLD2 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD2 E 8 A_FaceTarget
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,10,2,15)
	    DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,-10,2,15)
		DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,10,2,15)
	    DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,-10,2,15)
		DLD0 F 0 A_CustomMissile("MiniNemesisBFGBall", 30, 0, 0)
		DLD2 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		DLD2 E 8 A_FaceTarget
		TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD2 F 6 Bright A_CustomMissile("NemesisSpringMineSet",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_Jump(50,"BloodlustedDivineminiballsSpam")
		TNT1 A 0 A_Jump(20,"AngryJump")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		Goto See
		BloodlustedDivineRifle:
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 A_FaceTarget
	    TNT1 A 0 A_CustomMissile("NemesisRifleShotEnemy",30,-16,random(-5,5))
	    DLD0 E 3 Bright A_CustomMissile("NemesisRifleShotEnemy",30,16,random(-5,5))
	    TNT1 A 0 A_FaceTarget
	    TNT1 A 0 A_CustomMissile("NemesisRifleShotEnemy",30,-16,random(-4,4))
	    DLD0 E 4 Bright A_CustomMissile("NemesisRifleShotEnemy",30,16,random(-4,4))
		DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,10,2,15)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_Jump(20,"AngryJump")
		TNT1 A 0 A_Jump(10,"BloodlustedMinesSpam")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		Goto BloodlustedDivineRifle+3
		BloodlustedDivineMachinegun:
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 6 A_FaceTarget
	    TNT1 A 0 A_CustomMissile("NemesisZombieCannonLaser",30,-16,random(-5,5))
		VCMS F 0 A_PlaySoundEx("weapons/LMGFire","Weapon")
	    DLD0 E 2 Bright A_CustomMissile("NemesisRebelDMGBall",30,16,random(-5,5))
		VCMS F 0 A_PlaySoundEx("weapons/LMGFire","Weapon")
		DLD0 E 2 Bright A_CustomMissile("NemesisRebelDMGBall",30,16,random(-4,4))
		VCMS F 0 A_PlaySoundEx("weapons/LMGFire","Weapon")
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		DLD0 E 2 Bright A_CustomMissile("NemesisRebelDMGBall",30,16,random(-4,4))
		DLD0 E 2 Bright A_CustomMissile("NemesisRebelDMGBall",30,16,random(-4,4))
	    TNT1 A 0 A_FaceTarget
		VCMS F 0 A_PlaySoundEx("weapons/LMGFire","Weapon")
	    DLD0 E 2 Bright A_CustomMissile("NemesisRebelDMGBall",30,16,random(-4,4))
		VCMS F 0 A_PlaySoundEx("weapons/LMGFire","Weapon")
		DLD0 E 2 Bright A_CustomMissile("NemesisRebelDMGBall",30,16,random(-4,4))
		VCMS F 0 A_PlaySoundEx("weapons/LMGFire","Weapon")
		DLD0 E 2 Bright A_CustomMissile("NemesisRebelDMGBall",30,16,random(-4,4))
		VCMS F 0 A_PlaySoundEx("weapons/LMGFire","Weapon")
		DLD0 E 2 Bright A_CustomMissile("NemesisRebelDMGBall",30,16,random(-4,4))
		DLD0 F 0 A_CustomMissile("NemesisSpringMineSet",32,0,10,2,15)
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_SpawnItemEx("EnragedLegendaryCyberFlameSpawner")
		TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		TNT1 A 0 A_Jump(10,"BloodlustedMinesSpam")
		TNT1 A 0 A_Jump(30,"AngryJump")
		TNT1 A 0 A_GiveInventory("DTZombieStrafing",1)
		TNT1 A 0 A_ChangeFlag(Nogravity,0)
		Goto BloodlustedDivineMachinegun+3
		Death:
	TNT1 A 0 A_ChangeFlag("Bright",0)
	TNT1 A 0 A_SpawnItemEx("RingOfRegenerationHalf",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("LegendarySaber",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Nemesis Sawed-Off Shotgun",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Nemesis Assault Shotgun",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("NemesisDarkMachineGun",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Nemesis Rifle",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Nemesis Plasmatic Cannon",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("Nemesis BFG",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("DivineContract",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("TearofEternity",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("MineAmmo",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("MineAmmo",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("MineAmmo",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("MineAmmo",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("MineAmmo",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("MineAmmo",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("MineAmmo",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("MineAmmo",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("MineAmmo",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("MineAmmo",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("MineAmmo",0,0,12,random(0,8),random(0,8),2,random(0,360),0,32)
	TNT1 A 0 A_SpawnItemEx("DivineArmorItem",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("RandomDarkSuperPowerSphere",0,0,12,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisPowerShard",0,0,12,random(0,8),random(0,8),2,random(0,360),0,128)
	DLD0 H 5 A_Scream
	DLD0 I 5 A_NoBlocking
	DLD0 JK 5
	DLD0 L 5 A_SpawnItem("BodyCrash",0,0,0,0)
	DLD0 M 5
	DLD0 N 20
	DLD0 N -1
	Stop
	}
}

Actor INFDivineDoomguy : DivineDoomguy
{
Tag "\c[d8]Divine God Doomguy (Suppressed)\c-"
States
{
  Spawn:
    TNT1 A 0
    TNT1 A 0 A_Jump(130,"Remove")
	TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("TrueLegendaryRuneSpawnCheck") == 2,1)
	Goto Remove
	Idle:
		DLD0 A 10 A_Look
	    TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
		Loop
  Remove:
	TNT1 A 1
	TNT1 A 0 A_SpawnItemEx("HellKnight",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	TNT1 A 0 A_ChangeFlag("COUNTKILL", FALSE)
	TNT1 A 0
	Stop
	}
}