Actor NemesisExos //Dodging me? That's cute. Try respawning.
{
//Creator: GDWolf and Makarov
//Origin: Infinity Gods
//Sprite: C725
//Title: "NemesisExos"
Monster
Health 15000
WoundHealth 0
GibHealth 5000
Height 100//110
Radius 35//40
Mass 10000
Speed 40
PainChance 20
+BOSS
+NOFEAR
+BOSSDEATH
+NOICEDEATH
+DONTRIP
+NORADIUSDMG
+DONTMORPH
+TELESTOMP
+NOTELEFRAG
+NOTARGET
-NOINFIGHTING
+ALWAYSFAST
+NOBLOOD
+FLOORCLIP
+NEVERRESPAWN
+SEEINVISIBLE
+MISSILEMORE
+QUICKTORETALIATE
+DONTHARMSPECIES
+NOTIMEFREEZE
Species "Cybers"
Damagetype "NemesisExos"
DamageFactor "PDTBFG", 0.05
 DamageFactor "PDTBFGTracer", 0.05
  DamageFactor "Cyber10K", 0.0
   DamageFactor "Legendary", 0.0
   DamageFactor "LegendaryGuru", 0.0
   DamageFactor "LegendaryGuruPlayer", 0.3
   DamageFactor "LegendaryPlayer", 0.3
   DamageFactor "PlayerBHole", 0.0
   DamageFactor "BFGSplash", 0.25
   DamageFactor "BFGSpray", 0.25
   DamageFactor "PlayerDevBall", 0.025
   DamageFactor "PlayerDevBall2", 0.025
   DamageFactor "PlayerDTBFGRailgunSlug", 0.025
   DamageFactor "PlayerDevTracer", 0.025
   DamageFactor "PlayerDTRG", 0.2
   DamageFactor "Railg", 0.5
   DamageFactor "DemolisherEx", 0.0
   DamageFactor "DarkDemoEx", 0.0
   DamageFactor "CerChainguns", 0.0
   DamageFactor "CerEnergyBall", 0.0
   DamageFactor "LegMind", 0.0
   DamageFactor "SuperWeapon", 0.0
   DamageFactor "Term", 0.0
   DamageFactor "CDTBFG", 0.0
   DamageFactor "DBFG10K", 0
   DamageFactor "PlayerDBFG10K", 0
   DamageFactor "DBFG", 0
   DamageFactor "PlayerDBFG2", 0
   DamageFactor "DBFG210K", 0
   DamageFactor "PlayerDBFG210K", 0
   DamageFactor "PlayerDBFG", 0
   DamageFactor "DBFG2Splash", 0
   DamageFactor "UltimateLegendary", 0.0
   DamageFactor "BeheComet", 0.0
   DamageFactor "Extreme", 0.0
   Damagefactor "Baby15K", 0.0
   DamageFactor "CacoComet", 0.0
   DamageFactor "CadaverRocket", 0.0
   DamageFactor "NobleCOmet", 0.0
   DamageFactor "HFCyber", 0.0
   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 "PlayerNemesisPlasma", 0.0
   DamageFactor "Explosion", 0.01
   DamageFactor "DTRailgun", 0.4
   DamageFactor "PDTPuff", 0.4
  DamageFactor "RailG", 0.3
 DamageFactor 0.34
DamageFactor "Exos", 0.0
DamageFactor "NemesisExos", 0.0
DamageFactor "SS", 0.0
DamageFactor "RST", 0.0
DamageFactor "MiniRocket", 0.0
DamageFactor "ZombieDev", 0.0
DamageFactor "Legendary1", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "UltimateLegendary", 0.0
DamageFactor "Terminator", 0.0
DamageFactor "Nobles", 0.0
DamageFactor "VileFires", 0.0
DamageFactor "DarkBruiserBFG10K", 0.0
DamageFactor "DarkBruiserRailgunSlug", 0.0
DamageFactor "Cybers", 0.0
DamageFactor "Cyber10K", 0.0
DamageFactor "DemolisherEx", 0.0
DamageFactor "DarkDemoEx", 0.0
DamageFactor "CerChainguns", 0.0
DamageFactor "CerEnergyBall", 0.0
DamageFactor "LegMind", 0.0
DamageFactor "BeheComet", 0.0
DamageFactor "NobleComet", 0.0
DamageFactor "CacoComet", 0.0
DamageFactor "CadaverRocket", 0.0
DamageFactor "DBFG2", 0.0
DamageFactor "DBFG10K2", 0.0
DamageFactor "DBFGSplash2", 0.0
DamageFactor "Hell", 0.0
DamageFactor "HellComet", 0.0
DamageFactor "HFCyber", 0.0
DropItem "NemesisHealthBonusMax", 256, 40
DropItem "NemesisArmorBonus64", 256
DropItem "NemesisHealthBonusMax", 256, 40
DropItem "NemesisArmorBonus64", 256
DropItem "NemesisSphere"
DropItem "UpgradedNemesisArmor", 256
DropItem "LegDemonRune", 80, 1
DropItem "LegendaryRune2", 256, 1
DropItem "VitalityRune", 256, 1
DropItem "AgilityRune", 256, 1
DropItem "DemonicChalice", 256, 1
DropItem "SkullOfPower", 256, 1
DropItem "NemesisShell", 256
DropItem "NemesisShellBox", 130
DropItem "NemesisLMGBulletMag", 256
DropItem "NemesisBulletBox", 130
DropItem "NemesisPowerSphere" 256
DropItem "Nemesis Rifle", 256
DropItem "NemesisDarkMachinegun", 256
DropItem "Nemesis Plasmatic Cannon", 256
DropItem "Nemesis Assault Shotgun", 200
DropItem "Nemesis Sawed-Off Shotgun", 256
DropItem "Nemesis BFG", 256
DropItem "NemesisPowerShard", 256
DropItem "NemesisRune", 256, 1
DropItem "RandomSuperPowerUp", 256, 1
SEESOUND "Exos/See"
ACTIVESOUND "Exos/Active"
PAINSOUND "Exos/Pain"
DEATHSOUND "Exos/Die"
MeleeSound ""
Obituary "\c[v9]%o was exterminated by the Great Nemesis Exos\c-"
Tag "\c[v9]Nemesis Exos\c-"
var int user_music;
var int user_missile;
States
	{
	Spawn:
		TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 A 5 A_Look
		Loop
	See:
	    TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	    TNT1 A 0 A_ChangeFlag("NODAMAGE",0)
		TNT1 A 0 A_SetShootable
		TNT1 A 0 A_UnSetInvulnerable
		TNT1 A 0 A_SetTranslucent(1)
		TNT1 A 0 A_JumpIf(user_music == 1,3)
		TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,6751,965)
		TNT1 A 0 A_SetUserVar("user_music",1)
		TNT1 A 0 A_Jump(30,"Rush")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		C725 A 4 A_Chase
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		C725 BB 4 A_Chase
		TNT1 A 0 A_SpawnItemEx("ExosStep",0,0,5,0,0,-20)
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		C725 CC 4 A_Chase
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		C725 D 4 A_Chase
		TNT1 A 0 A_SpawnItemEx("ExosStep",0,0,5,0,0,-20)
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		TNT1 A 0 a_Jump(65,"Teleport")
		Loop
	Rush:
	    C725 A 0 A_SpawnItemEx("ExosStep",0,0,5,0,0,-20)
		TNT1 A 0 A_Chase
		C725 A 2 A_SpawnItemEx("NemesisExosGhost")
		TNT1 A 0 A_Chase
		C725 A 2 A_SpawnItemEx("NemesisExosGhost")
		TNT1 A 0 A_Chase
		C725 B 2 A_SpawnItemEx("NemesisExosGhost")
		TNT1 A 0 A_Chase
		C725 B 2 A_SpawnItemEx("NemesisExosGhost")
		C725 A 0 A_SpawnItemEx("ExosStep",0,0,5,0,0,-20)
		TNT1 A 0 A_Chase
		C725 C 2 A_SpawnItemEx("NemesisExosGhost")
		TNT1 A 0 A_Chase
		C725 C 2 A_SpawnItemEx("NemesisExosGhost")
		TNT1 A 0 A_Chase
		C725 D 2 A_SpawnItemEx("NemesisExosGhost")
		TNT1 A 0 A_Chase
		C725 D 2 A_SpawnItemEx("NemesisExosGhost")  
		TNT1 A 0 A_Jump(38,"Teleport")
		TNT1 A 0 A_Jump(75,"See")  	
	    Loop
	Teleport:	
		C725 G 1 Bright A_UnSetShootable
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		TNT1 A 0 A_PlaySound("Exos/TeleportIn",CHAN_AUTO,1.0,0)
		C725 GGGGGGGGGG 1 Bright A_FadeOut(0.1,0)
		TNT1 A 2 Bright
		TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 Bright A_Wander
		TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 Bright A_Wander
		TNT1 A 2 Bright A_PlaySound("Exos/TeleportOut",CHAN_AUTO,1.0,0)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 GGGGGGGGGG 1 A_FadeIn(0.1)
		C725 G 1 A_SetShootable
		Goto See
	Missile:
	    TNT1 A 0
	    TNT1 A 0 A_ChangeFlag("FRIENDLY",0)
	    TNT1 A 0 A_ChangeFlag("NOPAIN",0)
	    TNT1 A 0 A_SetShootable
		TNT1 A 0 A_UnsetInvulnerable
		TNT1 A 0 A_SetTranslucent(1)
		TNT1 A 0 A_JumpIfTargetInLOS("ChainGuns",90,JLOSF_DEADNOJUMP|JLOSF_TARGETLOS,600,0)
		TNT1 A 0 A_Jump(160,"Rockets2","Rockets3","Rockets4","Rockets4","MiniNemesisBFG","NemesisBFG")
	ChainGuns:
		C725 EEEE 1 A_FaceTarget(45)
		TNT1 A 0 A_SetUserVar("user_missile",0)
	ChainGunsLoop:
	    TNT1 A 0 A_JumpIf(user_missile >= 15,"ChainGunsEnd")	 
	    TNT1 A 0 A_SetUserVar("user_missile",user_missile+1)
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",CHAN_WEAPON,1.0,0)
		TNT1 A 0 Bright A_CustomBulletAttack(4.3,2.6,1,20,"NemesisASGPuffExplode",0,CBAF_NORANDOM)
		C725 F 1 Bright A_CustomBulletAttack(4.3,2.6,1,20,"NemesisASGBulletPuff",0,CBAF_NORANDOM)
		TNT1 A 0 A_CustomMissile("NemesisTracer",77,23,Random(5,-5),0)
		C725 E 1 A_SpawnItemEx("NemesisShellCasing",35,23,76,Random(2,6),0,Random(1,3),Random(-30,-35),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
		TNT1 A 0 A_FaceTarget
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",CHAN_WEAPON,1.0,0)
		TNT1 A 0 Bright A_CustomBulletAttack(4.3,2.6,1,20,"NemesisASGPuffExplode",0,CBAF_NORANDOM)
		C725 F 1 Bright A_CustomBulletAttack(4.3,2.6,1,20,"NemesisASGBulletPuff",0,CBAF_NORANDOM)
		TNT1 A 0 A_CustomMissile("NemesisTracer",77,23,Random(5,-5),0)
		C725 E 1 A_SpawnItemEx("NemesisShellCasing",35,23,76,Random(2,6),0,Random(1,3),Random(-40,-45),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
		TNT1 A 0 A_FaceTarget
		TNT1 A 0 A_PlaySound("NemesisASG/Fire",CHAN_WEAPON,1.0,0)
		TNT1 A 0 Bright A_CustomBulletAttack(4.3,2.6,1,20,"NemesisASGPuffExplode",0,CBAF_NORANDOM)
		C725 F 1 Bright A_CustomBulletAttack(4.3,2.6,1,20,"NemesisASGBulletPuff",0,CBAF_NORANDOM)
		TNT1 A 0 A_CustomMissile("NemesisTracer",77,23,Random(5,-5),0)
		C725 E 1 A_SpawnItemEx("NemesisShellCasing",35,23,76,Random(2,6),0,Random(1,3),Random(-40,-45),SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
		Loop
	ChainGunsEnd:
	    C725 E 1 A_FaceTarget
	    TNT1 A 0 A_Jump(256,"Rockets","See")
		Goto See
	Rockets:
		C725 GGGG 1 A_FaceTarget(45)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosMiniRocket",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosMiniRocket",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosMiniRocket",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosMiniRocket",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 G 2 Bright A_FaceTarget
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosMiniRocket",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosMiniRocket",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosMiniRocket",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosMiniRocket",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 G 2 Bright A_FaceTarget
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosMiniRocket",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosMiniRocket",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosMiniRocket",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosMiniRocket",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 G 2 Bright
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		Goto See
	Rockets2:
		C725 GGGG 1 A_FaceTarget(45)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosMissile",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosMissile",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosMissile",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosMissile",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 G 2 Bright A_FaceTarget
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosMissile",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosMissile",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosMissile",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosMissile",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 G 2 Bright A_FaceTarget
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosMissile",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosMissile",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosMissile",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosMissile",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 G 2 Bright
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		Goto See
	Rockets3:
		C725 GGGG 1 A_FaceTarget(45)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosPyroRocket",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosPyroRocket",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosPyroRocket",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosPyroRocket",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 G 2 Bright A_FaceTarget
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosPyroRocket",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosPyroRocket",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosPyroRocket",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosPyroRocket",79,15,0,CMF_TRACKOWNER)
		C725 G 2 Bright A_FaceTarget
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosPyroRocket",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosPyroRocket",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosPyroRocket",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosPyroRocket",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 G 2 Bright
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		Goto See
	Rockets4:
		C725 GGGG 1 A_FaceTarget(45)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosM2HellStormBomb",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosM2HellStormBomb",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosM2HellStormBomb",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosM2HellStormBomb",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 G 2 Bright A_FaceTarget
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosM2HellStormBomb",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosM2HellStormBomb",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosM2HellStormBomb",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosM2HellStormBomb",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 G 2 Bright
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosM2HellStormBomb",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosM2HellStormBomb",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosM2HellStormBomb",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosM2HellStormBomb",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 G 2 Bright
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosM2HellStormBomb",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosM2HellStormBomb",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 H 2 Bright A_FaceTarget
		TNT1 A 0 A_CustomMissile("NemesisExosM2HellStormBomb",79,-15,0,CMF_TRACKOWNER)
		TNT1 A 0 A_CustomMissile("NemesisExosM2HellStormBomb",79,15,0,CMF_TRACKOWNER)
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		C725 G 2 Bright
        TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
		Goto See
	MiniNemesisBFG:
 	    C725 G 0 A_PlaySound ("Cardinal/9k")
		C725 G 20 Bright A_FaceTarget
		C725 G 15 Bright A_FaceTarget
		C725 H 0 A_CustomMissile("MiniNemesisBFGBall",60,-26,0)
		C725 H 5 Bright A_CustomMissile("MiniNemesisBFGBall",60,26,0)
		C725 G 20 A_FaceTarget
		C725 G 0 A_PlaySound ("Cardinal/9k")
		C725 G 20 A_FaceTarget
		C725 G 15 Bright A_FaceTarget
		C725 H 0 A_CustomMissile("MiniNemesisBFGBall",60,-26,0)
		C725 H 5 Bright A_CustomMissile("MiniNemesisBFGBall",60,26,0)
	    Goto See
  NemesisBFG:
    C725 G 30 Bright A_FaceTarget
	TNT1 A 0 A_SetInvulnerable
	C725 G 3 Bright A_PlaySound("NemesisBFG/charge",1)	
	TNT1 A 0 A_FaceTarget
	TNT1 A 0 A_SetUserVar("user_missile",0)
  NemesisBFGCharging:
	TNT1 A 0 A_JumpIf(user_missile >= 38,"NemesisBFGFire")	 
	TNT1 A 0 A_SetUserVar("user_missile",user_missile+1)
	TNT1 A 0 A_FaceTarget
	C725 G 3 Bright A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
	Loop
  NemesisBFGFire:
	C725 GGGGGGGGGGGGG 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	TNT1 A 0 A_UnSetShootable
    C725 GGGGGGGGGGG 1 A_FadeOut(0.1,0)
	C725 GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG 0 A_Wander
    C725 G 20
    C725 G 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	C725 GGGGGGGGGGGGG 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	C725 GGGGGGGGGGG 1 A_FadeIn(0.1)	
	TNT1 A 0 A_SetShootable
    TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_PlaySound("NemesisBFG/Fire",1)
	C725 H 5 A_CustomMissile("NemesisGuruBall", 58, -26, 0, 0)
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
    C725 G 60 Bright A_FaceTarget
	Goto See
	Pain:
		C725 I 8 A_Pain
		Goto See
	PainMissile:
	    C725 I 10 Bright A_Pain
	    Goto Missile
    XDeath:
	Death:
	    TNT1 A 0 A_JumpIfInTargetInventory("TrueLegendaryRuneItem",1,"VexedSpawn")
	    TNT1 A 0 A_JumpIfInTargetInventory("TrueLegendaryRuneItem2",1,"VexedSpawn")
		C725 I 4 A_Scream
		C725 J 4 A_Fall
		TNT1 A 0 A_TakeInventory("Tic",999999)
		C725 KLMN 4
		TNT1 AA 0 A_SpawnItemEx("GibbedGenerator",0,0,0,0,0,0,0,SXF_CLIENTSIDE,0)
	    TNT1 AAA 0 A_CustomMissile("SmokeFX",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
	    TNT1 AAA 0 A_CustomMissile("Kaboom19",random(22,53),0,random(0,360),CMF_AIMDIRECTION,random(0,360))
	    TNT1 AAAA 0 A_SpawnItemEx("Debris",0,0,0,Random(4,-4),Random(4,-4),Random(4,8),0,SXF_CLIENTSIDE,0)
		TNT1 A 0 A_SpawnItemEx("ExosGib",0,0,8,random(1,8),0,2,random(0,360),SXF_CLIENTSIDE,0)
		TNT1 A 0 A_SpawnItemEx("ExosGib2",0,0,8,random(0,8),random(0,8),2,random(0,360),SXF_CLIENTSIDE,0)
		TNT1 A 0 A_SpawnItemEx("ExosGib3",0,0,8,random(0,8),random(0,8),2,random(0,360),SXF_CLIENTSIDE,0)
		TNT1 A 0 A_SpawnItemEx("ExosGib4",0,0,8,random(0,8),random(0,8),2,random(0,360),SXF_CLIENTSIDE,0)
		TNT1 A 0 A_SpawnItemEx("ExosGib5",0,0,8,random(0,8),random(0,8),2,random(0,360),SXF_CLIENTSIDE,0)
		TNT1 A 0 A_SpawnItemEx("Improved Minigun",0,0,8,random(0,8),random(0,8),2,random(0,360),0,0)
		TNT1 A 0 A_PlaySound("Exos/Gib3",CHAN_BODY,1.0,0)
		TNT1 A 0 A_BossDeath
		TNT1 A 0 A_Killmaster
		C725 PQ 4
		C725 R -1
		Stop
  VexedSpawn:
    TNT1 A 0 A_StopSound(6)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner2",0,0,0,0)
	C725 J 5
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner2",0,0,0,0)
    C725 I 15
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner2",0,0,0,0)
    C725 J 4 A_Scream
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner2",0,0,0,0)
    C725 J 15
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner2",0,0,0,0)
    C725 J 15 A_NoBlocking
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner2",0,0,0,0)
    C725 J 5
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner2",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("NemesisLightning2",Random(1250,-1250),Random(1250,-1250),-1000,0,0,0,SXF_NOCHECKPOSITION,0)
    C725 J 15
	C725 J 0 A_PlaySoundEx("brain/spit","Voice",0,2)
	C725 J 5 A_SpawnItem("NemesisLightning")
	C725 J 15 Bright
	TNT1 A 0 A_SpawnItem("NemesisLightning")
	TNT1 A 0 A_SpawnItem("NemesisDeathBall")
	TNT1 A 0 A_SpawnItemEx("VexedNemesisExos",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	TNT1 A 1
	Stop
	}
}

Actor INFNemesisExos : NemesisExos
{
Tag "\c[v9]Nemesis Exos\c-"
States
{
  Spawn:
    TNT1 A 0
    TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("SimpleProgSys") == 0,2)
	TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("RuneTier3SpawnCheck") == 2,1)
	Goto Remove
  Idle:
	TNT1 A 0 A_SpawnItem("NemesisCyberFlameSpawner",0,0,0,0)
    C725 A 1 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 NemesisExosGhost
{
Scale 1.2
RENDERSTYLE Translucent
Alpha 0.75
+NOTIMEFREEZE
+NONSHOOTABLE
+NOINTERACTION
States
{
  Spawn:
    TNT1 A 0
	TNT1 A 1 A_JumpIf(ACS_ExecuteWithResult(304) == 1,"NULL")
	C725 A 2 A_FadeOut(0.18,1)
	Wait
	}
}

Actor NemesisExosMiniRocket
{
Projectile
Height 5
Radius 6
Speed 37
Damage (random(35,45))
DamageType "NemesisExos"
+STRIFEDAMAGE
+THRUSPECIES
+MTHRUSPECIES
+DONTHARMSPECIES
+NOTIMEFREEZE
SeeSound ""
DeathSound "MiniRocketExpl"
States
	{
	Spawn:
		C726 A 1 Bright A_SpawnItemEx("MissileTrail",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION,0)
		C726 A 0 Bright A_CustomMissile("ProjectileTrailParticleNemesis",Random(4,6),Random(-2,2))
		TNT1 A 0 Bright A_PlaySound("MiniRocketFly",6,1.0,1)
		Loop
	Death:
		TNT1 AAA 0 Bright A_StopSound(6)
		TNT1 A 0 Bright A_SpawnItemEx("NemesisWhiteParticleSpawner",0,0,1,0,0,0,0,SXF_CLIENTSIDE,0)
		TNT1 AAAA 0 Bright A_CustomMissile("WhiteNemesisKaboom3",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAAA 0 Bright A_CustomMissile("LegendarySmokeFX2",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))		
		NROC C 6 Bright A_Explode(10,30,1,1)
		NROC DE 5 Bright A_SetTranslucent(0.85,1)
		Stop
	}
}

Actor NemesisExosMissile : Rocket
{
Speed 45
Damage 60
Reactiontime 245
-ROCKETTRAIL
+ThruSpecies
-SEEKERMISSILE
+DONTHARMSPECIES
+NOTIMEFREEZE
DamageType "NemesisExos"
DeathType "Extreme"
SeeSound "rocket/fire"
States
	{
	Spawn:
		TNT1 A 0 Bright A_CountDown
		TNT1 A 0 Bright A_CustomMissile("MissileTrail",Random(4,6),Random(-2,2)) 
		TNT1 A 0 Bright A_CustomMissile("ProjectileTrailParticleNemesis",Random(4,6),Random(-2,2))
		NROC AB 1 Bright A_Seekermissile(25,35,SMF_PRECISE,0)
		TNT1 A 0 Bright A_JumpIfTargetInLOS("SeekFly",360,JLOSF_PROJECTILE)
		Goto NoSeekFly
	SeekFly:
		TNT1 A 0 Bright A_JumpIfTracerCloser(250,"Precise")
		Goto Spawn
	Precise:
		TNT1 A 0 Bright A_FaceTracer
		Goto Spawn
	NoSeekFly:
		TNT1 A 0 Bright A_CustomMissile("MissileTrail",Random(4,6),Random(-2,2))
		TNT1 A 0 Bright A_CustomMissile("ProjectileTrailParticleNemesis",Random(4,6),Random(-2,2))
		NROC AB 1 Bright
		TNT1 A 0 Bright A_JumpIfTargetInLOS("Spawn",360,JLOSF_PROJECTILE)
		Loop
	Death:
		TNT1 A 0 A_SpawnItemEx("NemesisWhiteParticleSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_CLIENTSIDE) 
		TNT1 AAA 0 A_CustomMissile("WhiteNemesisKaboom3",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAA 0 A_CustomMissile("LegendarySmokeFX2",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAAA 0 A_SpawnItemEx("LegendaryDebris",0,0,0,Random(-4,4),Random(-4,4),Random(4,8),0,SXF_CLIENTSIDE)
		NROC C 6 Bright A_Explode(Damage*random(1,8),Damage*4,0)
		NROC DE 5 Bright A_SetTranslucent(0.75,1)
		Stop
	}
}

ACTOR NemesisExosPyroRocket : Rocket
{
Speed 56
Damage (random(80,85))
-ROCKETTRAIL
+THRUSPECIES
+DontHarmSpecies
+NOTIMEFREEZE
DamageType "NemesisExos"
DeathType "Fire"
SeeSound "rocket/fire"
States
	{
	Spawn:
		TNT1 A 0 Bright A_CustomMissile("MissileTrail",Random(4,6),Random(-2,2)) 
		TNT1 A 0 Bright A_CustomMissile("ProjectileTrailParticleNemesis",Random(4,6),Random(-2,2)) 
		NROC AB 1 Bright
		Loop
	Death:
		TNT1 A 0 Bright
		TNT1 AAA 0 Bright A_SpawnItemEx("NemesisExosFlamethrowerShot",0,0,0,random(0,8),random(0,8),2,random(0,360),SXF_TRANSFERPOINTERS|SXF_SETMASTER,0)
		TNT1 A 0 Bright A_SpawnItemEx("NemesisWhiteParticleSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_CLIENTSIDE)
		TNT1 AAA 0 Bright A_CustomMissile("WhiteNemesisKaboom3",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAA 0 Bright A_CustomMissile("LegendarySmokeFX2",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAAA 0 Bright A_SpawnItemEx("LegendaryDebris",0,0,0,Random(4,-4),Random(4,-4),Random(4,8),0,SXF_CLIENTSIDE,0)
		NROC C 6 Bright A_Explode(random(120,130),128,0)
		NROC DE 5 Bright A_SetTranslucent(0.75,1)
		Stop
	}
}

Actor NemesisExosFlamethrowerShot : BaseFireSpawner
{
Damage (random(45,50))
DamageType "NemesisExos"
+NOTIMEFREEZE
States
	{
	Death:
		TNT1 AAA 0 Bright A_StopSound(CHAN_BODY)
		TNT1 A 0 Bright A_Stop
		TNT1 A 0 Bright A_NoGravity
		TNT1 A 0 Bright A_SpawnItemEx("NemesisWhiteParticleSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_CLIENTSIDE)
		TNT1 AA 0 Bright A_CustomMissile("WhiteNemesisKaboom4",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AA 0 Bright A_CustomMissile("LegendarySmokeFX4",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 A 0 Bright A_SpawnItemEx("NemesisExosFlare",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_TRANSFERPOINTERS|SXF_SETMASTER)
		//TNT1 AAAA 0 Bright A_SpawnItemEx("NemesisExosFlare",0,0,0,random(2,4),random(2,4),2,random(0,360),SXF_NOCHECKPOSITION|SXF_TRANSFERPOINTERS|SXF_SETMASTER,128)
		C727 CDE 3 Bright
		Stop
	}
}

Actor NemesisExosFlare : VexedNemesisImpFireFlare
{
DamageType "NemesisExos"
Obituary "%o was burned down on fire of rockets a Exos."
}

Actor NemesisExosM2HellStormBomb
{
Health 1
Height 8
Radius 11
Speed 25
Decal "RocketScorch"
Damage 64
+LOOKALLAROUND
+QUICKTORETALIATE
+MISSILE
+DROPOFF
+NOGRAVITY
+NOBLOCKMAP
+NOTELEPORT
+ACTIVATEIMPACT
+ACTIVATEPCROSS
+DONTREFLECT
+FORCERADIUSDMG
+SKYEXPLODE
-RIPPER
-THRUACTORS
+THRUSPECIES
+MTHRUSPECIES
+DONTHARMSPECIES
+NOTIMEFREEZE
Damagetype "NemesisExos"
DeathSound "weapons/rocklx"
var int user_counter;
States
	{
	Spawn:
		TNT1 A 0 Bright
		TNT1 A 0 Bright A_PlaySound("rpg/fly",6,1.0,1)
		TNT1 A 0 Bright A_RearrangePointers(AAPTR_DEFAULT, AAPTR_TARGET, AAPTR_DEFAULT)
		Goto SpawnLoop
	MonsterFly:
		TNT1 A 0 Bright
		TNT1 A 0 Bright A_PlaySound("rpg/fly",6,1.0,1)
		TNT1 A 0 Bright A_RearrangePointers(AAPTR_DEFAULT, AAPTR_TARGET, AAPTR_DEFAULT)
		TNT1 A 0 Bright A_CustomMissile("NemesisExosEFGRocketSmoke",random(4,6),random(-2,2),0,CMF_AIMDIRECTION) 
		TNT1 AAA 0 Bright A_CustomMissile("NemesisExosEFGRockeParticleTrail",random(4,6),random(-2,2),0,CMF_AIMDIRECTION)
		TNT1 A 0 Bright A_BishopMissileWeave
		C728 A 2 Bright
		TNT1 A 0 Bright A_CustomMissile("NemesisExosEFGRocketSmoke",random(4,6),random(-2,2),0,CMF_AIMDIRECTION) 
		TNT1 AAA 0 Bright A_CustomMissile("NemesisExosEFGRockeParticleTrail",random(4,6),random(-2,2),0,CMF_AIMDIRECTION)
		TNT1 A 0 Bright A_BishopMissileWeave
		C728 A 2 Bright
		TNT1 A 0 Bright A_CustomMissile("NemesisExosEFGRocketSmoke",random(4,6),random(-2,2),0,CMF_AIMDIRECTION) 
		TNT1 AAA 0 Bright A_CustomMissile("NemesisExosEFGRockeParticleTrail",random(4,6),random(-2,2),0,CMF_AIMDIRECTION)
		TNT1 A 0 Bright A_BishopMissileWeave
		C728 A 2 Bright
		TNT1 A 0 Bright A_CustomMissile("NemesisExosEFGRocketSmoke",random(4,6),random(-2,2),0,CMF_AIMDIRECTION) 
		TNT1 AAA 0 Bright A_CustomMissile("NemesisExosEFGRockeParticleTrail",random(4,6),random(-2,2),0,CMF_AIMDIRECTION)
		TNT1 A 0 Bright A_BishopMissileWeave
		C728 A 2 Bright A_PlaySound("monster/homingrockbeep",7)
		Goto SpawnLoop
	SpawnLoop:
		TNT1 A 0 Bright A_JumpIf(user_counter > 24,"Separate")
		TNT1 A 0 Bright A_SetUserVar("user_counter",user_counter + 1)
		TNT1 A 0 Bright A_CustomMissile("NemesisExosEFGRocketSmoke",random(4,6),random(-2,2),0,CMF_AIMDIRECTION) 
		TNT1 AAA 0 Bright A_CustomMissile("NemesisExosEFGRockeParticleTrail",random(4,6),random(-2,2),0,CMF_AIMDIRECTION)
		TNT1 A 0 Bright A_BishopMissileWeave
		C728 A 1 Bright
		C728 A 1 Bright A_LookEx(LOF_NOSOUNDCHECK|LOF_NOSEESOUND,64,500,500,360,"Separate")
		TNT1 A 0 Bright A_CustomMissile("NemesisExosEFGRocketSmoke",random(4,6),random(-2,2),0,CMF_AIMDIRECTION)
		TNT1 AAA 0 Bright A_CustomMissile("NemesisExosEFGRockeParticleTrail",random(4,6),random(-2,2),0,CMF_AIMDIRECTION)
		TNT1 A 0 Bright A_BishopMissileWeave
		C728 A 1 Bright
		C728 A 1 Bright A_LookEx(LOF_NOSOUNDCHECK|LOF_NOSEESOUND,64,500,500,360,"Separate")
		TNT1 A 0 Bright A_CustomMissile("NemesisExosEFGRocketSmoke",random(4,6),random(-2,2),0,CMF_AIMDIRECTION)
		TNT1 AAA 0 Bright A_CustomMissile("NemesisExosEFGRockeParticleTrail",random(4,6),random(-2,2),0,CMF_AIMDIRECTION)
		TNT1 A 0 Bright A_BishopMissileWeave
		C728 A 1 Bright
		C728 A 1 Bright A_LookEx(LOF_NOSOUNDCHECK|LOF_NOSEESOUND,64,500,500,360,"Separate") 
		TNT1 A 0 Bright A_CustomMissile("NemesisExosEFGRocketSmoke",random(4,6),random(-2,2),0,CMF_AIMDIRECTION)
		TNT1 AAA 0 Bright A_CustomMissile("NemesisExosEFGRockeParticleTrail",random(4,6),random(-2,2),0,CMF_AIMDIRECTION)
		TNT1 A 0 Bright A_BishopMissileWeave
		C728 A 1 Bright
		C728 A 1 Bright A_LookEx(LOF_NOSOUNDCHECK|LOF_NOSEESOUND,64,500,500,360,"Separate")
		TNT1 A 0 Bright A_PlaySound("monster/homingrockbeep",7)
		Loop
	Separate:
		TNT1 A 0 Bright A_FaceTarget
		TNT1 A 0 Bright A_RearrangePointers(AAPTR_MASTER, AAPTR_DEFAULT, AAPTR_DEFAULT)
		TNT1 AAA 0 Bright A_StopSoundEx("SoundSlot7")
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisExosEFGRocketSmoke",random(4,6),random(-2,2),random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAAAAA 0 Bright A_CustomMissile("NemesisExosEFGRockeParticleTrail",random(4,6),random(-2,2),random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAAAAAAA 0 Bright A_CustomMissile("NemesisExosM2HellStormBomb1Base",0,0,random(-11,11),CMF_AIMDIRECTION|CMF_SAVEPITCH|CMF_OFFSETPITCH,frandom(-2.0,2.0))
		TNT1 A 1 Bright A_Stop
		Stop
	Death:
		TNT1 A 0 Bright A_Stop
		TNT1 A 0 Bright A_RearrangePointers(AAPTR_MASTER, AAPTR_DEFAULT, AAPTR_DEFAULT)
		TNT1 A 0 Bright A_ScreamAndUnblock
		TNT1 AAA 0 Bright A_StopSoundEx("SoundSlot7")
		TNT1 AAAA 0 Bright A_SpawnItemEx("LegendaryDebris",0,0,0,Random(4,-4),Random(4,-4),Random(4,8),0,SXF_CLIENTSIDE)
		TNT1 AAA 0 Bright A_SpawnItemEx("NemesisWhiteParticleSpawner",0,0,0,0,0,0,0,SXF_CLIENTSIDE)  
		TNT1 AAA 0 Bright A_CustomMissile("LegendarySmokeFX4",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAAAAA 0 Bright A_CustomMissile("WhiteNemesisKaboom3",0,0,random(0,360),CMF_AIMDIRECTION,random(0,360))
		TNT1 AAA 1 Bright A_SpawnItemEx("NemesisExosFlamethrowerShot",0,0,0,random(0,8),random(0,8),2,random(0,360),SXF_TRANSFERPOINTERS|SXF_SETMASTER,0)
		TNT1 A 0 Bright A_SetTranslucent(0.75,1)
		NROC B 4 Bright A_Explode(128,128,1,1)
		NROC CD 4 Bright
		Stop
	}
}

Actor NemesisExosEFGRocketSmoke : EFGClientSideEffect
{
Height 3
Radius 3
Mass 0
Speed 0
Scale 0.25
Renderstyle Translucent
Alpha 0.75
Damage (0)
+MISSILE
+FORCEXYBILLBOARD
+NOTIMEFREEZE
States
	{
	Spawn:
		TNT1 A 0 Bright 
		TNT1 A 0 Bright A_JumpIf(ACS_ExecuteWithResult(304) == 1, "Toaster")
		SMK3 ABCDEFGHIJKLM 3 A_FadeOut(0.025,1)
		Stop
	Toaster:
        TNT1 A 0
		Stop
	}
}

Actor NemesisExosEFGRockeParticleTrail : EFGClientSideEffect
{
Height 3
Radius 3
Mass 0
Speed 0
Scale 0.05
RenderStyle Add
Damage (0)
+MISSILE
+FORCEXYBILLBOARD
+NOTIMEFREEZE
States
	{
	Spawn:
		TNT1 A 0 Bright 
		TNT1 A 0 Bright A_JumpIf(ACS_ExecuteWithResult(304) == 1, "Toaster")
		C729 A 1 Bright A_FadeOut(0.1,1)
		Stop
	Toaster:
        TNT1 A 0
		Stop
	}
}

Actor NemesisExosM2HellStormBomb1 : HellStormBomb1Base
{
Damagetype "Exos"
+NOTIMEFREEZE
States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_CopyFriendliness(AAPTR_TARGET)
		Goto MonsterFly
	Death:
		TNT1 A 0 Bright A_Stop
		TNT1 A 0 Bright A_SetTranslucent(0.75,1)
		NROC C 8 Bright A_Explode(64,64,1,1)
		TNT1 A 0 Bright A_SpawnItemEx("NemesisExosFlare",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_TRANSFERPOINTERS|SXF_SETMASTER,64)
		NROC D 6 Bright
		NROC E 4 Bright
		Stop
	}
}

Actor NemesisExosM2HellStormBomb1Base
{
Height 8
Radius 11
Speed 25
Scale 0.5
Decal "RevenantScorch"
Damage 40
+MISSILE
+DROPOFF
+NOGRAVITY
+NOBLOCKMAP
+NOTELEPORT
+ACTIVATEIMPACT
+ACTIVATEPCROSS
+SEEKERMISSILE
+SCREENSEEKER
+DONTREFLECT
-RIPPER
-THRUACTORS
+THRUSPECIES
+MTHRUSPECIES
+FORCERADIUSDMG
+DONTHARMSPECIES
Damagetype "NemesisExos"
DeathSound "HellStorm/Hit"
var int user_counter;
States
	{
	Spawn:
		TNT1 A 0
		TNT1 A 0 A_CopyFriendliness(AAPTR_TARGET)
		Goto MonsterFly
	MonsterFly:
		C730 AAAAAAAAAA 1 Bright A_CustomMissile("NemesisExosEFGRockeParticleTrail",Random(-4,0),Random(-2,2))
		Goto Spawn
	Fall:
		TNT1 A 0 A_SetGravity(frandom(0.3,0.24))
		C730 A 525 A_Gravity
		C730 A 5 A_FadeOut(0.1,1)
		Wait
	Death:
		TNT1 A 0 Bright A_Stop
		TNT1 A 0 Bright A_SetTranslucent(0.75,1)
		NROC C 8 Bright A_Explode(64,64,1,1)
		TNT1 A 0 Bright A_SpawnItemEx("NemesisExosFlare",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_TRANSFERPOINTERS|SXF_SETMASTER,64)
		NROC D 6 Bright
		NROC E 4 Bright
		Stop
	}
}