Actor VexedNemesisBandit: Zombieman
{
//Creator: Nemesiscaptain(uwu)and Makarov
//Origin: Infinity Gods
//Sprite: VNBD
//Title: "VexedNemesisBandit" 
Monster
Health 2650 
Speed 30
SeeSound "NemesisBandit/sight"
AttackSound " "
PainSound "NemesisAssaultCaptain/pain"
DeathSound "NemesisAssaultCaptain/death"
ActiveSound "NemesisAssaultCaptain/active"
BloodColor "Black"
DamageFactor 0.4
DamageFactor "PlayerNemesisPlasma", 0
PainChance 20
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
DropItem "NemesisHealthBonusMax", 256, 32
DropItem "NemesisArmorBonus32", 256
DropItem "NemesisHealthBonusMax", 256, 32
DropItem "NemesisArmorBonus32", 256
DropItem "StimKit", 222, 3
DropItem "HealthFlask", 227, 5
DropItem "Armorplate", 212, 1
DropItem "LegAmmoSphere", 95, 1
DropItem "Portablemedkit", 217, 1
DropItem "NemesisRuneSpawnerTier3", 70, 1
DropItem "VexedNemesisArmor", 110, 1
DropItem "VexedNemesisPowerShard", 35, 1
DropItem "HandGrenadeAmmo", 237, 2
DropItem "MineAmmo", 242, 2
DropItem "ModdedBackPack", 202, 1
DropItem "NemesisShell", 256
DropItem "NemesisShellBox", 130
DropItem "Nemesis Assault Shotgun", 128, 1
DropItem "MysteriousBeacon" 80 1
PainChance "Explosion", 128
PainChance "PlayerDTRG", 128
PainChance "DTRailgun", 128
PainChance "PDTPuff", 128
PainChance "RailG", 128
+DONTHARMSPECIES
+MISSILEMORE
-FLOORCLIP
+FireResist
+NORADIUSDMG
+NOICEDEATH
+BOSS
+NOTARGET
+MISSILEEVENMORE
+CANTSEEK
+NOFEAR
+DONTSPLASH
+LOOKALLAROUND
+NOEXTREMEDEATH
+BOSSDEATH
+NOTIMEFREEZE
+NOTELEFRAG
+DONTGIB
+DONTMORPH
+QUICKTORETALIATE
+DONTRIP 
Species "zombieman"
Obituary "%o was executed without mercy by the Vexed Nemesis Bandit."
Tag "\c[w2]Vexed Nemesis Bandit\c-"
var int user_music;
var int user_missile;
var int user_infammo;
States 
{
  Spawn:
	VNBD A 10 Bright A_Look
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	
	TNT1 AA 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	Loop
  See:
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,6755)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD AA 4 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD BB 4 Bright A_Chase
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD CC 4 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD DD 4 Bright A_Chase
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_Jump(64,"Mine")
	TNT1 A 0 A_Jump(64,"Rush")
	TNT1 A 0 A_Jump(64,"DodgeLeft","DodgeRight")
	TNT1 A 0 A_Jump(64,"Chase")
	Loop
  Chase:
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD AA 1 Bright A_FastChase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_Jump(1,"Heal")
	TNT1 A 0 A_JumpIfCloser(130,"Dodge")
	VNBD AA 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_JumpIfCloser(130,"Dodge")
	VNBD BB 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_JumpIfCloser(130,"Dodge")
	VNBD BB 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("FootStep",0,0,2,0,0,-20)
	TNT1 A 0 A_JumpIfCloser(150,"Dodge")
	VNBD CC 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_Jump(10,"Heal")
	TNT1 A 0 A_JumpIfCloser(150,"Dodge")
	VNBD CC 1 Bright A_FastChase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_JumpIfCloser(130,"Dodge")
	VNBD DD 1 Bright A_FastChase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_JumpIfCloser(130,"Dodge")
	VNBD DD 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("FootStep",0,0,2,0,0,-20)
	TNT1 A 0 A_Jump(95,"Mine")
	TNT1 A 0 A_Jump(128,"Dodge")
	Loop
  Rush:
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("VexedNemesisBanditGhostA")
	VNBD A 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("VexedNemesisBanditGhostA")
	VNBD A 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("VexedNemesisBanditGhostB")
	VNBD B 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("VexedNemesisBanditGhostB")
	VNBD B 1 Bright A_Chase
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("VexedNemesisBanditGhostC")
	VNBD C 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("VexedNemesisBanditGhostC")
	VNBD C 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("VexedNemesisBanditGhostD")
	VNBD D 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("VexedNemesisBanditGhostD")
	VNBD D 1 Bright A_Chase
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_Jump(85,"See")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	Loop
  Heal:
	TNT1 A 0 A_SpawnItem("GHellionSmokeSpawner",0,0,0,0)
	VNBD A 5 Bright
	TNT1 A 0 A_SpawnItem("GHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 HealThing(15)
	TNT1 A 0 A_PlaySound("pickups/flask",0,1.0,0)
	Goto See
  Heal2:
	TNT1 A 0 A_SpawnItem("GHellionSmokeSpawner",0,0,0,0)
	VNBD A 5 Bright
	TNT1 A 0 A_SpawnItem("GHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 HealThing(25)
	TNT1 A 0 A_PlaySound("pickups/pstimpack",0,1.0,0)
	Goto See
  Heal3:
	TNT1 A 0 A_SpawnItem("GHellionSmokeSpawner",0,0,0,0)
	VNBD A 5 Bright
	TNT1 A 0 A_SpawnItem("GHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 HealThing(35)
	TNT1 A 0 A_PlaySound("pickups/pmedkit",0,1.0,0)
	Goto See
  SeeNoDodge:
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD AABB 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("FootStep",0,0,2,0,0,-20)
	VNBD CCDD 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("FootStep",0,0,2,0,0,-20)
	VNBD AABB 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("FootStep",0,0,2,0,0,-20)
	VNBD CCDD 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("FootStep",0,0,2,0,0,-20)
	VNBD AABB 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("FootStep",0,0,2,0,0,-20)
	VNBD CCDD 2 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("FootStep",0,0,2,0,0,-20)
	Goto Chase
  Dodge:
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD A 1 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 ThrustThingZ(0, 20, 0, 0)
	TNT1 A 0 A_Jump(256, "DodgeRight", "DodgeLeft")
  DodgeLeft:
	TNT1 A 0 ThrustThing(angle*256/360+192, 30, 0, 0)
	TNT1 A 0 A_Jump(40,"Heal")
	TNT1 A 0 A_Jump(35,"Heal2")
	TNT1 A 0 A_Jump(30,"Heal3")
	TNT1 A 0 A_Jump(20,"InfiniteAmmo")
	Goto SeeNoDodge
  DodgeRight:
	TNT1 A 0 ThrustThing(angle*256/360+64, 30, 0, 0)
	TNT1 A 0 A_Jump(40,"Heal")
	TNT1 A 0 A_Jump(35,"Heal2")
	TNT1 A 0 A_Jump(30,"Heal3")
	TNT1 A 0 A_Jump(20,"InfiniteAmmo")
	Goto SeeNoDodge
  Teleport:
	VNBD A 1 Bright A_UnSetShootable
	TNT1 AAAA 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD AAAAAAAAAA 1 Bright A_FadeOut(0.1,0)
	VNBD A 2 Bright
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	VNBD A 1 Bright A_PlayWeaponSound("boss/teleport")
	TNT1 AAAA 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD AAAAAAAAAA 1 Bright A_FadeIn(0.1)
	VNBD A 1 Bright A_SetShootable
	Goto See  
  Missile:
	TNT1 A 0 A_SetShootable
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_Jump(15,"Rage")
	TNT1 A 0 A_Jump(40,"InfiniteAmmo")
	TNT1 A 0 A_Jump(75,"BFGMiniBall","VexedRailLaser")
	TNT1 A 0 A_Jump(100,"MissileLoop2")
	VNBD E 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
  MissileLoop:
	TNT1 A 0 A_JumpIf(user_infammo == 1,"MissileLoopInfAmmo")
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_JumpIfInventory("ASGZAmmo",16,"Reload")
	VNBD E 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_GiveInventory("ASGZAmmo",1)
	TNT1 A 0 A_SpawnItemEx("NemesisShellCasing",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	//TNT1 AAAA 0 A_CustomMissile("NemesisTracer",Random(28,34),0,Random(6,-6),0)
	//TNT1 A 0 A_CustomBulletAttack(15,12,4,0,"NemesisASGPuffExplode",0)
	//VNBD F 2 Bright A_CustomBulletAttack(15,12,4,Random(5,15)*6,"NemesisASGBulletPuff",0,CBAF_NORANDOM)
	TNT1 AAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	VNBD F 2 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	TNT1 A 0 A_CPosRefire
	TNT1 A 0 A_Jump(6,"Heal")
	TNT1 A 0 A_Jump(5,"Heal2")
	TNT1 A 0 A_Jump(4,"Heal3")
	TNT1 A 0 A_Jump(3,"InfiniteAmmo")
	TNT1 A 0 A_Jump(20,"MidAttackTeleport")
	TNT1 A 0 A_Jump(10,"Grenade")
	TNT1 A 0 A_JumpIfCloser(300,"MidAttackTeleport")
	Loop
  Strafing:
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	VNBD AA 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	VNBD BB 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	VNBD CC 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)  
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	VNBD DD 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	Goto See
  InfiniteAmmo:
	TNT1 A 0 A_JumpIf(user_infammo == 1,"Missile")
	TNT1 A 0 A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD A 5 Bright
	TNT1 A 0 A_SpawnItem("LHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 ACS_NamedExecuteAlways("EnemyInfiniteAmmo",0)
	TNT1 A 0 A_PlaySound("legammo/use",0,1.0,0,0.5)
	Goto See
  BFGMiniBall:
	VNBD E 6 Bright A_FaceTarget
	VNBD EE 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1) 
	VNBD E 6 Bright A_FaceTarget
	VNBD EE 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1) 
	VNBD E 10 Bright A_FaceTarget
	VNBD EE 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1) 
	VNBD F 4 Bright A_CustomMissile("MiniNemesisBFGBall",32,0,0,CMF_OFFSETPITCH,0)
	VNBD E 4 Bright A_FaceTarget
	Goto Dodge
  VexedRailLaser:
    TNT1 A 0 A_Jump(128,"VexedRailLaserContinuous")
	VNBD E 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	VNBD F 4 Bright A_CustomMissile("VexedNemesisCyberRailLaser",32,0,0,CMF_OFFSETPITCH,0)
	VNBD EE 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	VNBD F 4 Bright A_CustomMissile("VexedNemesisCyberRailLaser",32,0,0,CMF_OFFSETPITCH,0)
	VNBD EE 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	VNBD F 4 Bright A_CustomMissile("VexedNemesisCyberRailLaser",32,0,0,CMF_OFFSETPITCH,0)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	VNBD F 4 Bright A_CustomMissile("VexedNemesisCyberRailLaser",32,0,0,CMF_OFFSETPITCH,0)
	VNBD EE 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	VNBD F 4 Bright A_CustomMissile("VexedNemesisCyberRailLaser",32,0,0,CMF_OFFSETPITCH,0)
	Goto Dodge
  VexedRailLaserContinuous:
	VNBD E 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	VNBD F 4 Bright A_CustomMissile("VexedNemesisCyberRailLaser",32,0,0,CMF_OFFSETPITCH,0)
	VNBD EE 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	VNBD F 4 Bright A_CustomMissile("VexedNemesisCyberRailLaser",32,0,0,CMF_OFFSETPITCH,0)
	VNBD EE 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	VNBD F 4 Bright A_CustomMissile("VexedNemesisCyberRailLaser",32,0,0,CMF_OFFSETPITCH,0)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	VNBD F 4 Bright A_CustomMissile("VexedNemesisCyberRailLaser",32,0,0,CMF_OFFSETPITCH,0)
	VNBD EE 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	VNBD F 4 Bright A_CustomMissile("VexedNemesisCyberRailLaser",32,0,0,CMF_OFFSETPITCH,0)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	VNBD F 4 Bright A_CustomMissile("VexedNemesisCyberRailLaser",32,0,0,CMF_OFFSETPITCH,0)
	VNBD EE 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	VNBD F 4 Bright A_CustomMissile("VexedNemesisCyberRailLaser",32,0,0,CMF_OFFSETPITCH,0)
	VNBD EE 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	VNBD F 4 Bright A_CustomMissile("VexedNemesisCyberRailLaser",32,0,0,CMF_OFFSETPITCH,0)
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	VNBD F 4 Bright A_CustomMissile("VexedNemesisCyberRailLaser",32,0,0,CMF_OFFSETPITCH,0)
	VNBD EE 3 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("monsters/darkcyberrail",CHAN_WEAPON)
	VNBD F 4 Bright A_CustomMissile("VexedNemesisCyberRailLaser",32,0,0,CMF_OFFSETPITCH,0)
	Goto Dodge
  MissileLoop2:
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD E 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD E 4 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD E 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire",0,1.0,0,0.4)
	VNBD F 4 Bright A_CustomMissile("NemesisGrenadeImpact",32,0,0,2,4)
	TNT1 A 0 A_CPosRefire
	TNT1 A 0 A_Jump(20,"Heal")
	TNT1 A 0 A_Jump(18,"Heal2")
	TNT1 A 0 A_Jump(15,"Heal3")
	TNT1 A 0 A_Jump(10,"InfiniteAmmo")
	TNT1 A 0 A_Jump(60,"MidAttackTeleport")
	TNT1 A 0 A_JumpIfCloser(300,"MidAttackTeleport")
	Loop
  MissileLoopInfAmmo:
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_TakeInventory("ASGZAmmo",16)
	VNBD E 2 Bright A_FaceTarget
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("NemesisShellCasing",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	//TNT1 AAAA 0 A_CustomMissile("NemesisTracer",Random(28,34),0,Random(6,-6),0)
	//TNT1 A 0 A_CustomBulletAttack(15,12,4,0,"NemesisASGPuffExplode",0)
	//VNBD F 2 Bright A_CustomBulletAttack(15,12,4,Random(5,15)*6,"NemesisASGBulletPuff",0,CBAF_NORANDOM)
	TNT1 AAAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	VNBD F 2 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	TNT1 A 0 A_CPosRefire
	TNT1 A 0 A_Jump(6,"Heal")
	TNT1 A 0 A_Jump(5,"Heal2")
	TNT1 A 0 A_Jump(4,"Heal3")
	TNT1 A 0 A_Jump(10,"Grenade")
	Loop
  Mine:
	TNT1 A 0 A_JumpIf(user_infammo == 1,"MineInfAmmo")
	VNBD C 1 Bright
	VNBD C 5 Bright A_CustomMissile("NemesisSpringMineSet",32,0,0,2,15)
	VNBD E 5 Bright
	VNBD C 3 Bright
	Goto See
  MineInfAmmo:
	VNBD C 6 Bright
	TNT1 AAAAAAAA 0 A_CustomMissile("NemesisSpringMineSet",32,0,random(0,360),2,15)
	VNBD E 5 Bright
	VNBD C 3 Bright
	Goto See
  Grenade:
	VNBD E 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire",0,1.0,0,0.4)
	VNBD F 4 Bright A_CustomMissile("NemesisGrenadeLowGrav",32,0,0,2,4)
	VNBD E 4 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire",0,1.0,0)
	VNBD F 4 Bright A_CustomMissile("NemesisGrenadeLowGrav",32,0,0,2,4)
	Goto Dodge
  MidAttackTeleport:
	VNBD E 1 Bright A_UnSetShootable
	TNT1 AAAA 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD E 1 Bright A_FadeOut(0.2,0)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 1 Bright A_FadeOut(0.2,0)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 1 Bright A_FadeOut(0.2,0)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 1 Bright A_FadeOut(0.2,0)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 1 Bright A_FadeOut(0.2,0)
	VNBD E 2 Bright
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	VNBD E 1 Bright A_PlayWeaponSound("boss/teleport")
	TNT1 AAAA 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD E 1 Bright A_FadeIn(0.2)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 1 Bright A_FadeIn(0.2)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 1 Bright A_FadeIn(0.2)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 1 Bright A_FadeIn(0.2)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 1 Bright A_FadeIn(0.2)
	VNBD E 1 Bright A_SetShootable
	Goto Grenade
  Rage:
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_PlaySound("VexedNemesisAssaultCaptain/Sight",7,1.0,0,ATTN_NONE)
	VNBD EEEEEEEE 2 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SetUserVar("user_missile",0)
  RageLoop:
	TNT1 A 0 A_JumpIf(user_missile >= 20,"See")	 
	TNT1 A 0 A_SetUserVar("user_missile",user_missile+1)
	VNBD E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("NemesisShellCasing",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	VNBD F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	VNBD E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("NemesisShellCasing",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	VNBD F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	VNBD E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItemEx("NemesisShellCasing",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_PlaySound("NemesisASG/Fire",5)
	TNT1 AAAAAA 0 A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	VNBD F 1 Bright A_CustomMissile("NemesisASGBall",32,0,frandom(-10,10),CMF_OFFSETPITCH,frandom(-6,6))
	VNBD E 1 Bright A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	TNT1 A 0 A_PlaySound("Weapons/GrenadeFire",0,1.0,0,0.4)
	VNBD F 1 Bright A_CustomMissile("NemesisGrenadeImpact",32,0,0,2,4)
	TNT1 A 0 A_Jump(80,"MidRageTeleport")
	Loop
  Reload:
	TNT1 A 0 A_ChangeFlag("NoPain",1)
	TNT1 A 0 A_PlaySound("lasgguy/asgout")
	TNT1 A 0 A_SpawnItemEx("LegendaryEmptyDrumSpawner",-8,7,30,4,0,(0.1)*Random(30,40),Random(-80,-90),128)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD E 10 Bright A_TakeInventory("ASGZAmmo",16)
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	VNBD E 4 Bright A_PlaySound("lasgguy/asgin") 
	VNBD E 5 Bright A_PlaySound("LShotgun/Cock")
	TNT1 A 0 A_SpawnItemEx("TrueNemesisHellionSmokeSpawner")
	TNT1 A 0 A_ChangeFlag("NoPain",0)
	Goto See
  MidRageTeleport:
	VNBD E 1 Bright A_UnSetShootable
	TNT1 AAAA 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VNBD E 1 Bright A_FadeOut(0.1,0)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD EEE 1 Bright A_FadeOut(0.3,0)
	VNBD E 2 Bright
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	TNT1 AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA 0 A_Wander
	VNBD E 1 Bright A_PlayWeaponSound("boss/teleport")
	TNT1 AAAA 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VNBD EEE 1 Bright A_FadeIn(0.3)
	TNT1 A 0 A_GiveInventory("VexedNemesisLegZombieStrafing",1)
	VNBD E 1 Bright A_FadeIn(0.1)
	VNBD E 1 Bright A_SetShootable
	Goto RageLoop
 Pain:
	VNBD G 3 A_Pain
    TNT1 A 0 A_Jump(30,"Teleport")
	TNT1 A 0 A_Jump(20,"Dodge")
	TNT1 A 0 A_Jump(192,"PainMissile")
	VNBD G 3
	TNT1 A 0 A_Jump(40,"Dodge")
	Goto See
  Death:
	TNT1 A 0 A_StopSound(6)
	TNT1 A 0 A_ChangeFlag(BRIGHT,0)
	TNT1 A 0 A_Jump(36,"LegendarySoul")
	VNBD H 5
	VNBD I 5 A_Scream
	VNBD J 5 A_Fall
	VNBD J 5 A_SpawnItem("BodyCrash",0,0,0,0)
	VNBD K 5
	VNBD M -1
	Stop
  LegendarySoul:
	TNT1 A 0 A_StopSound(6)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VNBD H 5
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VNBD I 5 A_Scream
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VNBD J 5 A_Fall
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VNBD J 5 A_SpawnItem("BodyCrash",0,0,0,0)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VNBD K 5
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VNBD M 140
	VNBD M 0 A_PlaySoundEx("brain/spit","Voice",0,2)
	VNBD MMMMMMMMMMMMMMMMM 2 A_GiveInventory("NemesisSoulEvent",1)
	VNBD MMMMMMMMMMMMMMMMM 2 A_GiveInventory("NemesisSoulEvent",1)
	VNBD MMMMMMMMMMMMMMMMM 2 A_GiveInventory("NemesisSoulEvent",1)
	TNT1 A 0 A_SpawnItemEx("VexedNemesisSoul",0,0,16,0,0,0,0,32)
	TNT1 A 0 A_SpawnItemEx("TeleportFog",0,0,16,0,0,0,0,32)
	VNBD M -1
	Stop
  MoreStuff:
	VNBD M 100
	TNT1 A 0 A_SpawnItem("HellionSmokeAttack")
	VNBD MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM 1 A_SpawnItem("NemesisAssaultCaptainItemRandomizer")
	VNBD MMMMMMMMMMMMMMMMMMMMMMMMMMMMMM 1 A_SpawnItem("NemesisAssaultCaptainItemRandomizer")
	VNBD M 1 A_SpawnItem("NemesisZombieSuperItemRandomizer")
	VNBD M -1
	Stop
  XDeath:
	TNT1 A 0 A_StopSound(6)
	TNT1 AAAAA 0 A_SpawnItemEx("NemesisGrenade",0,0,32,random(0,8),0,random(0,12),random(0,360))
	TNT1 AAAAAAAA 0 A_CustomMissile("NemesisSpringMineSet",32,0,random(0,360),2,15)
	TNT1 A 0 A_JumpIfInTargetInventory("NemesisFragmentToken",1,3)
	TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("NemesisFragment") == 0,2)
	TNT1 A 0 A_SpawnItemEx("NemesisFragmentSpawner",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION,192)
	TNT1 A 0 A_ChangeFlag(BRIGHT,0)
	VNBD O 5 A_SpawnItemEx("NemesisGibbedGenerator",0,0,0,0,0,0,0,128,0)
	VNBD P 5 A_XScream
	VNBD Q 5 A_Fall
	VNBD RSTUV 5
	VNBD W -1
	Stop
   MoreStuff2:
	VNBD W 100
	TNT1 A 0 A_SpawnItem("HellionSmokeAttack")
	VNBD WWWWWWWWWWWWWWWWWWWWWWWWWWWWWW 1 A_SpawnItem("NemesisAssaultCaptainItemRandomizer")
	VNBD WWWWWWWWWWWWWWWWWWWWWWWWWWWWWW 1 A_SpawnItem("NemesisAssaultCaptainItemRandomizer")
	VNBD W 1 A_SpawnItem("NemesisZombieSuperItemRandomizer")
	VNBD W -1
	Stop
   }
}
ACTOR VexedNemesisBanditGhostA
{
Scale 1.1
Radius 20
Height 56
Speed 0
Alpha 0.7
PROJECTILE
RENDERSTYLE Translucent
+NOTIMEFREEZE
+NOINTERACTION
+CLIENTSIDEONLY
+NONETID
States
{
  Spawn:
	TNT1 A 0
	TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "NULL")
	TNT1 A 1
	Goto Fade
  Fade:
	VNBD A 2 A_FadeOut(0.1,1)
	Loop
  Toaster:
	TNT1 A 1
	Stop
	}
}

ACTOR VexedNemesisBanditGhostB : VexedNemesisBanditGhostA
{   
States
{
  Spawn:
	TNT1 A 0
	TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "NULL")
	TNT1 A 1
	Goto Fade
  Fade:
	VNBD B 2 A_FadeOut(0.1,1)
	Loop
    }
}

ACTOR VexedNemesisBanditGhostC : VexedNemesisBanditGhostA
{   
States
{
  Spawn:
	TNT1 A 0
	TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "NULL")
	TNT1 A 1
	Goto Fade
  Fade:
	VNBD C 2 A_FadeOut(0.1,1)
	Loop
    }
}

ACTOR VexedNemesisBanditGhostD : VexedNemesisBanditGhostA
{   
States
{
  Spawn:
	TNT1 A 0
	TNT1 A 0 A_JumpIf(ACS_ExecuteWithResult(304) == 1, "NULL")
	TNT1 A 1
	Goto Fade
  Fade:
	VNBD D 2 A_FadeOut(0.1,1)
	Loop
	}
}
    

	
	
	
	

  	
	
	
		 
  
  
	
	
  




  
  







 
  
  
  
  
