ACTOR VexedNemesisGeneral : NemesisGeneral
{
//Creator: Dr. Sticky
//Origin: Nexus Infinity
//Sprite: VEGE
//Title: "Vexed Nemesis General"
Health 2500
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, 3
DropItem "Portablemedkit", 217, 1
DropItem "NemesisRuneSpawnerTier1", 70, 1
DropItem "SemiNemesisArmor", 92, 1
DropItem "NemesisPowerShard", 35, 1
DropItem "LegendaryRune" 50 1
DropItem "Nemesis Plasmatic Cannon", 256
DropItem "Beacon" 128 1
DropItem "Beacon" 128 1
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
Obituary "A Vexed Nemesis General showed %o what happens if you disobey his orders."
Tag "\c[W2]Vexed Nemesis General\c-"
States
{
  Spawn:
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE A 10 Bright A_Look
	TNT1 A 0 A_PlayWeaponSound("Leg10K/Idle")
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE Z 10 Bright A_Look
    Loop
  See:
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("StartMonsterMusic",0,2090)
	TNT1 A 0 A_SetUserVar("user_music",1)
    TNT1 A 0 A_PlayWeaponSound("Leg10K/Idle")
	VEGE A 0 A_JumpIfTargetInLOS("Strafing")
	VEGE AABB 3 Bright A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("LegendaryFootStep",0,0,0,0)
    TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE A 0 A_JumpIfTargetInLOS("Strafing")
    VEGE CCDD 3 Bright A_Chase
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE A 0 A_Jump(80,"Rush")
    TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItem("LegendaryFootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
    Loop
  Rush:
    VEGE A 0 A_JumpIfTargetInLOS("Strafing")
	TNT1 A 0 A_SpawnItem("LegendaryFootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("VexedNemGeneralGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	VEGE A 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("VexedNemGeneralGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	VEGE A 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("VexedNemGeneralGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	VEGE B 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("VexedNemGeneralGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	VEGE B 1 Bright A_Chase
	TNT1 A 0 A_SpawnItem("LegendaryFootStep",0,0,0,0)
    TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("VexedNemGeneralGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	VEGE C 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("VexedNemGeneralGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	VEGE C 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("VexedNemGeneralGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	VEGE D 1 Bright A_Chase
	TNT1 A 0 A_SpawnItemEx("VexedNemGeneralGhost",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	VEGE D 1 Bright A_Chase
	TNT1 A 0 A_SpawnItem("LegendaryFootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Jump(84,"See")
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	Loop
  Strafing:
	TNT1 A 0 A_SpawnItem("LegendaryFootStep",0,0,0,0)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	VEGE AA 3 Bright A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	VEGE BB 3 Bright A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("LegendaryFootStep",0,0,0,0)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
    VEGE CC 3 Bright A_GiveInventory("NLegZombieStrafing3",1)	
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	VEGE DD 3 Bright A_GiveInventory("NLegZombieStrafing3",1)
	Goto See
  Pause:
	TNT1 A 0 A_PlayWeaponSound("Leg10K/ACool")
	VEGE EEEEE 3 Bright A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_Jump(81,"BFG10K")
	Goto See
  Missile:
    TNT1 A 0 A_SetShootable
    TNT1 A 0 A_UnsetInvulnerable
    TNT1 A 0 A_SetTranslucent(1)
    TNT1 A 0 A_Jump(100,"BFG10K")
	TNT1 A 0 A_JumpIfCloser(200,"LegNade")
  Normal:
	TNT1 A 0 A_SetShootable
    TNT1 A 0 A_UnsetInvulnerable
    TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_PlayWeaponSound("Leg10K/ACharge")
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	VEGE E 4 Bright A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_PlayWeaponSound("Leg10K/AFire")
	TNT1 A 0 A_CustomMissile("NemesisHKSuperBall",30,0,random(-4,4),0)
	VEGE F 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_CustomMissile("NemesisHKSuperBall",30,0,random(-4,4),0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_PlayWeaponSound("Leg10K/AFire")
	TNT1 A 0 A_CustomMissile("NemesisHKSuperBall",30,0,random(-4,4),0)
	VEGE F 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_CustomMissile("NemesisHKSuperBall",30,0,random(-4,4),0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_CustomMissile("NemesisHKSuperBall",30,0,random(-4,4),0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_PlayWeaponSound("Leg10K/AFire")
	TNT1 A 0 A_CustomMissile("NemesisHKSuperBall",30,0,random(-4,4),0)
	VEGE F 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_CustomMissile("NemesisSentientBFG9500Ball",30,0,random(-4,4),0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_CustomMissile("NemesisSentientBFG9500Ball",30,0,random(-4,4),0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_CustomMissile("NemesisSentientBFG9500Ball",30,0,random(-4,4),0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_CustomMissile("NemesisSentientBFG9500Ball",30,0,random(-4,4),0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_CustomMissile("NemesisSentientBFG9500Ball",30,0,random(-4,4),0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_CustomMissile("NemesisSentientBFG9500Ball",30,0,random(-4,4),0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE E 3 Bright A_FaceTarget
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpidRefire
	Goto Pause
  BFG10K:
	TNT1 A 0 A_SetShootable
    TNT1 A 0 A_UnsetInvulnerable
    TNT1 A 0 A_SetTranslucent(1)
	VEGE E 3 Bright A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_PlayWeaponSound("Leg10K/PCharge")
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
    VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
    VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
    VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 2 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
    VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
    VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_Jump(24,"Pause")
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 2 Bright A_FaceTarget
	TNT1 A 0 A_PlaySound("Leg10K/PFire")
	VEGE F 1 Bright A_CustomMissile("Nemesis10kProjectile", 30, 0, Random(-3, 3))
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
	VEGE E 20 A_PlaySound("weapons/bfg15kcooldown")
	Goto See
  LegNade:
    VEGE E 1 Bright A_JumpIfCloser(1800,1)
	Goto Missile
	VEGE E 0 A_JumpIfCloser(600,"Missile")
    VEGE E 12 Bright A_GiveInventory("NLegZombieStrafing3",1)
    VEGE EEE 6 Bright A_GiveInventory("NLegZombieStrafing3",1)
	TNT1 A 0 A_GiveInventory("NLegZombieStrafing3",1)
    VEGE E 6 Bright A_CustomMissile("VexThrownGrenade",32,0,0,2,10)
	VEGE EE 15 Bright
	Goto See
  Pain:
	TNT1 A 0 A_Jump(192,"PainMissile")
	VEGE G 3 Bright
	VEGE G 3 Bright A_Pain
	Goto See
  PainMissile:
	VEGE G 3 Bright
	VEGE G 3 Bright A_Pain
	Goto Missile
  Death:
	TNT1 A 0 A_Jump(37,"LegendarySoul")
    TNT1 A 0 A_StopSound(6)
    VEGE H 5 A_Scream
    VEGE I 5 A_Fall
    VEGE J 5 A_SpawnItem("BodyCrash",0,0,0,0)
    VEGE K 5
	TNT1 A 0 A_Jump(100,"MoreStuff")
	VEGE L 100
	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)
    VEGE L -1
    Stop
  MoreStuff:
	VEGE L 100
	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_SpawnItem("HellionSmokeAttack")
	VEGE LLLLLLLLLLLLLLLLLLLLLLLLLLLLLL 1 A_SpawnItem("NemesisZombieItemRandomizer")
	VEGE LLLLLLLLLLLLLLLLLLLLLLLLLLLLLL 1 A_SpawnItem("NemesisZombieItemRandomizer")
	VEGE L 1 A_SpawnItem("NemesisZombieSuperItemRandomizer")
	VEGE L -1
	Stop
  LegendarySoul:
	TNT1 A 0 A_SetTranslucent(1)
	TNT1 A 0 A_StopSound(6)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE H 5 A_Scream
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE I 5 A_Fall
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE J 5 A_SpawnItem("BodyCrash",0,0,0,0)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	VEGE L 140
	VEGE L 0 A_PlaySoundEx("brain/spit","Voice",0,2)
	VEGE LLLLLLLLLLLLLLLLL 2 Bright A_GiveInventory("NemesisSoulEvent",1)
	VEGE LLLLLLLLLLLLLLLLL 2 Bright A_GiveInventory("NemesisSoulEvent",1)
	VEGE LLLLLLLLLLLLLLLLL 2 Bright A_GiveInventory("NemesisSoulEvent",1)
	TNT1 A 0 A_SpawnItemEx("INFVexedNemesisSoul",0,0,16,0,0,0,0,32)
	TNT1 A 0 A_SpawnItemEx("TeleportFog",0,0,16,0,0,0,0,32)
	VEGE L -1
	Stop
  XDeath:
    TNT1 A 0 A_StopSound(6)
    VEGE O 3
    VEGE O 3 A_XScream
    VEGE O 3 A_SpawnItemEx("NemesisGibbedGenerator",0,0,0,0,0,0,0,128,0)
    VEGE P 3 A_Fall
    VEGE QRSTUV 3
	TNT1 A 0 A_Jump(100,"MoreStuff2")
    VEGE W -1 
    Stop
  MoreStuff2:
	VEGE W 100
	TNT1 A 0 A_SpawnItem("HellionSmokeAttack")
	VEGE WWWWWWWWWWWWWWWWWWWWWWWWWWWWWW 1 A_SpawnItem("NemesisRebelSoldierItemRandomizer")
	VEGE WWWWWWWWWWWWWWWWWWWWWWWWWWWWWW 1 A_SpawnItem("NemesisRebelSoldierItemRandomizer")
	VEGE W 1 A_SpawnItem("NemesisZombieSuperItemRandomizer")
	VEGE W -1
	Stop
	}
}

ACTOR VexedNemGeneralGhost
{
Scale 1.1
Radius 20
Height 56
Speed 0
Alpha 0.7
PROJECTILE
RENDERSTYLE Translucent
+CLIENTSIDEONLY
+NOINTERACTION
+NOTIMEFREEZE
States
{
  Spawn:
    TNT1 A 0
    TNT1 A 1 A_JumpIf(ACS_ExecuteWithResult(304) == 1,"NULL")
    VEGE A 2 A_FadeOut(0.10)
    Wait
    }
}