Actor VexedNemesisExos
{
//Creator: Nemesiscaptain(uwu) and Makarov
//Origin: Infinity Gods
//Sprite: VNE5
//Title: "VexedNemesisExos"
Monster
Health 20000
WoundHealth 0
GibHealth 5000
Speed 50
PainChance 20
Height 100//110
Radius 35//40
Mass 10000
+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 0.3
DamageFactor "Explosion", 0.0001
DamageFactor "PlayerDTRG", 0.0001
DamageFactor "DTRailgun", 0.0001
DamageFactor "PDTPuff", 0.0001
DamageFactor "RailG", 0.0001
DamageFactor "PyroShot", 0.0001
DamageFactor "PlayerPyro", 0.0001
DamageFactor "PlayerBHole", 0.025
DamageFactor "PlayerDBFG", 0.015
DamageFactor "PlayerDBFG2", 0.015
//Nemesis Exos Damage Factors
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 "BFGSplash", 0.25
   DamageFactor "BFGSpray", 0.25
   DamageFactor "PlayerDevBall", 0.025
   DamageFactor "PlayerDevBall2", 0.025
   DamageFactor "PlayerDTBFGRailgunSlug", 0.025
   DamageFactor "PlayerDevTracer", 0.025
   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 "DBFG210K", 0
   DamageFactor "PlayerDBFG210K", 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 "PlayerNemesisPlasma", 0.0
 
DropItem "NemesisHealthBonusMax", 256, 40
DropItem "NemesisArmorBonus64", 256
DropItem "NemesisHealthBonusMax", 256, 40
DropItem "NemesisArmorBonus64", 256
DropItem "NemesisMegaSphere"
DropItem "UpgradedVexedNemesisArmor", 256
DropItem "LegDemonRune", 80, 1
DropItem "LegendaryRune2", 256, 1
DropItem "VitalityRune", 256, 1
DropItem "AgilityRune", 256, 1
DropItem "TrueLegendaryRune", 256, 1
DropItem "DemonicChalice", 256, 2
DropItem "SkullOfPower", 256, 2
DropItem "NLDemonAmmo", 256
DropItem "NLDemonAmmoBox", 256
DropItem "NemesisShell", 256
DropItem "NemesisShellBox", 130
DropItem "NemesisLMGBulletMag", 256
DropItem "NemesisBulletBox", 130
DropItem "VexedNemesisUltraSphere" 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 "NemesisorVexedPowerShard", 256
DropItem "NemesisRuneSpawnTier3", 256, 1
DropItem "RandomSuperPowerUp", 256, 1
SEESOUND "Exos/See"
ACTIVESOUND "Exos/Active"
PAINSOUND "Exos/Pain"
DEATHSOUND "Exos/Die"
Obituary "%o couldn't outrun the explosive wrath of Vexed Nemesis Exos"
Tag "\c[w2]Vexed \c[v9]Nemesis \c[w2]Exos\c-"
var int user_music;
var int user_currenthp;
var int user_lcounter;
var int user_rush;
var int user_pcount;
var int user_missile;
States
	{
	Spawn:
	    TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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,6752,996)
		TNT1 A 0 A_SetUserVar("user_music",1)
		TNT1 A 0 A_Jump(30,"Rush")
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		VNE5 A 4 A_Chase
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		VNE5 BB 4 A_Chase
		TNT1 A 0 A_SpawnItemEx("ExosStep",0,0,5,0,0,-20)
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		VNE5 CC 4 A_Chase
		TNT1 A 0 A_SpawnItemEx("NemesisCyberFlameSpawner")
		VNE5 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:
	    VNE5 A 0 A_SpawnItemEx("ExosStep",0,0,5,0,0,-20)
		TNT1 A 0 A_Chase
		VNE5 A 2 A_SpawnItemEx("NemesisExosGhost")
		TNT1 A 0 A_Chase
		VNE5 A 2 A_SpawnItemEx("NemesisExosGhost")
		TNT1 A 0 A_Chase
		VNE5 B 2 A_SpawnItemEx("NemesisExosGhost")
		TNT1 A 0 A_Chase
		VNE5 B 2 A_SpawnItemEx("NemesisExosGhost")
		VNE5 A 0 A_SpawnItemEx("ExosStep",0,0,5,0,0,-20)
		TNT1 A 0 A_Chase
		VNE5 C 2 A_SpawnItemEx("NemesisExosGhost")
		TNT1 A 0 A_Chase
		VNE5 C 2 A_SpawnItemEx("NemesisExosGhost")
		TNT1 A 0 A_Chase
		VNE5 D 2 A_SpawnItemEx("NemesisExosGhost")
		TNT1 A 0 A_Chase
		VNE5 D 2 A_SpawnItemEx("NemesisExosGhost")  
		TNT1 A 0 A_Jump(38,"Teleport")
		TNT1 A 0 A_Jump(75,"See")  	
	    Loop
	Teleport:	
		VNE5 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)
		VNE5 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)
		VNE5 GGGGGGGGGG 1 A_FadeIn(0.1)
		VNE5 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,"Rockets","Rockets2","Rockets3","Rockets4","MiniNemesisBFG","NemesisBFG")
	ChainGuns:
		VNE5 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)
		VNE5 F 1 Bright A_CustomBulletAttack(4.3,2.6,1,20,"NemesisASGBulletPuff",0,CBAF_NORANDOM)
		TNT1 A 0 A_CustomMissile("PlayerNemDragonTracer",77,23,Random(5,-5),0)
		VNE5 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)
		VNE5 F 1 Bright A_CustomBulletAttack(4.3,2.6,1,20,"NemesisASGBulletPuff",0,CBAF_NORANDOM)
		TNT1 A 0 A_CustomMissile("PlayerNemDragonTracer",77,23,Random(5,-5),0)
		VNE5 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)
		VNE5 F 1 Bright A_CustomBulletAttack(4.3,2.6,1,20,"NemesisASGBulletPuff",0,CBAF_NORANDOM)
		TNT1 A 0 A_CustomMissile("PlayerNemDragonTracer",77,23,Random(5,-5),0)
		VNE5 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:
		VNE5 GGGG 1 A_FaceTarget(45)
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 G 2 Bright A_FaceTarget
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 G 2 Bright A_FaceTarget
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 G 2 Bright
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		Goto See
	Rockets2:
		VNE5 GGGG 1 A_FaceTarget(45)
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 G 2 Bright A_FaceTarget
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 G 2 Bright A_FaceTarget
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 G 2 Bright
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		Goto See
	Rockets3:
		VNE5 GGGG 1 A_FaceTarget(45)
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 G 2 Bright A_FaceTarget
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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)
		VNE5 G 2 Bright A_FaceTarget
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 G 2 Bright
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		Goto See
	Rockets4:
		VNE5 GGGG 1 A_FaceTarget(45)
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 G 2 Bright A_FaceTarget
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 G 2 Bright
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 G 2 Bright
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 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("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		VNE5 G 2 Bright
        TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
		Goto See
    MiniNemesisBFG:
 	    VNE5 G 0 A_PlaySound ("Cardinal/9k")
		VNE5 G 20 Bright A_FaceTarget
		VNE5 G 15 Bright A_FaceTarget
		VNE5 H 0 A_CustomMissile("MiniNemesisBFGBall",60,-26,0)
		VNE5 H 5 Bright A_CustomMissile("MiniNemesisBFGBall",60,26,0)
		VNE5 G 20 A_FaceTarget
		VNE5 G 0 A_PlaySound ("Cardinal/9k")
		VNE5 G 20 A_FaceTarget
		VNE5 G 15 Bright A_FaceTarget
		VNE5 H 0 A_CustomMissile("MiniNemesisBFGBall",60,-26,0)
		VNE5 H 5 Bright A_CustomMissile("MiniNemesisBFGBall",60,26,0)
	    Goto See
  NemesisBFG:
    VNE5 G 30 Bright A_FaceTarget
	TNT1 A 0 A_SetInvulnerable
	VNE5 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
	VNE5 G 3 Bright A_SpawnItem("NemesisCyberFlameSpawner3",0,0,0,0)
	Loop
  NemesisBFGFire:
	VNE5 GGGGGGGGGGGGG 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	TNT1 A 0 A_UnSetShootable
    VNE5 GGGGGGGGGGG 1 A_FadeOut(0.1,0)
	VNE5 GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG 0 A_Wander
    VNE5 G 20
    VNE5 G 1 A_PlayWeaponSound("boss/teleport")
	TNT1 A 0 A_FaceTarget
	VNE5 GGGGGGGGGGGGG 0 A_SpawnItemEx("NemesisCyberFlameSpawner2")
	VNE5 GGGGGGGGGGG 1 A_FadeIn(0.1)	
	TNT1 A 0 A_SetShootable
    TNT1 A 0 A_UnsetInvulnerable
	TNT1 A 0 A_PlaySound("NemesisBFG/Fire",1)
	VNE5 H 5 A_CustomMissile("NemesisGuruBall", 58, -26, 0, 0)
	TNT1 A 0 A_ChangeFlag("NOPAIN",0)
    VNE5 G 60 Bright A_FaceTarget
	Goto See
	Pain:
		VNE5 I 8 A_Pain
		Goto See
	PainMissile:
	    VNE5 I 10 Bright A_Pain
		Goto Missile
	Death:
		VNE5 I 4 A_Scream
		VNE5 J 4 A_Fall
		TNT1 A 0 A_TakeInventory("Tic",999999)
		VNE5 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("Improved Minigun",0,0,8,random(0,8),random(0,8),2,random(0,360),0,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_PlaySound("Exos/Gib3",CHAN_BODY,1.0,0)
		TNT1 A 0 A_BossDeath
		TNT1 A 0 A_Killmaster
		VNE5 PQ 4
		VNE5 R -1
		Stop
	}
}
