ACTOR ZamasuGodImp : ZamasuImp
{ 
//Creator Eshkere_Jason
//Original: Divine Infinity
//Title: "Zamasu God Zombie"
//Info about Zamasu God Imp: Zamasu God Imp is one of the most powerful and frightening imps in the Doom Nexus mod
  Health 32500
  Radius 20
  Height 56
  Speed 24
  PainChance 5 //after zamasu god imp got pain. He calls on powerful Imps to help (also can using zamasu clone (NO GOD VERSVION) imp to help)
  BloodColor "Black"
PainChance "NemCardMinionDeath1", 256
PainChance "NemCardMinionDeath2", 256
Damagefactor 0.2 //162.500 effective hp, //325.000 effective hp If you have OP Runes
DamageFactor "LegendaryGuruPlayer", 0.05
DamageFactor "PlayerNemesisPlasma", 0.0
DamageFactor "TrueLegendaryDamage", 0.23
DamageFactor "TrueLegendaryPlayer", 0.23
DamageFactor "Cursed", 0.145
DamageFactor "Hackroid", 0.24
DamageFactor "PDTBFG", 0.05
DamageFactor "PDTBFGTracer", 0.05
DamageFactor "BFGSplash", 0.25
DamageFactor "BFGSpray", 0.25
DamageFactor "PlayerDevBall", 0.025
DamageFactor "PlayerDevBall2", 0.025
DamageFactor "PlayerDTBFGRailgunSlug", 0.025
DamageFactor "PlayerDevTracer", 0.025
DamageFactor "ImpComet", 0.0
DamageFactor "Cyber10K", 0.0
DamageFactor "Legendary", 0.0
DamageFactor "LegendaryPlayer", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "LegendaryGuruPlayer", 0.0
DamageFactor "CadaverRocket", 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 "HellComet", 0.0
DamageFactor "Legendary1", 0.0
DamageFactor "T3rm", 0.0
DamageFactor "C0mm4nder", 0.0
DamageFactor "DBFG10K2", 0.0
DamageFactor "HFCyb3r", 0.0
DamageFactor "PlayerDBFG10K2", 0.0
DamageFactor "PlayerDTRG", 0.3
DamageFactor "DBFG2", 0.0
DamageFactor "PlayerDBFG2", 0.0
DamageFactor "PyroShot", 0.0
DamageFactor "PlayerPyro", 0.0
DamageFactor "PDTPuff", 0.0
DamageFactor "Touhou", 0.0
DamageFactor "Hell", 0.0
DamageFactor "PlayerBHole", 0.0
DamageFactor "PlayerNemesisPlasma", 0.0
DamageFactor "SatanGuard", 0.0
DamageFactor "Explosion", 0.01
DamageFactor "NemesisBall", 0
DamageFactor "NemesisBeam", 0.3
  DropItem "Zamasu Plasmatic Cannon", 256, 33
  DropItem "NemesisHealthBonusMax", 256, 32
  DropItem "NemesisArmorBonus32", 256
  DropItem "NemesisHealthBonusMax", 256, 32
  DropItem "NemesisArmorBonus32", 256
  DropItem "DarkDivineArmorItem", 256, 1
  DropItem "LegAmmoSphere", 88, 3
  DropItem "EnragedLegendaryPowerShard", 35, 1
  DropItem "HandGrenadeAmmo", 235, 2
  DropItem "MineAmmo", 235, 2
  DropItem "Backpack", 198, 1
  DropItem "Armorplate", 205, 1
  DropItem "Portablemedkit", 210, 1
  DropItem "LegendaryRune", 60, 1
  DropItem "Nemesis Rifle", 128, 1
  DropItem "ZamasuArmor", 256, 1
  DropItem "ZamasuRune", 256, 1
  DropItem "ZamasuGodRune", 128, 1
  SeeSound "ZamasuGodImp/Sight"
  PainSound "ZamasuGodImp/Pain"
  DeathSound "ZamasuGodImp/Death"
  ActiveSound "ZamasuGodImp/Active"
  Monster
  Obituary "%o was eradicated by the Zamasu God Imp's dark energy."
  Tag"\c[s5]Zamasu\c-  \c[w2]God\c  \c[W8]Imp\c-"
 +BOSS
+BOSSDEATH
+NOFEAR
+MISSILEMORE
+MISSILEEVENMORE
+DONTRIP
+NOTIMEFREEZE
+FLOORCLIP
+QUICKTORETALIATE
+NORADIUSDMG
+DONTHARMSPECIES
+DROPOFF
var int user_music;
var int user_delay;
var int user_missile;
var int user_summon1;
var int user_summon2;
var int user_CheckPower;
States
{
  Spawn:
	TNT1 A 0
	ZMIG A 10 A_Look
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Loop
  Idle2:
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	ZMIG A 10 A_Look
	Loop
  GrowWings:
	TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
    //TNT1 A 0 A_PlaySound("MReimu/Cast")
	//TNT1 A 0 A_SpawnItemEx("MReimuCastEffect2",0,0,32)
	ZMIG H 4
	ZMIG H 4 A_Pain
	TNT1 A 0 A_Playsound("brain/spit",4,1.0,0,ATTN_NONE)
	ZMIG HHHHHHHHHHHHHHHHHHHHHHHHH 2 A_GiveInventory("NemesisSoulEvent",1)
	TNT1 A 0 A_ChangeFlag("FLOAT",1)
	TNT1 A 0 A_ChangeFlag("NOGRAVITY",1)
	ZMIG GGGGGGGGGGGGGG 2 A_GiveInventory("NemesisSoulEvent",1)
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	Goto See
  See:
    TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,6768,1011)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_JumpIf(user_CheckPower == 1,2)
	TNT1 A 0 A_Jump(256,"CheckPower")
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_Jump(60,"Teleport","Rush")
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	ZMIG AA 2 A_FastChase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	ZMIG BB 2 A_FastChase
	TNT1 A 0 A_SpawnItem("HumanishStep",0,0,0,0)
	TNT1 A 0 A_Jump(60,"Teleport","Rush")
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	ZMIG CC 2 A_FastChase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	ZMIG DD 2 A_FastChase
	TNT1 A 0 A_SpawnItem("HumanishStep",0,0,0,0)
    Loop
  Rush:
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Chase
	ZMIG A 1 A_Chase
	TNT1 A 0 A_Chase
	ZMIG A 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Chase
	ZMIG B 1 A_Chase
	TNT1 A 0 A_Chase
	ZMIG B 1 A_Chase
	TNT1 A 0 A_SpawnItem("HumanishStep",0,0,0,0)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Chase
	ZMIG C 1 A_Chase
	TNT1 A 0 A_Chase
	ZMIG C 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Chase
	ZMIG D 1 A_Chase
	TNT1 A 0 A_Chase
	ZMIG D 1 A_Chase
	TNT1 A 0 A_SpawnItem("HumanishStep",0,0,0,0)
	TNT1 A 0 A_Jump(64,"See")
	Loop
	Teleport:
	ZMIG A 1 A_UnSetShootable
	TNT1 AAAA 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	ZMIG AAAAAAAAAA 1 A_FadeOut(0.1,0)
	ZMIG A 2
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	ZMIG A 1 A_PlayWeaponSound("boss/teleport")
	TNT1 AAAA 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	ZMIG AAAAAAAAAA 1 A_FadeIn(0.1)
	ZMIG A 1 A_SetShootable
	Goto See
   CheckPower:
	   TNT1 A 0 A_SetUserVar("user_CheckPower",1)
       TNT1 A 0 A_JumpIfInTargetInventory("NexusStrength",1,"CheckPower2")
       Goto See
   CheckPower2:
       TNT1 A 0 A_JumpIfInTargetInventory("TerminatorDamage2",1,"FinalTruePower")
       Goto TruePower
   TruePower:
       //TNT1 A 0 A_GiveInventory("GodFinalBattleResistanceGiver",1)  is already too powerful to need
	   TNT1 A 0 A_GiveInventory("Health",10000)
       Goto See
   FinalTruePower:
       TNT1 A 0 A_GiveInventory("GodFinalBattleResistanceGiver",1)
	   TNT1 A 0 A_GiveInventory("Health",20000)
       Goto See
	Melee:
	ZMIG EF 2 A_FaceTarget
	ZMIG F 2 A_MeleeAttack
	Goto See
	Missile:
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_JumpIf(user_summon1 == 1,2)
    TNT1 A 0 A_JumpIfHealthLower(16250,"ZamasuNightmarePlayer1")
	TNT1 A 0 A_JumpIf(user_summon2 == 1,2)
    TNT1 A 0 A_JumpIfHealthLower(12500,"ZamasuNightmarePlayer2")
	TNT1 A 0 A_SetTranslucent(1)
	//TNT1 A 0 A_JumpIfCloser(250,"Lunge")
	TNT1 A 0 A_Jump(40,"SuperFireBall","ZamasuNuke")
	TNT1 A 0 A_Jump(64,"Laser","FireSpread")
	TNT1 A 0 A_Jump(128,"Seeker")
	Goto Normal
	Normal:
	ZMIG EF 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG F 2 A_CustomMissile("VexedNemesisImpBall",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedNemesisImpBall",32,0,8)
	ZMIG F 1 A_CustomMissile("VexedNemesisImpBall",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	ZMIG E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG E 2 A_CustomMissile("VexedNemesisImpBall",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedNemesisImpBall",32,0,8)
	ZMIG E 1 A_CustomMissile("VexedNemesisImpBall",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	ZMIG EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG F 2 A_CustomMissile("NemesisCyberBFG9500Ball",32,0,0)
	TNT1 A 0 A_CustomMissile("NemesisCyberBFG9500Ball",32,0,8)
	ZMIG F 1 A_CustomMissile("NemesisCyberBFG9500Ball",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	ZMIG E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG E 2 A_CustomMissile("NemesisCyberBFG9500Ball",32,0,0)
	TNT1 A 0 A_CustomMissile("NemesisCyberBFG9500Ball",32,0,8)
	ZMIG E 1 A_CustomMissile("NemesisCyberBFG9500Ball",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	ZMIG EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG G 2 A_CustomMissile("VexedArchonDarkMatter",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedArchonDarkMatter",32,0,8)
	ZMIG G 1 A_CustomMissile("VexedArchonDarkMatter",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	ZMIG EE 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG E 2 A_CustomMissile("VexedArchonDarkMatter",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedArchonDarkMatter",32,0,8)
	ZMIG E 1 A_CustomMissile("VexedArchonDarkMatter",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	ZMIG EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG G 2 A_CustomMissile("MiniNemesisBFGBall",32,0,0)
	TNT1 A 0 A_CustomMissile("MiniNemesisBFGBall",32,0,8)
	ZMIG G 1 A_CustomMissile("MiniNemesisBFGBall",32,0,-8)
	Goto See
	Seeker:
	ZMIG EF 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG G 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	ZMIG EE 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG EE 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	ZMIG EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG G 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	ZMIG E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG E 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	ZMIG EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG G 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	ZMIG E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG E 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	ZMIG EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG G 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	Goto See
	FireSpread:
	ZMIG EF 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG G 3 A_CustomMissile("VexedNemesisImpFireBall",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	ZMIG E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG E 3 A_CustomMissile("VexedNemesisImpFireBall",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	ZMIG EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG G 3 A_CustomMissile("VexedNemesisImpFireBall",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	ZMIG E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG E 3 A_CustomMissile("VexedNemesisImpFireBall",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	ZMIG EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	ZMIG G 3 A_CustomMissile("VexedNemesisImpFireBall",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Goto See
	Laser:
	TNT1 A 0 A_PlaySound("ZamasuGodImp/Sight")
	TNT1 A 0 A_Facetarget
	ZMIG EEEFFF 4 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
    TNT1 A 0 A_PlaySound("FantasyStaff/Fire",7,1.0,0,0.2) 
	TNT1 A 0 A_SetUserVar("user_missile",0)
  LaserLoop:
	TNT1 A 0 A_JumpIf(user_missile >= 20,"See")	 
	TNT1 A 0 A_SetUserVar("user_missile",user_missile+1)
	TNT1 A 0 A_Facetarget
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	ZMIG GGGG 1 A_CustomMissile("VexedNemesisImpLaser",32,0,0)
    TNT1 A 0 A_PlaySound("FantasyStaff/FireLoop",6,1.0,0,0.2)
	Loop
	SuperFireBall:
	TNT1 A 0 A_PlaySound("ZamasuGodImp/Sight")
	TNT1 A 0 A_Facetarget
	ZMIG EEEFFF 4 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner",random(-20,20),random(-20,20),random(0,10))
    TNT1 A 0 A_PlaySound("FantasyStaff/Fire2",7,1.0,0,0.2) 
    TNT1 A 0 A_PlaySound("FantasyStaff/Meltdown",6,1.0,0,0.2) 
	ZMIG A 30 A_CustomMissile("NemesisImpLaserBall",32,0,0)
	Goto See
	LaserBall:
	TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_PlaySound("ZamasuGodImp/Sight")
	TNT1 A 0 A_Facetarget
	ZMIG EEEEEE 4 A_GiveInventory("NemesisSoulEvent",1)
	TNT1 A 0 A_Facetarget
	ZMIG EEEFFF 4 A_GiveInventory("NemesisSoulEvent",1)
    TNT1 A 0 A_PlaySound("FantasyStaff/Fire2",7,1.0,0,0.2) 
    TNT1 A 0 A_PlaySound("FantasyStaff/Meltdown",6,1.0,0,0.2) 
	TNT1 A 0 A_PlaySound("legimp/fiyabetch")
	ZMIG F 30 A_CustomMissile("VexedNemesisImpLaserBall",32,0,0)
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	Goto See
	ZamasuNuke:
    TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_PlaySound("ZamasuCyberdemon/Sight",7,1,0,0.5)
    ZMIG A 0 A_SetInvulnerable
	ZMIG E 5 BRIGHT A_SpawnItemEx("ZamasuCyberFinalAttack")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG F 5 Bright A_faceTarget
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	ZMIG E 2 Bright A_PlaySound ("pcannon/explode")
	ZMIG F 5 A_CustomMissile ("ZamasuCyberFinalBall")
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	Goto See
	Rage:
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_PlaySound("ZamasuGodImp/Sight",7,1.0,0,ATTN_NONE)
	Z0GI EEEEEEEE 2 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SetUserVar("user_missile",0)
  RageLoop:
	TNT1 A 0 A_JumpIf(user_missile >= 20,"See")	 
	TNT1 A 0 A_SetUserVar("user_missile",user_missile+1)
	Z0GI E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z0GI F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z0GI E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z0GI F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z0GI E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z0GI F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z0GI E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z0GI F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z0GI E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z0GI F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z0GI E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z0GI F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z0GI E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_PlaySound("ZamasuGodImp/Active",0,1.0,0,0.4)
	Z0GI F 1 Bright A_CustomMissile("ZamasuSoulBigBall",32,0,0,2,4)
	TNT1 A 0 A_Jump(80,"MidRageTeleport")
	Loop
  MidRageTeleport:
	Z0GI E 1 Bright A_UnSetShootable
	TNT1 AAAA 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z0GI E 1 Bright A_FadeOut(0.1,0)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	Z0GI EEE 1 Bright A_FadeOut(0.3,0)
	Z0GI E 2 Bright
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	Z0GI E 1 Bright A_PlayWeaponSound("boss/teleport")
	TNT1 AAAA 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z0GI EEE 1 Bright A_FadeIn(0.3)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	Z0GI E 1 Bright A_FadeIn(0.1)
	Z0GI E 1 Bright A_SetShootable
	Goto RageLoop
	ZamasuNightmarePlayer1:
	TNT1 A 0 A_JumpIf(user_summon1 == 1,"Missile")
    TNT1 A 0 A_SetInvulnerable
    TNT1 A 0 A_ChangeFlag(NODAMAGE,1)
	TNT1 A 0 Radius_Quake(8,60,0,20,0)
	Z0GI E 2 Bright A_FaceTarget
	Z0GI EEE 4 Bright A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z0GI E 2 Bright A_FaceTarget
	Z0GI EEE 4 Bright A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z0GI E 2 Bright A_FaceTarget
	Z0GI EEE 4 Bright A_SpawnItemEx("NemesisCyberFlameSpawner2")
	TNT1 A 0 A_SpawnItemEx("NemesisLightning",0,0,100)
    TNT1 A 0 A_SpawnItemEx("ZamasuGodImpWhiteClone",0,0,100,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER)
	Z0GI E 2 Bright A_FaceTarget
	Z0GI EEE 4 Bright A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z0GI E 2 Bright A_FaceTarget
	Z0GI EEE 4 Bright A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z0GI E 2 Bright A_FaceTarget
	Z0GI E 4 Bright A_SpawnItemEx("NemesisCyberFlameSpawner2")
    TNT1 A 0 A_SetUserVar(user_summon1,1)
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_ChangeFlag(NODAMAGE,0)
    Z0GI EE 5 Bright
    Goto See
	ZamasuNightmarePlayer2:
    TNT1 A 0 A_JumpIf(user_summon2 == 1,"Missile")
    TNT1 A 0 A_SetInvulnerable
    TNT1 A 0 A_ChangeFlag(NODAMAGE,1)
	TNT1 A 0 Radius_Quake(8,60,0,20,0)
	Z0GI E 2 Bright A_FaceTarget
	Z0GI E 4 Bright A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z0GI E 2 Bright A_FaceTarget
	Z0GI E 4 Bright A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z0GI E 2 Bright A_FaceTarget
	Z0GI EEE 4 Bright A_SpawnItemEx("NemesisCyberFlameSpawner2")
	TNT1 A 0 A_SpawnItemEx("NemesisLightning",0,0,100)
    TNT1 A 0 A_SpawnItemEx("ZamasuGodImpBlackClone",0,0,100,0,0,0,0,SXF_NOCHECKPOSITION|SXF_SETMASTER)
	Z0GI E 2 Bright A_FaceTarget
	Z0GI EEE 4 Bright A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z0GI E 2 Bright A_FaceTarget
	Z0GI E 4 Bright A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z0GI E 2 Bright A_FaceTarget
	Z0GI EEE 4 Bright A_SpawnItemEx("NemesisCyberFlameSpawner2")
    TNT1 A 0 A_SetUserVar(user_summon2,1)
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_ChangeFlag(NODAMAGE,0)
    Z0GI EE 5 Bright
    Goto See
  Pain.Minion:
    TNT1 A 0 A_Pain
    Z0GI O 50 Bright
	TNT1 A 0 A_SpawnItemEx("NemesisLightning")
    TNT1 AAA 0 A_PlaySound("weapons/rocklx")
    Z0GI OOOOOOOOOOOO 3 Bright A_SpawnItemEx("VexedNemesisFlameSpawner")
    Goto Detox
  Detox:
    TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_changeflag(NOPAIN,0)
    TNT1 A 0 A_ChangeFlag(NOCLIP,0) //uh
    TNT1 A 0 A_ChangeFlag(NODAMAGE,0)
    Goto See
  Pain:
	TNT1 A 0 A_SetInvulnerable
	ZMIG GGG 4 Bright
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	ZMIG GGG 4 Bright A_Pain
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Jump("Rage",1)
	Goto Rage
  PainMissile:
	ZMIG G 3 Bright
	ZMIG G 3 Bright A_Pain
	Goto Missile  
  Pain.RailG:
  Pain.PDTPuff:
  Pain.DTRailgun:
  Pain.PlayerDTRG:
  Pain.Explosion:
  Death:
	TNT1 AAA 0 A_StopSound(6)
	ZMIG HI 8
	ZMIG J 8 A_Scream
	ZMIG K 6
	ZMIG L 6 A_NoBlocking
	ZMIG M 6
	TNT1 A 0 A_Jump(100,"MoreStuff")
	ZMIG N 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)
	ZMIG N -1
	Stop
  MoreStuff:
	ZMIG N 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")
	ZMIG NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN 1 A_SpawnItem("NemesisZombieItemRandomizer")
	ZMIG NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN 1 A_SpawnItem("NemesisZombieItemRandomizer")
	ZMIG N 1 A_SpawnItem("NemesisZombieSuperItemRandomizer")
	ZMIG N -1
	Stop
  }
}

ACTOR NemCardMinionDeath1 : Inventory {Inventory.MaxAmount 1}
ACTOR NemCardMinionDeath2 : Inventory {Inventory.MaxAmount 1}


Actor INFZamasuGodImp : ZamasuGodImp
{
Tag"\c[s5]Zamasu\c-  \c[w2]God\c  \c[W8]Imp\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:
		TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	    ZMIG A 10 A_Look
		Loop
  Remove:
	TNT1 A 1
	TNT1 A 0 A_SpawnItemEx("CybersStrongSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	TNT1 A 0 A_ChangeFlag("COUNTKILL", FALSE)
	TNT1 A 0
	Stop
	}
}

ACTOR ZamasuGodImpWhiteClone 
{ 
//Creator Eshkere_Jason
//Original: Divine Infinity
//Title: "Zamasu God Imp White Clone"
//Info about Zamasu God Imp: Zamasu God Imp is one of the most powerful and frightening imps in the Doom Nexus mod
  Health 14500
  Radius 20
  Height 56
  Speed 26
  PainChance 10
  BloodColor "Black"
Damagefactor 0.35 
Damagefactor "Acid", 2.5
DamageFactor "PDTBFG", 0.05
DamageFactor "PDTBFGTracer", 0.05
DamageFactor "BFGSplash", 0.25
DamageFactor "BFGSpray", 0.25
DamageFactor "PlayerDevBall", 0.025
DamageFactor "PlayerDevBall2", 0.025
DamageFactor "PlayerDTBFGRailgunSlug", 0.025
DamageFactor "PlayerDevTracer", 0.025
DamageFactor "ImpComet", 0.0
DamageFactor "Cyber10K", 0.0
DamageFactor "Legendary", 0.0
DamageFactor "LegendaryPlayer", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "LegendaryGuruPlayer", 0.0
DamageFactor "CadaverRocket", 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 "HellComet", 0.0
DamageFactor "Legendary1", 0.0
DamageFactor "T3rm", 0.0
DamageFactor "C0mm4nder", 0.0
DamageFactor "DBFG10K2", 0.0
DamageFactor "HFCyb3r", 0.0
DamageFactor "PlayerDBFG10K2", 0.0
DamageFactor "PlayerDTRG", 0.3
DamageFactor "DBFG2", 0.0
DamageFactor "PlayerDBFG2", 0.0
DamageFactor "PyroShot", 0.0
DamageFactor "PlayerPyro", 0.0
DamageFactor "PDTPuff", 0.0
DamageFactor "Touhou", 0.0
DamageFactor "Hell", 0.0
DamageFactor "PlayerBHole", 0.0
DamageFactor "PlayerNemesisPlasma", 0.0
DamageFactor "SatanGuard", 0.0
DamageFactor "Explosion", 0.01
DamageFactor "NemesisBall", 0
DamageFactor "NemesisBeam", 0.3
  DropItem "Zamasu Plasmatic Cannon", 256, 33
  DropItem "NemesisHealthBonusMax", 256, 32
  DropItem "NemesisArmorBonus32", 256
  DropItem "NemesisHealthBonusMax", 256, 32
  DropItem "NemesisArmorBonus32", 256
  DropItem "EnragedLegendaryArmor", 85, 1
  DropItem "LegAmmoSphere", 88, 3
  DropItem "EnragedLegendaryPowerShard", 35, 1
  DropItem "HandGrenadeAmmo", 235, 2
  DropItem "MineAmmo", 235, 2
  DropItem "Backpack", 198, 1
  DropItem "Armorplate", 205, 1
  DropItem "Portablemedkit", 210, 1
  DropItem "LegendaryRune", 60, 1
  DropItem "Nemesis Rifle", 128, 1
  SeeSound "ZamasuGodImp/Sight"
  PainSound "ZamasuGodImp/Pain"
  DeathSound "ZamasuGodImp/Death"
  ActiveSound "ZamasuGodImp/Active"
  Monster
  Obituary "%o was eradicated by the Zamasu God Imp's dark energy."
  Tag"\c[s5]Zamasu\c-  \c[w2]God-\c  \c[W8]Imp\c- \c[w2]Divine\c"
 +BOSS
+BOSSDEATH
+NOFEAR
+MISSILEMORE
+MISSILEEVENMORE
+DONTRIP
+NOTIMEFREEZE
+FLOORCLIP
+QUICKTORETALIATE
+NORADIUSDMG
+DONTHARMSPECIES
+DROPOFF
+LOOKALLAROUND
+THRUSPECIES
+NOTELEFRAG
-COUNTKILL
var int user_delay;
var int user_missile;
States
{
  Spawn:
	TNT1 A 0
	Z91W A 10 A_Look
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Loop
  Idle2:
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z91W A 10 A_Look
	Loop
  GrowWings:
	TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
    //TNT1 A 0 A_PlaySound("MReimu/Cast")
	//TNT1 A 0 A_SpawnItemEx("MReimuCastEffect2",0,0,32)
	Z91W H 4
	Z91W H 4 A_Pain
	TNT1 A 0 A_Playsound("brain/spit",4,1.0,0,ATTN_NONE)
	Z91W HHHHHHHHHHHHHHHHHHHHHHHHH 2 A_GiveInventory("NemesisSoulEvent",1)
	TNT1 A 0 A_ChangeFlag("FLOAT",1)
	TNT1 A 0 A_ChangeFlag("NOGRAVITY",1)
	Z91W GGGGGGGGGGGGGG 2 A_GiveInventory("NemesisSoulEvent",1)
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	Goto See
  See:
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_Jump(60,"Teleport","Rush")
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z91W AA 2 A_FastChase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z91W BB 2 A_FastChase
	TNT1 A 0 A_SpawnItem("HumanishStep",0,0,0,0)
	TNT1 A 0 A_Jump(60,"Teleport","Rush")
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z91W CC 2 A_FastChase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z91W DD 2 A_FastChase
	TNT1 A 0 A_SpawnItem("HumanishStep",0,0,0,0)
    Loop
  Rush:
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Chase
	Z91W A 1 A_Chase
	TNT1 A 0 A_Chase
	Z91W A 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Chase
	Z91W B 1 A_Chase
	TNT1 A 0 A_Chase
	Z91W B 1 A_Chase
	TNT1 A 0 A_SpawnItem("HumanishStep",0,0,0,0)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Chase
	Z91W C 1 A_Chase
	TNT1 A 0 A_Chase
	Z91W C 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Chase
	Z91W D 1 A_Chase
	TNT1 A 0 A_Chase
	Z91W D 1 A_Chase
	TNT1 A 0 A_SpawnItem("HumanishStep",0,0,0,0)
	TNT1 A 0 A_Jump(64,"See")
	Loop
	Teleport:
	Z91W A 1 A_UnSetShootable
	TNT1 AAAA 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z91W AAAAAAAAAA 1 A_FadeOut(0.1,0)
	Z91W A 2
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	Z91W A 1 A_PlayWeaponSound("boss/teleport")
	TNT1 AAAA 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z91W AAAAAAAAAA 1 A_FadeIn(0.1)
	Z91W A 1 A_SetShootable
	Goto See
	 Melee:
	Z91W EF 2 A_FaceTarget
	Z91W G 2 A_MeleeAttack
	Goto See
	Missile:
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_SetTranslucent(1)
	//TNT1 A 0 A_JumpIfCloser(250,"Lunge")
	TNT1 A 0 A_Jump(40,"SuperFireBall","ZamasuNuke")
	TNT1 A 0 A_Jump(64,"Laser","FireSpread")
	TNT1 A 0 A_Jump(128,"Seeker")
	Goto Normal
	Normal:
	Z91W EF 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W G 2 A_CustomMissile("VexedNemesisImpBall",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedNemesisImpBall",32,0,8)
	Z91W G 1 A_CustomMissile("VexedNemesisImpBall",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z91W E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W E 2 A_CustomMissile("VexedNemesisImpBall",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedNemesisImpBall",32,0,8)
	Z91W E 1 A_CustomMissile("VexedNemesisImpBall",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z91W EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W G 2 A_CustomMissile("VexedNemesisImpBall",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedNemesisImpBall",32,0,8)
	Z91W G 1 A_CustomMissile("VexedNemesisImpBall",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z91W E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W E 2 A_CustomMissile("VexedNemesisImpBall",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedNemesisImpBall",32,0,8)
	Z91W E 1 A_CustomMissile("VexedNemesisImpBall",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z91W EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W G 2 A_CustomMissile("VexedNemesisImpBall",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedNemesisImpBall",32,0,8)
	Z91W G 1 A_CustomMissile("VexedNemesisImpBall",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z91W EE 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W E 2 A_CustomMissile("VexedNemesisImpBall",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedNemesisImpBall",32,0,8)
	Z91W E 1 A_CustomMissile("VexedNemesisImpBall",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z91W EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W G 2 A_CustomMissile("VexedNemesisImpBall",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedNemesisImpBall",32,0,8)
	Z91W G 1 A_CustomMissile("VexedNemesisImpBall",32,0,-8)
	Goto See
	Seeker:
	Z91W EF 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W G 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z91W EE 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W EE 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z91W EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W G 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z91W E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W E 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z91W EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W G 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z91W E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W E 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z91W EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W G 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	Goto See
	FireSpread:
	Z91W EF 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W G 3 A_CustomMissile("VexedNemesisImpFireBall",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z91W E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W E 3 A_CustomMissile("VexedNemesisImpFireBall",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z91W EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W G 3 A_CustomMissile("VexedNemesisImpFireBall",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z91W E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W E 3 A_CustomMissile("VexedNemesisImpFireBall",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z91W EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z91W G 3 A_CustomMissile("VexedNemesisImpFireBall",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Goto See
	Laser:
	TNT1 A 0 A_PlaySound("ZamasuGodImp/Sight")
	TNT1 A 0 A_Facetarget
	Z91W EEEFFF 4 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
    TNT1 A 0 A_PlaySound("FantasyStaff/Fire",7,1.0,0,0.2) 
	TNT1 A 0 A_SetUserVar("user_missile",0)
  LaserLoop:
	TNT1 A 0 A_JumpIf(user_missile >= 20,"See")	 
	TNT1 A 0 A_SetUserVar("user_missile",user_missile+1)
	TNT1 A 0 A_Facetarget
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z91W GGGG 1 A_CustomMissile("VexedNemesisImpLaser",32,0,0)
    TNT1 A 0 A_PlaySound("FantasyStaff/FireLoop",6,1.0,0,0.2)
	Loop
	SuperFireBall:
	TNT1 A 0 A_PlaySound("ZamasuGodImp/Sight")
	TNT1 A 0 A_Facetarget
	Z91W EEEFFF 4 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner",random(-20,20),random(-20,20),random(0,10))
    TNT1 A 0 A_PlaySound("FantasyStaff/Fire2",7,1.0,0,0.2) 
    TNT1 A 0 A_PlaySound("FantasyStaff/Meltdown",6,1.0,0,0.2) 
	Z91W A 30 A_CustomMissile("NemesisImpLaserBall",32,0,0)
	Goto See
	LaserBall:
	TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_PlaySound("ZamasuGodImp/Sight")
	TNT1 A 0 A_Facetarget
	Z91W EEEEEE 4 A_GiveInventory("NemesisSoulEvent",1)
	TNT1 A 0 A_Facetarget
	Z91W EEEFFF 4 A_GiveInventory("NemesisSoulEvent",1)
    TNT1 A 0 A_PlaySound("FantasyStaff/Fire2",7,1.0,0,0.2) 
    TNT1 A 0 A_PlaySound("FantasyStaff/Meltdown",6,1.0,0,0.2) 
	TNT1 A 0 A_PlaySound("legimp/fiyabetch")
	Z91W F 30 A_CustomMissile("VexedNemesisImpLaserBall",32,0,0)
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	Goto See
	ZamasuNuke:
    TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_PlaySound("ZamasuCyberdemon/Sight",7,1,0,0.5)
    Z91W A 0 A_SetInvulnerable
	Z91W E 5 BRIGHT A_SpawnItemEx("ZamasuCyberFinalAttack")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z91W E 2 Bright A_PlaySound ("pcannon/explode")
	Z91W F 5 A_CustomMissile ("ZamasuCyberFinalBall")
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	Z91W A 0 A_SetInvulnerable
	Goto See
	Rage:
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_PlaySound("ZamasuGodImp/Sight",7,1.0,0,ATTN_NONE)
	Z92W EEEEEEEE 2 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SetUserVar("user_missile",0)
  RageLoop:
	TNT1 A 0 A_JumpIf(user_missile >= 20,"See")	 
	TNT1 A 0 A_SetUserVar("user_missile",user_missile+1)
	Z92W E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z92W F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z92W E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z92W F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z92W E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z92W F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z92W E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z92W F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z92W E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z92W F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z92W E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z92W F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z92W E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_PlaySound("ZamasuGodImp/Active",0,1.0,0,0.4)
	Z92W F 1 Bright A_CustomMissile("ZamasuSoulBigBall",32,0,0,2,4)
	TNT1 A 0 A_Jump(80,"MidRageTeleport")
	Loop
  MidRageTeleport:
	Z92W E 1 Bright A_UnSetShootable
	TNT1 AAAA 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z92W E 1 Bright A_FadeOut(0.1,0)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	Z92W EEE 1 Bright A_FadeOut(0.3,0)
	Z92W E 2 Bright
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	Z92W E 1 Bright A_PlayWeaponSound("boss/teleport")
	TNT1 AAAA 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z92W EEE 1 Bright A_FadeIn(0.3)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	Z92W E 1 Bright A_FadeIn(0.1)
	Z92W E 1 Bright A_SetShootable
	Goto RageLoop
  Pain:
	TNT1 A 0 A_SetInvulnerable
	Z91W GGG 4 Bright
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z91W GGG 4 Bright A_Pain
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Jump("Rage",1)
	Goto Rage
  PainMissile:
	Z91W G 3 Bright
	Z91W G 3 Bright A_Pain
	Goto Missile  
  Pain.RailG:
  Pain.PDTPuff:
  Pain.DTRailgun:
  Pain.PlayerDTRG:
  Pain.Explosion:
	Goto Rage
  Death:
	TNT1 AAA 0 A_StopSound(6)
	Z91W HI 8
	Z91W J 8 A_Scream
	Z91W K 6
	Z91W L 6 A_NoBlocking
	Z91W M 6
	TNT1 A 0 A_Jump(100,"MoreStuff")
	Z91W N 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)
	Z91W N -1 
    Stop
  MoreStuff:
	Z91W N 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")
	Z91W NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN 1 A_SpawnItem("NemesisZombieItemRandomizer")
	Z91W NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN 1 A_SpawnItem("NemesisZombieItemRandomizer")
	Z91W N 1 A_SpawnItem("NemesisZombieSuperItemRandomizer")
	Z91W N -1
	Stop
  }
}

ACTOR ZamasuGodImpBlackClone 
{ 
//Creator Eshkere_Jason
//Original: Divine Infinity
//Title: "Zamasu God Imp Black Clone"
//Info about Zamasu God Imp: Zamasu God Imp is one of the most powerful and frightening imps in the Doom Nexus mod
  Health 14500
  Radius 20
  Height 56
  Speed 29
  PainChance 8
  BloodColor "Black"
Damagefactor 0.3
Damagefactor "Acid", 2.5
DamageFactor "PDTBFG", 0.05
DamageFactor "PDTBFGTracer", 0.05
DamageFactor "BFGSplash", 0.25
DamageFactor "BFGSpray", 0.25
DamageFactor "PlayerDevBall", 0.025
DamageFactor "PlayerDevBall2", 0.025
DamageFactor "PlayerDTBFGRailgunSlug", 0.025
DamageFactor "PlayerDevTracer", 0.025
DamageFactor "ImpComet", 0.0
DamageFactor "Cyber10K", 0.0
DamageFactor "Legendary", 0.0
DamageFactor "LegendaryPlayer", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "LegendaryGuruPlayer", 0.0
DamageFactor "CadaverRocket", 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 "HellComet", 0.0
DamageFactor "Legendary1", 0.0
DamageFactor "T3rm", 0.0
DamageFactor "C0mm4nder", 0.0
DamageFactor "DBFG10K2", 0.0
DamageFactor "HFCyb3r", 0.0
DamageFactor "PlayerDBFG10K2", 0.0
DamageFactor "PlayerDTRG", 0.3
DamageFactor "DBFG2", 0.0
DamageFactor "PlayerDBFG2", 0.0
DamageFactor "PyroShot", 0.0
DamageFactor "PlayerPyro", 0.0
DamageFactor "PDTPuff", 0.0
DamageFactor "Touhou", 0.0
DamageFactor "Hell", 0.0
DamageFactor "PlayerBHole", 0.0
DamageFactor "PlayerNemesisPlasma", 0.0
DamageFactor "SatanGuard", 0.0
DamageFactor "Explosion", 0.01
DamageFactor "NemesisBall", 0
DamageFactor "NemesisBeam", 0.3
  DropItem "Zamasu Plasmatic Cannon", 256, 33
  DropItem "NemesisHealthBonusMax", 256, 32
  DropItem "NemesisArmorBonus32", 256
  DropItem "NemesisHealthBonusMax", 256, 32
  DropItem "NemesisArmorBonus32", 256
  DropItem "EnragedLegendaryArmor", 85, 1
  DropItem "LegAmmoSphere", 88, 3
  DropItem "EnragedLegendaryPowerShard", 35, 1
  DropItem "HandGrenadeAmmo", 235, 2
  DropItem "MineAmmo", 235, 2
  DropItem "Backpack", 198, 1
  DropItem "Armorplate", 205, 1
  DropItem "Portablemedkit", 210, 1
  DropItem "LegendaryRune", 60, 1
  DropItem "Nemesis Rifle", 128, 1
  SeeSound "ZamasuGodImp/Sight"
  PainSound "ZamasuGodImp/Pain"
  DeathSound "ZamasuGodImp/Death"
  ActiveSound "ZamasuGodImp/Active"
  Monster
  Obituary "%o was eradicated by the Zamasu God Imp's dark energy."
  Tag"\c[s5]Zamasu\c-  \c[w2]God-\c  \c[W8]Imp\c- \c[s5]Void-\c"
 +BOSS
+BOSSDEATH
+NOFEAR
+MISSILEMORE
+MISSILEEVENMORE
+DONTRIP
+NOTIMEFREEZE
+FLOORCLIP
+QUICKTORETALIATE
+NORADIUSDMG
+DONTHARMSPECIES
+DROPOFF
+LOOKALLAROUND
+THRUSPECIES
+NOTELEFRAG
-COUNTKILL
var int user_delay;
var int user_missile;
States
{
  Spawn:
	TNT1 A 0
	Z56G A 10 A_Look
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Loop
  Idle2:
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z56G A 10 A_Look
	Loop
  GrowWings:
	TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
    //TNT1 A 0 A_PlaySound("MReimu/Cast")
	//TNT1 A 0 A_SpawnItemEx("MReimuCastEffect2",0,0,32)
	Z56G H 4
	Z56G H 4 A_Pain
	TNT1 A 0 A_Playsound("brain/spit",4,1.0,0,ATTN_NONE)
	Z56G HHHHHHHHHHHHHHHHHHHHHHHHH 2 A_GiveInventory("NemesisSoulEvent",1)
	TNT1 A 0 A_ChangeFlag("FLOAT",1)
	TNT1 A 0 A_ChangeFlag("NOGRAVITY",1)
	Z56G GGGGGGGGGGGGGG 2 A_GiveInventory("NemesisSoulEvent",1)
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	Goto See
  See:
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	TNT1 A 0 A_Jump(60,"Teleport","Rush")
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z56G AA 2 A_FastChase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z56G BB 2 A_FastChase
	TNT1 A 0 A_SpawnItem("HumanishStep",0,0,0,0)
	TNT1 A 0 A_Jump(60,"Teleport","Rush")
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z56G CC 2 A_FastChase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z56G DD 2 A_FastChase
	TNT1 A 0 A_SpawnItem("HumanishStep",0,0,0,0)
    Loop
  Rush:
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Chase
	Z56G A 1 A_Chase
	TNT1 A 0 A_Chase
	Z56G A 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Chase
	Z56G B 1 A_Chase
	TNT1 A 0 A_Chase
	Z56G B 1 A_Chase
	TNT1 A 0 A_SpawnItem("HumanishStep",0,0,0,0)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Chase
	Z56G C 1 A_Chase
	TNT1 A 0 A_Chase
	Z56G C 1 A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Chase
	Z56G D 1 A_Chase
	TNT1 A 0 A_Chase
	Z56G D 1 A_Chase
	TNT1 A 0 A_SpawnItem("HumanishStep",0,0,0,0)
	TNT1 A 0 A_Jump(64,"See")
	Loop
	Teleport:
	Z56G A 1 A_UnSetShootable
	TNT1 AAAA 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z56G AAAAAAAAAA 1 A_FadeOut(0.1,0)
	Z56G A 2
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	Z56G A 1 A_PlayWeaponSound("boss/teleport")
	TNT1 AAAA 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z56G AAAAAAAAAA 1 A_FadeIn(0.1)
	Z56G A 1 A_SetShootable
	Goto See
	 Melee:
	Z56G EF 2 A_FaceTarget
	Z56G G 2 A_MeleeAttack
	Goto See
	Missile:
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_SetTranslucent(1)
	//TNT1 A 0 A_JumpIfCloser(250,"Lunge")
	TNT1 A 0 A_Jump(40,"SuperFireBall","ZamasuNuke")
	TNT1 A 0 A_Jump(64,"Laser","FireSpread")
	TNT1 A 0 A_Jump(128,"Seeker")
	Goto Normal
	Normal:
	Z56G EF 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G G 2 A_CustomMissile("VexedNemesisImpBall",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedNemesisImpBall",32,0,8)
	Z56G G 1 A_CustomMissile("VexedNemesisImpBall",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z56G E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G E 2 A_CustomMissile("VexedNemesisImpBall",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedNemesisImpBall",32,0,8)
	Z56G E 1 A_CustomMissile("VexedNemesisImpBall",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z56G EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G G 2 A_CustomMissile("VexedNemesisImpBall",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedNemesisImpBall",32,0,8)
	Z56G G 1 A_CustomMissile("VexedNemesisImpBall",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z56G E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G E 2 A_CustomMissile("VexedNemesisImpBall",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedNemesisImpBall",32,0,8)
	Z56G E 1 A_CustomMissile("VexedNemesisImpBall",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z56G EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G G 2 A_CustomMissile("VexedNemesisImpBall",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedNemesisImpBall",32,0,8)
	Z56G G 1 A_CustomMissile("VexedNemesisImpBall",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z56G EE 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G E 2 A_CustomMissile("VexedNemesisImpBall",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedNemesisImpBall",32,0,8)
	Z56G E 1 A_CustomMissile("VexedNemesisImpBall",32,0,-8)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z56G EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G G 2 A_CustomMissile("VexedNemesisImpBall",32,0,0)
	TNT1 A 0 A_CustomMissile("VexedNemesisImpBall",32,0,8)
	Z56G G 1 A_CustomMissile("VexedNemesisImpBall",32,0,-8)
	Goto See
	Seeker:
	Z56G EF 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G G 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z56G EE 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G EE 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z56G EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G G 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z56G E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G E 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z56G EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G G 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z56G E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G E 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z56G EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G G 3 A_CustomMissile("VexedNemesisImpBallSeek",32,0,0)
	Goto See
	FireSpread:
	Z56G EF 2 A_FaceTarget
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G G 3 A_CustomMissile("VexedNemesisImpFireBall",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z56G E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G E 3 A_CustomMissile("VexedNemesisImpFireBall",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z56G EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G G 3 A_CustomMissile("VexedNemesisImpFireBall",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z56G E 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G E 3 A_CustomMissile("VexedNemesisImpFireBall",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Z56G EF 2 A_FaceTarget
	TNT1 A 0 A_Stop
	TNT1 A 0 A_PlaySound("imp/attack")
	Z56G G 3 A_CustomMissile("VexedNemesisImpFireBall",32,0,0)
	TNT1 A 0 ThrustThing(Angle*256/360+random(64,192),30,0,0)
	Goto See
	Laser:
	TNT1 A 0 A_PlaySound("ZamasuGodImp/Sight")
	TNT1 A 0 A_Facetarget
	Z56G EEEFFF 4 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
    TNT1 A 0 A_PlaySound("FantasyStaff/Fire",7,1.0,0,0.2) 
	TNT1 A 0 A_SetUserVar("user_missile",0)
  LaserLoop:
	TNT1 A 0 A_JumpIf(user_missile >= 20,"See")	 
	TNT1 A 0 A_SetUserVar("user_missile",user_missile+1)
	TNT1 A 0 A_Facetarget
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z56G GGGG 1 A_CustomMissile("VexedNemesisImpLaser",32,0,0)
    TNT1 A 0 A_PlaySound("FantasyStaff/FireLoop",6,1.0,0,0.2)
	Loop
	SuperFireBall:
	TNT1 A 0 A_PlaySound("ZamasuGodImp/Sight")
	TNT1 A 0 A_Facetarget
	Z56G EEEFFF 4 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner",random(-20,20),random(-20,20),random(0,10))
    TNT1 A 0 A_PlaySound("FantasyStaff/Fire2",7,1.0,0,0.2) 
    TNT1 A 0 A_PlaySound("FantasyStaff/Meltdown",6,1.0,0,0.2) 
	Z56G A 30 A_CustomMissile("NemesisImpLaserBall",32,0,0)
	Goto See
	LaserBall:
	TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_PlaySound("ZamasuGodImp/Sight")
	TNT1 A 0 A_Facetarget
	Z56G EEEEEE 4 A_GiveInventory("NemesisSoulEvent",1)
	TNT1 A 0 A_Facetarget
	Z56G EEEFFF 4 A_GiveInventory("NemesisSoulEvent",1)
    TNT1 A 0 A_PlaySound("FantasyStaff/Fire2",7,1.0,0,0.2) 
    TNT1 A 0 A_PlaySound("FantasyStaff/Meltdown",6,1.0,0,0.2) 
	TNT1 A 0 A_PlaySound("legimp/fiyabetch")
	Z56G F 30 A_CustomMissile("VexedNemesisImpLaserBall",32,0,0)
	TNT1 A 0 A_UnSetInvulnerable
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	Goto See
	ZamasuNuke:
    TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	TNT1 A 0 A_PlaySound("ZamasuCyberdemon/Sight",7,1,0,0.5)
    Z56G A 0 A_SetInvulnerable
	Z56G E 5 BRIGHT A_SpawnItemEx("ZamasuCyberFinalAttack")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G F 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_Playsound ("Arcradimus/BFGElectric")
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 5 Bright A_faceTarget
	TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	Z56G E 2 Bright A_PlaySound ("pcannon/explode")
	Z56G F 5 A_CustomMissile ("ZamasuCyberFinalBall")
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	Z56G A 0 A_SetInvulnerable
	Goto See
	Rage:
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_PlaySound("ZamasuGodImp/Sight",7,1.0,0,ATTN_NONE)
	Z57G EEEEEEEE 2 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SetUserVar("user_missile",0)
  RageLoop:
	TNT1 A 0 A_JumpIf(user_missile >= 20,"See")	 
	TNT1 A 0 A_SetUserVar("user_missile",user_missile+1)
	Z57G E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z57G F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z57G E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z57G F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z57G E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z57G F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z57G E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z57G F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z57G E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z57G F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z57G E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisImpBallSeek",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z57G F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	Z57G E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_PlaySound("ZamasuGodImp/Active",0,1.0,0,0.4)
	Z57G F 1 Bright A_CustomMissile("ZamasuSoulBigBall",32,0,0,2,4)
	TNT1 A 0 A_Jump(80,"MidRageTeleport")
	Loop
  MidRageTeleport:
	Z57G E 1 Bright A_UnSetShootable
	TNT1 AAAA 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z57G E 1 Bright A_FadeOut(0.1,0)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	Z57G EEE 1 Bright A_FadeOut(0.3,0)
	Z57G E 2 Bright
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	Z57G E 1 Bright A_PlayWeaponSound("boss/teleport")
	TNT1 AAAA 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z57G EEE 1 Bright A_FadeIn(0.3)
	TNT1 AA 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	Z57G E 1 Bright A_FadeIn(0.1)
	Z57G E 1 Bright A_SetShootable
	Goto RageLoop
  Pain:
	TNT1 A 0 A_SetInvulnerable
	Z56G GGG 4 Bright
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Z56G GGG 4 Bright A_Pain
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Jump("Rage",1)
	Goto Rage
  PainMissile:
	Z56G G 3 Bright
	Z56G G 3 Bright A_Pain
	Goto Missile  
  Pain.RailG:
  Pain.PDTPuff:
  Pain.DTRailgun:
  Pain.PlayerDTRG:
  Pain.Explosion:
	Goto Rage
  Death:
	TNT1 AAA 0 A_StopSound(6)
	Z56G HI 8
	Z56G J 8 A_Scream
	Z56G K 6
	Z56G L 6 A_NoBlocking
	Z56G M 6
	TNT1 A 0 A_Jump(100,"MoreStuff")
	Z56G N 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)
	Z56G N -1
	Stop
  MoreStuff:
	Z56G N 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")
	Z56G NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN 1 A_SpawnItem("NemesisZombieItemRandomizer")
	Z56G NNNNNNNNNNNNNNNNNNNNNNNNNNNNNN 1 A_SpawnItem("NemesisZombieItemRandomizer")
	Z56G N 1 A_SpawnItem("NemesisZombieSuperItemRandomizer")
	Z56G N -1
	Stop
  }
}