ACTOR NemesisAnnihilator : LegendaryCyberdemon //Close enough
{
//Creator: GDWolf
//Origin: Complex Very Strong Monsters
//Sprite: 39PI/39IP
//Title: "Nemesis Annihilator"
Health 12500
Scale 1.2
Speed 20
PainChance 0
BloodColor "Black"
Obituary "%o learned the hard way that no one can beat the Nemesis Annihilator."
DamageFactor "PlayerNemesisPlasma", 0.0
DamageFactor "Explosion", 0.05
DamageFactor "DTRailgun", 0.4
DamageFactor "PDTPuff", 0.4
DamageFactor "RailG", 0.3
DamageFactor "T3rm", 0.0
PainChance "Explosion", 256
DamageFactor "Cyber10K", 0.0
DamageFactor "PDTBFG", 0.01
DamageFactor "PDTBFGTracer", 0.01
DamageFactor "Legendary", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "LegendaryGuruPlayer", 0.3
DamageFactor "LegendaryPlayer", 0.3
DamageFactor "BFGSplash", 0.2
DamageFactor "BFGSpray", 0.2
DamageFactor "CerEnergyBall", 0.0
DamageFactor "PlayerDevBall", 0.005
DamageFactor "PlayerDevBall2", 0.005
DamageFactor "PlayerDTBFGRailgunSlug", 0.005
DamageFactor "PlayerDevTracer", 0.005
DamageFactor "DemolisherEx", 0.0
DamageFactor "DarkDemoEx", 0.0
DamageFactor "CerChainguns", 0.0	
DamageFactor "CerEnergyBall", 0.0
DamageFactor "PlayerDTRG", 0.3
DamageFactor "DBFG10K2", 0.65
DamageFactor "PlayerDBFG10K2", 0.65
DamageFactor "DBFG2", 0.65
DamageFactor "PlayerDBFG2", 0.65
DamageFactor "PyroShot", 0.0
DamageFactor "PlayerPyro", 0.0
DamageFactor "PDTPuff", 0.0
DamageFactor 0.40
PainChance "PlayerDBFG2", 256
PainChance "DBFG2", 256
PainChance "PlayerDBFG10K2", 256
DropItem "NemesisHealthBonusMax", 256, 64
DropItem "NemesisArmorBonus64", 256
DropItem "NemesisHealthBonusMax", 256, 64
DropItem "NemesisArmorBonus64", 256
DropItem "NemesisSuperSphere" 215
DropItem "UpgradedNemesisArmor" 215
DropItem "NemesisAmmoSphere", 128, 1
DropItem "NemesisTimeFreezeSphere" 100 1
DropItem "LegDemonRune", 80, 1
DropItem "NemesisRuneSpawnerTier4", 256, 1
DropItem "NemesisRuneSpawnerTier4", 256, 1
DropItem "DemonicChalice", 256, 2
DropItem "SkullOfPower", 256, 2
DropItem "NemesisDemonicEnergy", 256
DropItem "NemesisGreaterDemonicEnergy", 256
DropItem "NemesisShell", 256
DropItem "NemesisShellBox", 130
DropItem "Nemesis Rifle", 200
DropItem "Nemesis Plasmatic Cannon", 200
DropItem "Nemesis Assault Shotgun", 200
DropItem "Nemesis Sawed-Off Shotgun", 200
DropItem "Nemesis BFG", 256
DropItem "NemesisBFG10K", 256
DropItem "TrueLegendaryRune" 25 1
SeeSound "Legannihi/see"
Tag "\c[g3]Nemesis Annihilator\c-"
var int user_missile;
States 
{    
  Spawn: 
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	39PI A 10 Bright A_Look
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	39PI A 10 Bright A_Look
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	39IP A 10 Bright A_Look
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	39IP A 10 Bright A_Look
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	Loop 
  See: 
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,2025)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_Jump(90,"Rush")
	TNT1 A 0 A_Jump(40,"Teleport")
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	39PI A 3 Bright A_Playsound("monsters/clhoof")
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	39PI ABB 3 Bright A_Chase	
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	39PI A 3 Bright A_Playsound("monsters/clhoof") 
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	39PI BBBB 3 Bright A_Chase 	 
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	Loop
  Rush:
	TNT1 A 0 A_Hoof
	39PI A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisAnnihiGhostA",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	39PI A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisAnnihiGhostA",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	39PI A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisAnnihiGhostA",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	39PI B 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisAnnihiGhostA",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	39PI A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisAnnihiGhostA",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	39PI B 2 Bright A_Chase
	TNT1 A 0 A_Metal
	TNT1 A 0 A_SpawnItemEx("NemesisAnnihiGhostA",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	39PI A 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisAnnihiGhostA",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	39PI B 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisAnnihiGhostA",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	TNT1 A 0 A_Jump(30,"Teleport")
	TNT1 A 0 A_Jump(80,"See")	
	Loop	
  Teleport:
	39PI A 1 Bright A_UnSetShootable
	39PI AAAAAAAAAAAAA 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI AAAAAAAAAA 1 A_FadeOut(0.1,0)
	39PI A 2
	39PI AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	39PI AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA  0 A_Wander
	39PI A 1 A_PlayWeaponSound("boss/teleport")
	39PI AAAAAAAAAAAAA 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI AAAAAAAAAA 1 A_FadeIn(0.1)
	39PI A 1 Bright A_SetShootable
	Goto See	
  Missile:
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_JumpIfCloser(290,"LegendaryNades")
	TNT1 A 0 A_Jump(195,"LegendaryRailguns","LegendaryBFG95ks","LegSeekers","LegendaryBFG10Ks","AkimboRif","LegendaryBFG15Ks","LegendaryStomp","LegendaryDTBFG","LegendaryDevastator")
	TNT1 A 0 A_Jump(25,"LegendaryBFGs","LegendaryCombo")
  Normal:
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisRocket", 60, -26, 0)
	39PI C 12 Bright
	TNT1 A 0 A_Jump(128,"LegSeekers")
	Goto See
  LegSeekers:
	39PI A 12 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisCyberHomingRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisCyberHomingRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisCyberHomingRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisCyberHomingRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisCyberHomingRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisCyberHomingRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisCyberHomingRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisCyberHomingRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisCyberHomingRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisCyberHomingRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisCyberHomingRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisCyberHomingRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisCyberHomingRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisCyberHomingRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisCyberHomingRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisCyberHomingRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisCyberHomingRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisCyberHomingRocket", 60, -26, 0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_CustomMissile("NemesisCyberHomingRocket", 60, 26, 0)
	39PI C 5 Bright A_CustomMissile("NemesisCyberHomingRocket", 60, -26, 0)
	39PI C 12 Bright
	TNT1 A 0 A_Jump(129,"LegendaryRailguns")
	Goto See
  LegendaryNades:
	39PI A 12 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	TNT1 A 0 A_CustomMissile("NemesisGrenade", 60, 26, 0, CMF_AIMOFFSET, 4.328125)
	39PI C 5 Bright A_CustomMissile("NemesisGrenade", 60, -26, 0, CMF_AIMOFFSET, 4.328125)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	TNT1 A 0 A_CustomMissile("NemesisGrenade", 60, 26, 0, CMF_AIMOFFSET, 4.328125)
	39PI C 5 Bright A_CustomMissile("NemesisGrenade", 60, -26, 0, CMF_AIMOFFSET, 4.328125)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	TNT1 A 0 A_CustomMissile("NemesisGrenade", 60, 26, 0, CMF_AIMOFFSET, 4.328125)
	39PI C 5 Bright A_CustomMissile("NemesisGrenade", 60, -26, 0, CMF_AIMOFFSET, 4.328125)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	TNT1 A 0 A_CustomMissile("NemesisGrenade", 60, 26, 0, CMF_AIMOFFSET, 4.328125)
	39PI C 5 Bright A_CustomMissile("NemesisGrenade", 60, -26, 0, CMF_AIMOFFSET, 4.328125)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	TNT1 A 0 A_CustomMissile("NemesisGrenade", 60, 26, 0, CMF_AIMOFFSET, 4.328125)
	39PI C 5 Bright A_CustomMissile("NemesisGrenade", 60, -26, 0, CMF_AIMOFFSET, 4.328125)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire")
	TNT1 A 0 A_CustomMissile("NemesisGrenade", 60, 26, 0, CMF_AIMOFFSET, 4.328125)
	39PI C 5 Bright A_CustomMissile("NemesisGrenade", 60, -26, 0, CMF_AIMOFFSET, 4.328125)
	39PI C 12 Bright
	TNT1 A 0 A_Jump(178,"Normal")
	Goto See
  LegendaryStomp:
	39PI A 10 Bright A_FaceTarget
	TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner2",0,0,0,0)
	39PI A 3 Bright A_PlaySoundEx("Legcyber/laugh4","LAUGH3")
	39PI AAAAAAAAAAAAAAAAAAAAAAAAAAAAA 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_UnsetInvulnerable
	39PI A 7 Bright A_FaceTarget
	39PI A 5 Bright A_FaceTarget
	TNT1 A 0 Radius_Quake(40,80,0,40,0)	
	39PI B 6 Bright A_PlaySound("monsters/darkcyberstomp")
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 0)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 10)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 20)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 30)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 40)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 50)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 60)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 70)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 80)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 90)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 100)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 110)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 120)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 130)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 140)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 150)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 160)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 180)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 190)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 200)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 210)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 220)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 230)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 240)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 250)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 260)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 270)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 280)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 290)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 300)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 310)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 320)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 330)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 340)
	39PI B 0 A_CustomMissile("LegCyberQuake", 0, -48, 350)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,0,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,15,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-15,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,30,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-30,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,45,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-45,0)	
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,60,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-60,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-80,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,80,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,100,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-100,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,120,0)	
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-120,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,150,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-150,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,170,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-170,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,190,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-190,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,220,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-220,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,250,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-250,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,280,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-280,0)	
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,300,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-300,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,330,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-330,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,360,0)
	39PI BBB 20 Bright A_FaceTarget
	39PI A 15 Bright A_FaceTarget
	TNT1 A 0 Radius_Quake(10,80,0,24,0)	
	39PI B 6 Bright A_PlaySound("monsters/darkcyberstomp")
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,0,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,15,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-15,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,30,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-30,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,45,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-45,0)	
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,60,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-60,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-80,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,80,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,100,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-100,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,120,0)	
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-120,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,150,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-150,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,170,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-170,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,190,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-190,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,220,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-220,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,250,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-250,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,280,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-280,0)	
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,300,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-300,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,330,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-330,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,360,0)
	39PI B 2 Bright A_CustomMissile("LegendaryCyberFireSpawner",0,0,-360,0)
	39PI A 15 Bright A_FaceTarget
	TNT1 A 0 Radius_Quake(10,80,0,24,0)	
	39PI B 6 Bright A_PlaySound("monsters/darkcyberstomp")
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,0,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,15,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-15,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,30,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-30,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,45,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-45,0)	
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,60,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-60,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-80,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,80,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,100,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-100,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,120,0)	
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-120,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,150,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-150,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,170,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-170,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,190,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-190,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,220,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-220,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,250,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-250,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,280,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-280,0)	
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,300,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-300,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,330,0)
	TNT1 A 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,-330,0)
	39PI B 0 A_CustomMissile("LegendaryCyberFireSpawner",0,0,360,0)
	39PI B 2 Bright A_CustomMissile("LegendaryCyberFireSpawner",0,0,-360,0)
	39PI B 70 Bright
	TNT1 A 0 A_Jump(130,"LegSeekers","AkimboRif","LegendaryBFGs","LegendaryRailguns","LegendaryBFG10Ks","LegendaryBFG95ks","LegendaryBFG15Ks","LegendaryDTBFG")
	Goto See
  LegendaryRailguns:
	TNT1 A 0 A_PlaySound("weapons/rgcharge")
	39PI AA 3 Bright A_FaceTarget
	39PI C 7 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,-22,0)
	39PI C 5 Bright A_CustomMissile("NemesisCyberRailLaser",60,22,0)
	39PI CCC 5 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI C 5 Bright A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI CCC 4 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI C 4 Bright A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 4 Bright A_FaceTarget
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeOut(0.1,0)
	39PI CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 0 A_Wander
	39PI C 20 
	39PI C 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	39PI CCCCCCCCCCC 1 A_FadeIn(0.1)	
	TNT1 A 0 A_SetShootable
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 10 Bright A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI CC 3 Bright A_FaceTarget
	39PI C 2 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 2 Bright A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI CC 3 Bright A_FaceTarget
	39PI C 2 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 2 Bright A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI CC 3 Bright A_FaceTarget
	39PI C 2 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 2 A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI CC 3 Bright A_FaceTarget
	39PI C 2 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 2 Bright A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI CC 3 Bright A_FaceTarget
	39PI C 2 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 2 Bright A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI CC 3 Bright A_FaceTarget
	39PI C 2 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 2 Bright A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI CC 2 Bright A_FaceTarget
	39PI C 1 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 2 Bright A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI CC 2 Bright A_FaceTarget
	39PI C 1 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 1 Bright A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI C 2 Bright A_FaceTarget
	39PI C 1 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 1 Bright A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI C 2 Bright A_FaceTarget
	39PI C 1 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 1 Bright A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI C 1 Bright A_FaceTarget
	39PI C 1 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 1 Bright A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI C 1 Bright A_FaceTarget
	39PI C 1 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 1 Bright A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI C 1 Bright A_FaceTarget
	39PI C 1 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 1 Bright A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI C 1 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 1 Bright A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI C 1 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 1 Bright A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI C 1 Bright A_FaceTarget
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeOut(0.1,0)
	39PI CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 0 A_Wander
	39PI C 20
	39PI C 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeIn(0.1)	
	TNT1 A 0 A_SetShootable
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,-22,random(-6,6))
	39PI C 10 Bright A_CustomMissile("NemesisCyberRailLaser",60,22,random(-6,6))
	39PI C 15 Bright
	TNT1 A 0 A_Jump(125,"LegendaryBFG95Ks")
	TNT1 A 0 A_Jump(30,"LegendaryCombo")
	Goto See
  LegendaryBFGs:
    TNT1 A 0 A_SetUserVar(user_missile,0)
	39PI A 30 Bright A_FaceTarget
	TNT1 A 0 A_SetInvulnerable
	39PI C 3 Bright A_PlaySoundEx("monster/laugh","TBBCSPT1")
	39PI C 3 Bright A_PlaySoundEx("Legcyber/BFG","GURUCHRG")	
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	39PI C 3 Bright A_PlaySoundEx("Legcyber/BFG","GURUCHRG")
  LegendaryBFGLoop:
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_JumpIf(user_missile >= 37,"LegendaryBFGEnd")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
  LegendaryBFGEnd:
	TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_PlayWeaponSound("Weapons/GuruFire")
  	TNT1 A 0 A_PlayWeaponSound("Weapons/GuruAddFire")
	39PI C 0 A_CustomMissile("NemesisGuruBall",60,-26,0)
	39PI C 5 A_CustomMissile("NemesisGuruBall",60,26,0)
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeOut(0.1,0)
	39PI CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 0 A_Wander
	39PI C 20
	39PI C 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeIn(0.1)	
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_PlayWeaponSound("Weapons/GuruFire")
    TNT1 A 0 A_PlayWeaponSound("Weapons/GuruAddFire")
	39PI C 0 A_CustomMissile("NemesisGuruBall",60,-26,0)
	39PI C 5 Bright A_CustomMissile("NemesisGuruBall",60,26,0)
	39PI C 60 Bright A_faceTarget
	TNT1 A 0 A_Jump(50,"LegendaryCombo")
	Goto See
  LegendaryBFG95Ks:
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	39PI C 10 Bright A_FaceTarget
	39PI C 10 Bright A_FaceTarget
	39PI C 8 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisSentientBFG9500Ball",60,-22,0)	
	39PI C 3 Bright A_CustomMissile("NemesisSentientBFG9500Ball",60,22,0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	39PI C 10 Bright A_FaceTarget
	39PI C 10 Bright A_FaceTarget
	39PI C 8 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisSentientBFG9500Ball",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("NemesisSentientBFG9500Ball",60,22,Random(-4,4))
	39PI C 5 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	39PI C 10 Bright A_FaceTarget
	39PI C 10 Bright A_FaceTarget
	39PI C 8 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisSentientBFG9500Ball",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("NemesisSentientBFG9500Ball",60,22,Random(-4,4))
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfgf")
	39PI C 10 Bright A_FaceTarget
	39PI C 10 Bright A_FaceTarget
	39PI C 8 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisSentientBFG9500Ball",60,-22,0)	
	39PI C 3 Bright A_CustomMissile("NemesisSentientBFG9500Ball",60,22,0)
	39PI C 5 Bright A_FaceTarget
	TNT1 A 0 A_Jump(128,"LegendaryBFG15Ks")
	TNT1 A 0 A_Jump(30,"LegendaryCombo")
	Goto See	
  LegendaryBFG15Ks:
    TNT1 A 0 A_SetUserVar(user_missile,0)
	TNT1 A 0 A_PlaySound("weapons/charge15k")
	39PI A 18 Bright A_FaceTarget
	39PI A 6 Bright A_FaceTarget
  BFG15KLoop1:
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("NemDevastatorBall",60,-22,Random(-4, 4))
	39PI C 4 Bright A_CustomMissile("NemDevastatorBall",60,22,Random(-4, 4))
	39PI C 4 Bright A_FaceTarget
	TNT1 A 0 A_JumpIf(user_missile >= 3,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
	TNT1 A 0 A_SetUserVar(user_missile,0)
  BFG15KLoop2:
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("NemDevastatorBall",60,-22,Random(-4, 4))
	39PI C 3 Bright A_CustomMissile("NemDevastatorBall",60,22,Random(-4, 4))
	39PI C 3 Bright A_FaceTarget
	TNT1 A 0 A_JumpIf(user_missile >= 7,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
	TNT1 A 0 A_SetUserVar(user_missile,0)
  BFG15KLoop3:
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("NemDevastatorBall",60,-22,Random(-4, 4))
	39PI C 2 Bright A_CustomMissile("NemDevastatorBall",60,22,Random(-4, 4))
	39PI C 2 Bright A_FaceTarget
	TNT1 A 0 A_JumpIf(user_missile >= 6,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
	TNT1 A 0 A_SetUserVar(user_missile,0)
  BFG15KLoop4:
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("NemDevastatorBall",60,-22,Random(-4, 4))
	39PI C 1 Bright A_CustomMissile("NemDevastatorBall",60,22,Random(-4, 4))
	39PI C 1 Bright A_FaceTarget
	TNT1 A 0 A_JumpIf(user_missile >= 5,2)
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
	39PI C 20 Bright A_PlaySound("weapons/bfg15kcooldown",CHAN_AUTO)
	TNT1 A 0 A_Jump(124,"LegendaryBFG10Ks")
	TNT1 A 0 A_Jump(30,"LegendaryCombo")
	Goto See
  LegendaryBFG10Ks:
	TNT1 A 0 A_PlaySound("weapons/charge15k")
	39PI C 18 Bright A_FaceTarget
	39PI C 6 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 4 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 3 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 3 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 3 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 3 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 3 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 3 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 3 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 3 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 3 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 2 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 2 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 2 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 2 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 2 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 1 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 1 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 1 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 1 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 1 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 1 Bright A_FaceTarget	
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 1 Bright A_FaceTarget	
	39PI C 20 Bright A_PlaySound("weapons/bfg15kcooldown",CHAN_AUTO)
	TNT1 A 0 A_Jump(110,"AkimboRif")
	TNT1 A 0 A_Jump(30,"LegendaryCombo")
	Goto See
  LegendaryCombo:
    TNT1 A 0 A_SetUserVar(user_missile,0)
	39PI C 30 Bright A_FaceTarget
	TNT1 A 0 A_SetInvulnerable
	39PI C 3 Bright A_PlaySoundEx("monster/laugh","TBBCSPT1")
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
  LegendaryComboLoop:
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
	TNT1 A 0 A_JumpIf(user_missile >= 37,"LegendaryComboEnd")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
  LegendaryComboEnd:
	TNT1 A 0 A_UnsetInvulnerable
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeOut(0.1,0)
	39PI CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 0 A_Wander
	39PI C 20
	39PI C 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	39PI CCCCCCCCCCC 1 A_FadeIn(0.1)	
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisSentientBFG9500Ball",60,-22,0)	
	39PI C 4 Bright A_CustomMissile("NemesisSentientBFG9500Ball",60,22,0)
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeOut(0.1,0)
	39PI CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 0 A_Wander
	39PI C 20
	39PI C 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	39PI CCCCCCCCCCC 1 A_FadeIn(0.1)	
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeOut(0.1,0)
	39PI CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 0 A_Wander
	39PI C 20
	39PI C 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeIn(0.1)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("NemDevastatorBall",60,-22,Random(-4, 4))
	39PI C 4 Bright A_CustomMissile("NemDevastatorBall",60,22,Random(-4, 4))	
	39PI C 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("NemDevastatorBall",60,-22,Random(-4, 4))
	39PI C 4 Bright A_CustomMissile("NemDevastatorBall",60,22,Random(-4, 4))
	39PI C 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("NemDevastatorBall",60,-22,Random(-4, 4))
	39PI C 4 Bright A_CustomMissile("NemDevastatorBall",60,22,Random(-4, 4))
	TNT1 A 0 A_PlaySound("weapons/charge15k")
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeOut(0.1,0)
	39PI CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 0 A_Wander
	39PI C 20
	39PI C 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeIn(0.1)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))	
	39PI C 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/bfg15kfire")
	39PI C 0 A_CustomMissile("Nemesis10KProjectile",60,-22,Random(-4,4))	
	39PI C 3 Bright A_CustomMissile("Nemesis10KProjectile",60,22,Random(-4,4))
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeOut(0.1,0)
	39PI CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 0 A_Wander
	39PI C 20
	39PI C 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeIn(0.1)
	TNT1 A 0 A_FaceTarget
	39PI C 0 A_PlaySound ("Cardinal/9k")
	39PI C 0 A_CustomMissile("MiniNemesisBFGBall",60,-26,0)
	39PI C 5 Bright A_CustomMissile("MiniNemesisBFGBall",60,26,0)
	39PI C 5 A_FaceTarget
	39PI C 0 A_PlaySound ("Cardinal/9k")
	39PI C 0 A_CustomMissile("MiniNemesisBFGBall",60,-26,0)
	39PI C 5 Bright A_CustomMissile("MiniNemesisBFGBall",60,26,0)
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeOut(0.1,0)
	39PI CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 0 A_Wander
	39PI C 20
	39PI C 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	39PI EEEEEEEEEEEEE 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI EEEEEEEEEEE 1 A_FadeIn(0.1)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_PlaySound("devastator/charge")
	39PI C 0 A_PlaySound ("devastator/fire")
	39PI C 0 A_CustomMissile("NemesisCyberBigBall",60,-26,0)
	39PI C 5 Bright A_CustomMissile("NemesisCyberBigBall",60,26,0)
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeOut(0.1,0)
	39PI CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 0 A_Wander
	39PI C 20
	39PI C 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeIn(0.1)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_PlaySound("weapons/rgcharge")
	39PI C 0 A_CustomMissile("NemesisCyberRailLaser",60,-22,0)
	39PI C 10 Bright A_CustomMissile("NemesisCyberRailLaser",60,22,0)
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeOut(0.1,0)
	39PI CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 0 A_Wander
	39PI C 20
	39PI C 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeIn(0.1)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_SetInvulnerable
	39PI C 3 Bright A_PlaySoundEx("monster/laugh","TBBCSPT1")
	39PI C 3 Bright A_PlaySoundEx("Legcyber/BFG","GURUCHRG")	
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	39PI C 3 Bright A_PlaySoundEx("Legcyber/BFG","GURUCHRG")	
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeOut(0.1,0)
	39PI CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 0 A_Wander
	39PI C 20
	39PI C 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeIn(0.1)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeOut(0.1,0)
	39PI CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 0 A_Wander
	39PI C 20
	39PI C 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeIn(0.1)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
	TNT1 A 0 A_UnsetInvulnerable
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeOut(0.1,0)
	39PI CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 0 A_Wander
	39PI C 20
	39PI C 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	39PI CCCCCCCCCCCCC 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
	39PI CCCCCCCCCCC 1 A_FadeIn(0.1)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_PlayWeaponSound("Weapons/GuruFire")
  	TNT1 A 0 A_PlayWeaponSound("Weapons/GuruAddFire")
	39PI C 0 A_CustomMissile("NemesisGuruBall",60,-26,0)
	39PI C 5 Bright A_CustomMissile("NemesisGuruBall",60,26,0)
	Goto See
  AkimboRif:
	39PI A 30 Bright A_FaceTarget
	TNT1 A 0 A_SetInvulnerable
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
	39PI C 3 Bright A_PlaySoundEx("Legcyber/laugh2","LAUGH2")
  AkimboRifLoop:
	TNT1 A 0 A_FaceTarget
	39PI C 3 Bright A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
	TNT1 A 0 A_JumpIf(user_missile >= 35,"AkimboRifEnd")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
  AkimboRifEnd:
	TNT1 A 0 A_UnsetInvulnerable
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 3 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("NemesisRifleShotEnemy",60,22,Random(100,-100)/100.00,0)
	39PI C 3 Bright A_CustomMissile("NemesisRifleShotEnemy",60,-22,Random(100,-100)/100.00,0)
	TNT1 A 0 A_PlayWeaponSound("BlueDTRFire")
	39PI C 30 Bright A_PlaySoundEx("Legcyber/amhalt","DECHST")
	TNT1 A 0 A_Jump(95,"LegendaryStomp")
	TNT1 A 0 A_Jump(90,"LegendaryDTBFG")
	TNT1 A 0 A_Jump(80,"LegendaryDevastator")
	TNT1 A 0 A_Jump(30,"LegendaryCombo")
	Goto See
  LegendaryDTBFG:
	39PI C 0 A_PlaySound ("Cardinal/9k")
	39PI C 20 Bright A_FaceTarget
	39PI C 15 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("MiniNemesisBFGBall",60,-26,0)
	39PI C 5 Bright A_CustomMissile("MiniNemesisBFGBall",60,26,0)
	39PI C 20 A_FaceTarget
	39PI C 0 A_PlaySound ("Cardinal/9k")
	39PI C 20 A_FaceTarget
	39PI C 15 Bright A_FaceTarget
	39PI C 0 A_CustomMissile("MiniNemesisBFGBall",60,-26,0)
	39PI C 5 Bright A_CustomMissile("MiniNemesisBFGBall",60,26,0)
	39PI C 30 Bright
	TNT1 A 0 A_Jump(90,"LegendaryBFGs")
	TNT1 A 0 A_Jump(25,"LegendaryCombo")
	TNT1 A 0 A_Jump(80,"LegendaryDevastator")
	Goto See
  LegendaryDevastator:
	TNT1 A 0 A_PlaySound("devastator/charge")
	39PI CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC 2 Bright A_FaceTarget
	39PI C 0 A_PlaySound ("devastator/fire")
	39PI C 0 A_CustomMissile("NemesisCyberBigBall",60,-26,0)
	39PI C 5 Bright A_CustomMissile("NemesisCyberBigBall",60,26,0)
	39PI C 50 Bright
	TNT1 A 0 A_Jump(95,"LegendaryBFGs")
	Goto See
  Pain:
	TNT1 A 0 A_Jump(130,"PainMissile")
	TNT1 A 0 A_Jump(80,"Teleport")
	TNT1 A 0 A_Jump(75,"Healing")
	39PI D 10 Bright A_Pain
	Goto See
  Pain.DBFG10K2:
  Pain.PlayerDBFG10K2:
  Pain.DBFG2:
  Pain.PlayerDBFG2:
	TNT1 A 0 A_Jump(250, "Teleport")
	Goto PainMissile
  Healing:
	TNT1 A 0 A_PlaySoundEx("Legcyber/heal","HEAL")
	TNT1 A 0 A_SetInvulnerable
	39PI D 2 Bright HealThing(450)
	39PI DDDDDDDDDDDDDDDDDDDDDDDD 2 Bright A_SpawnItem("DarkAnniFlameSpawner",0,0,0,0)
	TNT1 A 0 A_UnSetInvulnerable
	39PI D 2 Bright
	Goto See
  PainMissile:
	39PI D 10 Bright A_Pain
	Goto Missile
  Death:
	TNT1 A 0 A_StopSound(6)
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_SetUserVar(user_missile,0)
	39PI C 3 Bright A_PlaySoundEx("Legcyber/BFG","GURUCHRG")
  DeathLoop:
	39PI C 2 Bright A_SpawnItemEx("WhiteNemesisKaboom",random(-32,32),random(-40,40),random(16,48),random(-4,4),random(-4,4),random(0,4),0,SXF_TRANSFERPOINTERS)
	39PI C 0 A_FaceTarget
	TNT1 A 0 A_JumpIf(user_missile >= 55,"DeathEnd")
	TNT1 A 0 A_SetUserVar(user_missile,user_missile+1)
	Loop
  DeathEnd:
	TNT1 A 0 A_PlayWeaponSound("Weapons/GuruFire")
  	TNT1 A 0 A_PlayWeaponSound("Weapons/GuruAddFire")
	39PI C 0 A_CustomMissile("NemesisGuruBall",60,-26,0)
	39PI C 5 Bright A_CustomMissile("NemesisGuruBall",60,26,0)
	39PI DDDDDDDDDDDDDDE 10 Bright
	39PI F 10 Bright A_Scream
	39PI FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHH 2 Bright A_SpawnItemEx("PainfulDeathKaboom",random(-32,32),random(-40,40),random(16,48),random(-4,4),random(-4,4),random(0,4),0,SXF_TRANSFERPOINTERS)
	TNT1 AA 0 A_SpawnItemEx("NemesisGibbedGeneratorFX",Random(10,-10),Random(10,-10),Random(20,60),0,0,0,0,128,0)
	39PI IJ 10 Bright
	TNT1 A 0 A_SpawnItem("NemesisDeathBall")
	39PI J 10 Bright A_NoBlocking
	39PI KL 10 Bright
	39PI M 30 Bright
	39PI M -1 A_BossDeath
	Stop	
	}
}

ACTOR NemesisAnnihiGhostA
{
Scale 1.2
RENDERSTYLE Translucent
Alpha 0.75
+NOGRAVITY
+CLIENTSIDEONLY
+DONTSPLASH
+NOINTERACTION
+NOCLIP
States
{
Spawn:
    TNT1 A 0
    TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "Toaster")
    39PI A 2 A_FadeOut(0.18)
    Loop
  Toaster:
    TNT1 A 0
	Stop	
    }
}
