ACTOR ZamasuLordOfEstinity
{
  Speed 95
  Height 100
  Radius 80
  Mass 90000
  Health 60000 // 95000
  Painchance 20
  PainChance "PDTBFG", 7
  PainChance "SoulToxic", 2
  PainChance "FatFlamer", 2
  PainChance "FiendFire", 2
  PainChance "Explosion", 30
PainChance "BFG9500Ball", 40
PainChance "PlayerDevBall", 100
PainChance "BFG10K", 100
PainChance "PDTBFG", 100
PainChance "PlayerDBFG10K2", 100
PainChance "Legendary", 100 // 100
PainChance "LegendaryPlayer", 100 // 100
PainChance "LegendaryGuru", 256
PainChance "LegendaryGuruPlayer", 256
PainChance "PlayerDBFG2", 256
  Seesound "ZamasuCardihilatorSee"
  DeathSound "ZamasuCardihilatorDeath"
  painsound "ZamasuCardihilatorPain"
  Minmissilechance 1
  Scale 1.0
  Monster
  +FLOAT
  +NOGRAVITY
  +FLOORCLIP
  +NORADIUSDMG
  +QUICKTORETALIATE
  +MISSILEMORE
  +MISSILEEVENMORE
  +BOSS
  +DONTHURTSPECIES
  +BOSSDEATH
DamageFactor 0.4 //0.01 WTF
DamageFactor "LegendOfZamasuHuman", 0.0
DamageFactor "TheLegendOfZamasu", 0.0
DamageFactor "PlayerFireSword", 0.01
DamageFactor "PlayerDTRG", 0.10
DamageFactor "PlayerBHole", 0.0
DamageFactor "CustomSpray", 0.0
DamageFactor "BFG9500Ball", 0.0
DamageFactor "PlayerPyro", 0.075
DamageFactor "Extreme", 0.0
DamageFactor "UltimateLegendary", 0.0
DamageFactor "HellComet", 0.0
DamageFactor "ZATM", 0.0
DamageFactor "PDTBFG", 0.02
DamageFactor "PDTBFGTracer", 0.02
DamageFactor "PlayerRailPuff", 0.0
DamageFactor "PDTPuff", 0.0
DamageFactor "Ice", 0.0
DamageFactor "FreezerBurn", 0.0
DamageFactor "DemolisherEx", 0.0
DamageFactor "DarkDemoEx", 0.0
DamageFactor "CerChainguns", 0.0	
DamageFactor "CerEnergyBall", 0.0
DamageFactor "Cyber10K", 0.0
DamageFactor "C0mm4nder", 0.0
DamageFactor "HFCyb3r", 0.1
DamageFactor "Legendary", 0.0
DamageFactor "Legendary1", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "LegendaryGuruPlayer", 0.2
DamageFactor "LegendaryPlayer", 0.1
DamageFactor "BFG10K", 0.35
DamageFactor "BFGSplash", 0.0
DamageFactor "BFGSpray", 0.0
DamageFactor "Railg", 0.2
DamageFactor "PlayerDevBall", 0.010
DamageFactor "PlayerDTBFGRailgunSlug", 0.010
DamageFactor "PlayerDevTracer", 0.010
DamageFactor "SuperWeapon", 0.0
DamageFactor "DBFG10K2", 0.35
DamageFactor "PlayerDBFG10K2", 0.35
DamageFactor "DBFG2", 0.35
DamageFactor "PlayerDBFG2", 0.35
DamageFactor "DemolisherEx", 0.10
DamageFactor "DarkDemoEx", 0.10
DamageFactor "CerChainguns", 0.0	
DamageFactor "CerEnergyBall", 0.0
DamageFactor "PDTBFG", 0.075
DamageFactor "PDTBFGTracer", 0.2
DamageFactor "Cyber10K", 0.0
DamageFactor "PlayerDevBall", 0.02
DamageFactor "PlayerDevBall2", 0.02
DamageFactor "PlayerDTBFGRailgunSlug", 0.02
DamageFactor "PlayerDevTracer", 0.02
  DropItem "BossLifeEssence" 225 
  DropItem "BossArmorBonusMax" 225 
  DropItem "DemonAmmoBox" 256
  DropItem "DemonAmmo" 256
  DropItem "ZamasuDemonAmmoBox", 200 
  DropItem "ZamasuDemonAmmo", 250 
  DropItem "DemonicChalice" 250 1
  DropItem "SkullOfPower" 250 1
DropItem "Demon Tech Devastator" 256 1
DropItem "Demon Tech BFG10K" 128 1
DropItem "Explosive Minigun" 64 1
DropItem "BulletBox" 64
DropItem "Zamasu Plasmatic Cannon", 256, 33
DropItem "DemonAmmoBox" 256 200
DropItem "Explosive Minigun" 250 1
DropItem "Demon Tech Devastator" 250 1
DropItem "DemonAmmoBox" 256 100
DropItem "BossLifeEssence" 250 100
DropItem "BossArmorBonusMax" 250 100
DropItem "BFG10K " 256 1
DropItem "BlackHole Generator" 256 1
DropItem "LegendaryUltraSphere" 256 1
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 "NLDemonAmmoBox", 200 
DropItem "NLDemonAmmo", 250 
DropItem "LegendaryRune", 60, 1
DropItem "Nemesis Rifle", 128, 1
  Species "Cybers"
Tag "\c[s5]Zamasu Lord Of Estinity\c-"
  Obituary "%o must of been pretty slow since he decided to confront the Zamasu Lord Of Estinity with his puny weapons."
  var int user_fusionnuke;
  var int user_script;
  var int user_music;
  States
  {
Spawn:
	TNT1 A 0
	TNT1 A 0 A_PlaySoundEx("NemesisRune/Pickup","Voice",0,2)
Idle:
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Look
	Loop
Remove:
	TNT1 A 1
	TNT1 A 0 A_SpawnItemEx("cyberdemon",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	TNT1 A 0 A_ChangeFlag("COUNTKILL", FALSE)
	TNT1 A 0
	Stop
  See:
	TNT1 A 0 A_JumpIf(user_script == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("NemesisSentientFire",0,3)
    TNT1 A 0 A_SetUserVar("user_script",1)
    TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,6734,1007)
	TNT1 A 0 A_SetUserVar("user_music",1)
    BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    BORT A 2 Bright A_Chase
    TNT1 A 0 A_Jump(32,"Evade")	
    Loop
  Evade:
	TNT1 A 0 A_Jump(128,19)
	TNT1 A 0 ThrustThing(Angle*256/360+64,20,0,0)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Chase
	TNT1 A 0 A_Stop
	Goto See
	TNT1 A 0 ThrustThing(Angle*256/360+192,20,0,0)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 2 Bright A_Chase
	TNT1 A 0 A_Stop
	Goto See
Missile:
  TNT1 A 0 A_SetShootable
  TNT1 A 0 A_UnsetInvulnerable
  TNT1 A 0 A_SetTranslucent(1)
  BORT A 0 A_Jump(128,"Normal","CyberRockets","CyberHomingRockets","BFG95K","BFG10K","Railgun")
  BORT A 0 A_Jump(64,"SentientCardinalDTCombo","ZamasuHoamingPlasticBeam")
  BORT A 0 A_Jump(32,"DTDevastator")
  BORT A 0 A_Jump(16,"FusionNuke")
Normal:
  TNT1 A 0 A_JumpIfCloser(1500,1)
  Goto CyberRockets
  TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
  BORT A 1 Bright A_FaceTarget
  TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
  BORT A 2 Bright A_FaceTarget
  TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
  BORT A 1 Bright A_FaceTarget
  TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
  TNT1 A 0 A_SpawnItemEx("OrangeShellCasing", 10, 12, 40, Random(2, 6), 0, Random(1, 3), Random(80, 90), 128)
  TNT1 A 0 A_PlaySound("sentient/fire")
  BORT B 1 Bright A_CustomMissile("SentientExplosiveTracer",36,0,Random(-800,800)/100.00,0)
  TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)	
  TNT1 A 0 A_SpawnItemEx("OrangeShellCasing", 10, -12, 40, Random(2, 6), 0, Random(1, 3), Random(-80, -90), 128)
  TNT1 A 0 A_PlaySound("sentient/fire")
  BORT C 1 Bright A_CustomMissile("SentientExplosiveTracer",36,0,Random(-800,800)/100.00,0)
  TNT1 A 0 A_StopSoundEx("Weapon")	
  TNT1 A 0 A_Jump(3,"See","BFG95K","BFG10K","Railgun","SentientCardinalDTCombo","DTDevastator")
  TNT1 A 0 A_Jump(15,"CyberRockets","CyberHomingRockets")
  TNT1 A 0 A_SpidRefire
  Goto Normal+7
CyberRockets:
  BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
  BORT A 4 Bright A_Facetarget
  BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
  BORT A 4 Bright A_Facetarget
  BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
  BORT A 4 Bright A_Facetarget
  BORT AAA 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
  BORT G 3 Bright A_Custommissile("NemesisRocket", 55, -24, Random(-6, 6))
  BORT GG 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
  BORT G 3 Bright A_Facetarget
  BORT F 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
  BORT F 3 Bright A_Facetarget
  BORT F 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
  BORT F 3 Bright A_Facetarget
  BORT FFF 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
  BORT G 1 Bright A_Custommissile("NemesisRocket", 55, -24, Random(-6, 6))
  BORT GG 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
  BORT G 2 Bright A_Facetarget
  TNT1 A 0 A_Jump(128,"CyberHomingRockets","BFG95K","BFG10K","Railgun")
  TNT1 A 0 A_Jump(64,"SentientCardinalDTCombo")
  TNT1 A 0 A_Jump(32,"DTDevastator")
  Goto See
ZamasuHoamingPlasticBeam:
    TNT1 A 0 A_Changeflag(reflective,1)
	BORT F 3  Bright A_FaceTarget
    BORT G 4 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
    BORT F 3  Bright A_FaceTarget
    BORT G 4 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
    BORT F 3  Bright A_FaceTarget
    BORT G 4 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 4 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
    BORT F 3  Bright A_FaceTarget
    BORT G 4 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
    BORT F 3  Bright A_FaceTarget
    BORT G 4 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 4 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
    BORT F 3  Bright A_FaceTarget
    BORT G 4 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
    BORT F 3  Bright A_FaceTarget
    BORT G 4 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 4 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 4 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
    BORT F 3  Bright A_FaceTarget
    BORT G 4 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 4 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
    BORT F 3  Bright A_FaceTarget
    BORT G 4 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
    BORT F 3  Bright A_FaceTarget
    BORT G 4 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 4 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 1 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 2 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 2 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 2 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 2 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 1 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 1 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 1 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 1 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 1 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 1 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 1 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 1 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 1 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	BORT F 3  Bright A_FaceTarget
    BORT G 1 Bright A_CustomMissile("HomingZamasuPlasmaticBall", 58, -26,Random(-4, 4))
	TNT1 A 0 A_Changeflag(reflective,0)
  Goto See
CyberHomingRockets:
    BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 4 Bright A_Facetarget
	BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 4 Bright A_Facetarget
	BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 4 Bright A_Facetarget
	BORT AAA 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 4 Bright A_Custommissile("NemesisCyberHomingRocket", 55, -24, Random(-6, 6))
	BORT GG 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 3 Bright A_Facetarget
    BORT F 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT F 3 Bright A_Facetarget
	BORT F 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT F 3 Bright A_Facetarget
	BORT FFF 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 3 Bright A_Custommissile("NemesisCyberHomingRocket", 55, -24, Random(-6, 6))
	BORT GG 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 3 Bright A_Facetarget
	BORT G 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT F 3 Bright A_Facetarget
	BORT F 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT F 3 Bright A_Facetarget
	BORT FFF 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 3 Bright A_Custommissile("NemesisCyberHomingRocket", 55, -24, Random(-6, 6))
	BORT GG 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 3 Bright A_Facetarget
	BORT F 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT F 2 Bright A_Facetarget
	BORT F 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT F 2 Bright A_Facetarget
	BORT FFF 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 2 Bright A_Custommissile("NemesisCyberHomingRocket", 55, -24, Random(-6, 6))
	BORT GG 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 2 Bright A_Facetarget
	BORT F 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT F 2 Bright A_Facetarget
	BORT F 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT F 2 Bright A_Facetarget
	BORT FFF 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 2 Bright A_Custommissile("NemesisCyberHomingRocket", 55, -24, Random(-6, 6))
	BORT GG 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 1 Bright A_Facetarget
	BORT F 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT F 1 Bright A_Facetarget
	BORT F 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT F 1 Bright A_Facetarget
	BORT F 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT F 1 Bright A_Facetarget
	BORT FFF 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 1 Bright A_Custommissile("NemesisCyberHomingRocket", 55, -24, Random(-6, 6))
	BORT GG 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 1 Bright A_Facetarget
	TNT1 A 0 A_Jump(128,"BFG95K","BFG10K","Railgun")
	TNT1 A 0 A_Jump(52,"SentientCardinalDTCombo")
	TNT1 A 0 A_Jump(26,"DTDevastator")
    Goto See
Railgun:
	  TNT1 A 0 A_PlaySound("weapons/rgcharge")
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT F 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT F 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT F 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT F 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT F 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT F 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT F 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT F 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT F 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT F 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT F 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT F 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT F 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT F 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT F 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT G 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
      BORT G 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT G 2 Bright A_FaceTarget
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORT G 2 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
	  TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
      BORT G 1 Bright A_CustomMissile("NemesisCyberRailLaser",55,-24)
      BORT F 1 Bright A_FaceTarget
      BORT FFFFFFF 2 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 A_Jump(128,"BFG10K","BFG95K")
	  Goto See	  
BFG95K:
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	BORT DD 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT EE 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT EE 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT E 2 Bright A_CustomMissile("NemesisCyberBFG9500Ball", 34, 0, 0)
	BORT DDD 2 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	BORT DD 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT D 2 Bright A_CustomMissile("NemesisCyberBFG9500Ball", 34, 0, 0)
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT D 1 Bright A_CustomMissile("NemesisCyberBFG9500Ball", 34, 0, 0)
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT D 1 Bright A_CustomMissile("NemesisCyberBFG9500Ball", 34, 0, 0)
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT D 1 Bright A_CustomMissile("NemesisCyberBFG9500Ball", 34, 0, 0)
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT D 1 Bright A_CustomMissile("NemesisCyberBFG9500Ball", 34, 0, 0)
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT D 1 Bright A_CustomMissile("NemesisCyberBFG9500Ball", 34, 0, 0)
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT D 1 Bright A_CustomMissile("NemesisCyberBFG9500Ball", 34, 0, 0)
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	BORT EEEEEE 2 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    TNT1 A 0 A_Jump(120,"BFG10K")
	TNT1 A 0 A_Jump(50,"SentientCardinalDTCombo")
	TNT1 A 0 A_Jump(25,"DTDevastator")
    Goto See
SentientCardinalDTCombo:
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("Cardinal/9k")
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	BORT DD 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT DD 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT EE 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT EE 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT E 2 Bright A_CustomMissile("MiniNemesisBFGBall", 34, 0, 0)
	BORT DDDDDDDDDDDD 2 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("Cardinal/9k")
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT GG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT GG 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 2 Bright A_CustomMissile("MiniNemesisBFGBall", 55, -24, 0)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("Cardinal/9k")
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT GG 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT GG 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 1 Bright A_CustomMissile("MiniNemesisBFGBall", 55, -24, 0)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("Cardinal/9k")
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT GG 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT GG 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 1 Bright A_CustomMissile("MiniNemesisBFGBall", 55, -24, 0)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("Cardinal/9k")
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT GG 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT GG 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 1 Bright A_CustomMissile("MiniNemesisBFGBall", 55, -24, 0)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("Cardinal/9k")
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT GG 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT GG 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 1 Bright A_CustomMissile("MiniNemesisBFGBall", 55, -24, 0)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("Cardinal/9k")
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT GG 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT GG 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 1 Bright A_CustomMissile("MiniNemesisBFGBall", 55, -24, 0)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("Cardinal/9k")
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT GG 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT GG 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 1 Bright A_CustomMissile("MiniNemesisBFGBall", 55, -24, 0)
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	BORT FFFFFFFFFFFF 2 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_Jump(100,"DTDevastator")
	Goto See
DTDevastator:
    TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("devastator/charge")
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 2 Bright A_CustomMissile("NemesisGuruBall", 55, -24, 0)
	TNT1 A 0 A_PlaySound("devastator/charge")
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 0 A_PlaySound ("devastator/fire")
	BORT G 2 Bright A_CustomMissile("NemesisGuruBall", 55, -24, 0)
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 0 A_PlaySound ("devastator/fire")
	BORT G 2 Bright A_CustomMissile("NemesisGuruBall", 55, -24, 0)
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 0 A_PlaySound ("devastator/fire")
	BORT G 2 Bright A_CustomMissile("NemesisGuruBall", 55, -24, 0)
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 0 A_PlaySound ("devastator/fire")
	BORT G 2 Bright A_CustomMissile("NemesisGuruBall", 55, -24, 0)
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT G 0 A_PlaySound ("devastator/fire")
	BORT G 2 Bright A_CustomMissile("NemesisGuruBall", 55, -24, 0)
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	BORT FFFFFFFFFFFF 2 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_Jump (1,"FusionNuke")
	Goto See
FusionNuke:
    TNT1 A 0 A_JumpIf(user_fusionnuke == 1, "Missile")
    TNT1 A 0 A_SetUserVar("user_fusionnuke", 1)
    TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySound("weapons/nuclearmissilecharge")
	TNT1 A 0 A_ChangeFlag("NOPAIN",1)
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySoundEx("Cardihilator/NukeFire", 1, 0, 2)
	BORT G 6 Bright A_CustomMissile("FusionNuke", 55, -24, 0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySoundEx("Cardihilator/NukeFire", 1, 0, 2)
	BORT G 6 Bright A_CustomMissile("FusionNuke", 55, -24, 0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySoundEx("Cardihilator/NukeFire", 1, 0, 2)
	BORT G 6 Bright A_CustomMissile("FusionNuke", 55, -24, 0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySoundEx("Cardihilator/NukeFire", 1, 0, 2)
	BORT G 6 Bright A_CustomMissile("FusionNuke", 55, -24, 0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySoundEx("Cardihilator/NukeFire", 1, 0, 2)
	BORT G 6 Bright A_CustomMissile("FusionNuke", 55, -24, 0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySoundEx("Cardihilator/NukeFire", 1, 0, 2)
	BORT G 6 Bright A_CustomMissile("FusionNuke", 55, -24, 0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySoundEx("Cardihilator/NukeFire", 1, 0, 2)
	BORT G 6 Bright A_CustomMissile("FusionNuke", 55, -24, 0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySoundEx("Cardihilator/NukeFire", 1, 0, 2)
	BORT G 6 Bright A_CustomMissile("FusionNuke", 55, -24, 0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT FF 2 Bright A_FaceTarget	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySoundEx("Cardihilator/NukeFire", 1, 0, 2)
	BORT G 6 Bright A_CustomMissile("FusionNuke", 55, -24, 0)
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	//TNT1 A 1 A_TakeInventory("FusionNuke",1)
	BORT FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF 2 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	Goto See
BFG10K:
	BORT F 2 Bright A_Facetarget
	BORT F 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT F 2 Bright A_Facetarget
	BORT F 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT F 2 Bright A_Facetarget
	BORT F 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT E 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT H 0 Bright A_CustomMissile("Nemesis10kProjectile",34,0,Random(-4, 4))
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT E 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT H 0 Bright A_CustomMissile("Nemesis10kProjectile",34,0,Random(-4, 4))
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT E 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT H 0 Bright A_CustomMissile("Nemesis10kProjectile",34,0,Random(-4, 4))
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT E 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT H 0 Bright A_CustomMissile("Nemesis10kProjectile",34,0,Random(-4, 4))
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT E 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT H 0 Bright A_CustomMissile("Nemesis10kProjectile",34,0,Random(-4, 4))
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT E 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT H 0 Bright A_CustomMissile("Nemesis10kProjectile",34,0,Random(-4, 4))
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT E 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT H 0 Bright A_CustomMissile("Nemesis10kProjectile",34,0,Random(-4, 4))
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT E 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT H 0 Bright A_CustomMissile("Nemesis10kProjectile",34,0,Random(-4, 4))
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT E 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT H 0 Bright A_CustomMissile("Nemesis10kProjectile",34,0,Random(-4, 4))
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT E 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT H 0 Bright A_CustomMissile("Nemesis10kProjectile",34,0,Random(-4, 4))
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT E 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT H 0 Bright A_CustomMissile("Nemesis10kProjectile",34,0,Random(-4, 4))
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT E 1 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT H 0 Bright A_CustomMissile("Nemesis10kProjectile",34,0,Random(-4, 4))
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT D 3 Bright A_PlaySound("weapons/bfg15kcooldown",CHAN_AUTO)
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	BORT FFFFF 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_Jump(52,"SentientCardinalDTCombo")
	TNT1 A 0 A_Jump(26,"DTDevastator")
    Goto See  
Pain:
  BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
  BORT A 2 Bright A_Jump(35,"PainResurrect","Meteors")
  BORT A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
  BORT A 2 Bright A_pain
  Goto See
PainResurrect:
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 3 Bright
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	BORT A 3 Bright A_Pain
	TNT1 A 0 A_JumpIfInventory("SentientToken",3,"See")	
	BORT AAAA 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_GiveInventory("SentientToken",1)
	TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 Radius_Quake(10,80,0,24,0)
	TNT1 A 0 A_GiveInventory("Health",750)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    BORT F 3 Bright A_PlaySound("CerebralCardinal/Laugh")
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection",10,0,0,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection3",10,0,30,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection",10,0,60,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection3",10,0,90,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection",10,0,120,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection3",10,0,150,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection",10,0,180,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection3",10,0,210,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection",10,0,240,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection3",10,0,270,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection",10,0,300,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection3",10,0,330,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection",10,0,360,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection",10,0,15,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection3",10,0,45,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection",10,0,75,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection3",10,0,105,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection",10,0,135,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection3",10,0,165,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection",10,0,195,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection3",10,0,225,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection",10,0,255,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection3",10,0,285,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection",10,0,315,0)
	TNT1 A 0 Bright A_CustomMissile("OverlordMassResurrection3",10,0,345,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)	
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,0,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,10,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,20,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,30,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,40,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,50,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,60,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,70,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,80,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,90,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,100,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,110,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,120,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,130,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,140,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,150,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,160,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,170,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,180,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,190,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,200,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,210,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,220,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,230,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,240,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,250,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,260,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,270,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,280,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,290,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,300,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,310,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,320,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,330,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,340,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,350,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,360,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,0,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,10,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,20,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,30,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,40,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,50,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,60,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,70,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,80,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,90,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,270,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,280,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,290,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,300,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,310,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,320,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,330,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,340,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection3",10,0,350,0)
	TNT1 A 0 Bright A_CustomMissile("SentientMassResurrection",10,0,360,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("SentientBrainSFX",0,0,0,0)
	BORT F 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_UnSetInvulnerable
	BORT A 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	Goto See
   Meteors:
	  TNT1 A 0 A_JumpIfCloser(1000,1)
	  Goto Pain+1
   	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
      BORR A 3 Bright A_Pain
	  TNT1 A 0 A_JumpIfInventory("CardinalToken",3,"See")	
      BORR AAAA 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 A_GiveInventory("CardinalToken",1)
	  TNT1 A 0 Bright A_SetInvulnerable
	  TNT1 A 0 Bright Radius_Quake(10,80,0,24,0)
	  TNT1 A 0 Bright A_GiveInventory("Health",750)
      TNT1 A 0 Bright A_PlaySound("CerebralCardinal/Laugh")	  
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR E 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  BORR A 2 Bright A_SpawnItemEx("RainCometSpawner",Random(1250,-1250),Random(1250,-1250),0,0,0,0,SXF_NOCHECKPOSITION,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  TNT1 A 0 Bright A_UnSetInvulnerable
      BORR AA 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	  Goto See
Death:
    TNT1 A 0
	TNT1 A 0 Bright A_Scream
	BORR A 20 Bright A_Fall
    TNT1 AAAA 0 A_SpawnItemEx("NemesisDeathBall",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	BORT E 4 Bright A_FaceTarget
    TNT1 AAAA 0 A_SpawnItemEx("NemesisDeathBall",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	BORT E 4 Bright A_FaceTarget
    TNT1 AAAA 0 A_SpawnItemEx("NemesisDeathBall",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	TNT1 AAAAAAAAAAAAAAAA 0 A_CustomMissile("SmokeFX3", random(10,60), random(30,-30), random(0,360), 2, random(0,360))	
    TNT1 A 0 Bright A_PlaySound("CerebralCardinal/Laugh")	
	TNT1 A 0 A_SpawnItemEx("FakeZamasuLordOfEstinity",0,0,16,0,0,0,0,32)
	BORR DE 5
	TNT1 A -1 A_KillMaster
	Stop
  }
}

Actor INFZamasuLordOfEstinity : ZamasuLordOfEstinity
{
Tag "\c[s5]Zamasu Lord Of Estinity\c-"
States
{
  Spawn:
    TNT1 A 0
    TNT1 A 0 A_Jump(140,"Remove")
	TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("TrueLegendaryRuneSpawnCheck") == 2,1)
	Goto Remove
	Idle:
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	BORR A 10 A_Look
	Loop
  Remove:
	TNT1 A 1
	TNT1 A 0 A_SpawnItemEx("Cyberdemon",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	TNT1 A 0 A_ChangeFlag("COUNTKILL", FALSE)
	TNT1 A 0
	Stop
	}
}

ACTOR FakeZamasuLordOfEstinity : ZamasuLordOfEstinity
{
DamageFactor 0.55
states
{
Death:
    TNT1 A 0
	TNT1 A 0 Bright A_Scream
	BORR A 20 Bright A_Fall
	TNT1 A 0 A_SpawnItemEx("NemesisOmegaSphere",0,0,8,random(1,8),0,2,random(0,360),0)
	TNT1 A 0 A_SpawnItemEx("BeastSoulSphere",0,0,8,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("TerrorSoulSphere",0,0,8,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("ZamasuRune",0,0,8,random(0,8),random(0,8),2,random(0,360),0,0)
	TNT1 A 0 A_SpawnItemEx("ZamasuArmor",0,0,8,random(0,8),random(0,8),2,random(0,360),0,0)
	BORR DE 5
	TNT1 A -1 A_KillMaster
	Stop
  }
}

ACTOR ZamasuPlasmaticBeamBall
{
	Radius 6
	Height 8
	Speed 55
	FastSpeed 70
	Damage 72
	Projectile
	+RANDOMIZE
	+DONTREFLECT
	+NOTIMEFREEZE
	+EXTREMEDEATH
	Damagetype "Legendary"
	RenderStyle Translucent
	Alpha 1
	Scale 0.2
    SeeSound "imp/attack"
    DeathSound "comet/explosion"
	Decal "Scorch"
	States
	{
	Spawn:
	TNT1 A 1
	TNT1 A 0 A_PlaySoundEx("true/fire2", 1, 0, 2)
	Goto Fly
	Fly:
		RF66 BF 1 BRIGHT A_SpawnItem("HomingZamasuPlasmaticBallTrail")
		TNT1 A 0 A_SeekerMissile(0,2)
		TNT1 A 0 A_CustomMissile ("NemesisHellionSmokeSpawner", 0, 0, random (0, 360), 2, random (10, 40))
		Loop
	Death:
		TNT1 A 0 A_Explode(260, 192)
		KL98 ABCDEF 2 Bright A_FadeOut(0.12)
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner", 0, 0, 0, 0, 0, 0, Random(0,359))
        TNT1 AAAAAA 0 A_CustomMissile ("NemesisCyberFlameSpawner", 0, 0, random (0, 360), 2, random (0, 180))
		TNT1 A 0 A_SpawnItemEx("NemesisDeathBall",0,0,0,0,0,0,0,128,0)
	    EXPL A 0 Radius_Quake(15,20,0,20,0)
		BEXP B 0 BRIGHT A_Scream
        TNT1 A 0 A_ALertMonsters
		Stop
	}
}

ACTOR HomingZamasuPlasmaticBall : ZamasuPlasmaticBeamBall
{
    +SEEKERMISSILE
	States
	{
	Spawn:
	TNT1 A 1
	TNT1 A 0 A_PlaySoundEx("true/fire2", 1, 0, 2)
	Goto Fly
	Fly:
		RF66 BF 1 BRIGHT A_SpawnItem("HomingZamasuPlasmaticBallTrail")
		TNT1 A 0 A_SeekerMissile(0,2)
		TNT1 A 0 A_CustomMissile ("NemesisHellionSmokeSpawner", 0, 0, random (0, 360), 2, random (10, 40))
		Loop
	Death:
		TNT1 A 0 A_Explode(260, 192)
		KL98 ABCDEF 2 Bright A_FadeOut(0.12)
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner", 0, 0, 0, 0, 0, 0, Random(0,359))
        TNT1 AAAAAA 0 A_CustomMissile ("NemesisCyberFlameSpawner", 0, 0, random (0, 360), 2, random (0, 180))
		TNT1 A 0 A_SpawnItemEx("NemesisDeathBall",0,0,0,0,0,0,0,128,0)
        TNT1 A 0 A_ALertMonsters
		Stop
	}
}

ACTOR HomingZamasuPlasmaticBallTrail
{
	+MISSILE
	+NOGRAVITY
	+THRUACTORS
	+CLIENTSIDEONLY
    +NOTIMEFREEZE
	RenderStyle Add
	Alpha 0.6
	Speed 1
	SCALE 0.5
	States
	{
	Spawn:
	TNT1 A 0
	    TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "Toaster")
	    TNT1 A 1
		OP32 ABCDEFGHI 1 BRIGHT
		Stop
Toaster:
    TNT1 A 0
    Stop
	}
}