ACTOR NemesisColonel : NemesisZombie
{
//Creator: Titanium
//Origin: Nexus Infinity
//Sprite: NCOL
//Title: "Legendary Colonel" 
Health 1750
Speed 22
MaxTargetRange 2048
MinMissileChance 100
PainChance 20
Species "Zombie"
DamageFactor "PDTBFG", 0.20
DamageFactor "PDTBFGTracer", 0.20
DamageFactor "PlayerDevBall", 0.120
DamageFactor "PlayerDevBall2", 0.120
DamageFactor "PlayerDTBFGRailgunSlug", 0.120
DamageFactor "PlayerDevTracer", 0.120
DamageFactor "Legendary", 0.0
DamageFactor "LegendaryGuru", 0.0
DamageFactor "LegendaryPlayer", 0.3
DamageFactor "LegendaryGuruPlayer", 0.3
DamageFactor "LegendaryZombie", 0.0
DamageFactor "LACGrenade", 0.0
DamageFactor "DBFG10K2", 0.65
DamageFactor "PlayerDBFG10K2", 0.65
DamageFactor "DBFG2", 0.65
DamageFactor "PlayerDBFG2", 0.65
DamageFactor "PlayerDTRG", 0.5
DamageFactor 0.5
DropItem "Nemesis Assault Shotgun" 202
DropItem "HeavyChaingun" 64 1
DropItem "NewShell" 255 4
DropItem "NewShellBox" 128
DropItem "NemesisShell" 256 4
DropItem "NemesisShellBox" 130
DropItem "NemesisPowerShard" 30 1
DropItem "NemesisArmor" 92 1
DropItem "LegAmmoSphere" 95 1
DropItem "AmmoPack" 100
DropItem "AmmoPack" 100
DropItem "AmmoPack" 100
DropItem "HandGrenadeAmmo" 237 2
DropItem "MineAmmo" 242 2
DropItem "Backpack" 202, 1
DropItem "Armorplate" 212 1
DropItem "Portablemedkit" 217 1
DropItem "StimKit" 222 3
DropItem "HealthFlask" 227 5
DropItem "LegendaryRune" 27 1
DropItem "ShieldSphere" 64 1
DropItem "MarineBeacon" 75 1
//AttackSound "weapons/12gaugefire"
SeeSound "TureLegColonel/sight"
PainSound "TureLegColonel/pain"
DeathSound "TureLegColonel/death"
ActiveSound "TureLegColonel/active"
Obituary "%o couldn't hide from the miraculous, \c[g3]Nemesis Colonel!\c-."
Tag "\c[g3]Nemesis Colonel\c-"
+DONTHARMSPECIES
+BRIGHT
var int user_attack;
States
{
  Spawn:
	NCOL A 10 A_Look
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NCOL A 10 A_Look
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	Loop
  See:
	TNT1 A 0 A_JumpIf(user_music == 1,3)
	TNT1 A 0 ACS_NamedExecuteAlways("InfinityMusic",0,6804,562)
	TNT1 A 0 A_SetUserVar("user_music",1)
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NCOL AA 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NCOL BB 3 A_Chase
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_Jump(80,"Rush")
	NCOL CC 3 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NCOL DD 3 A_Chase
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_Jump(80,"Rush")
	Loop
  Chase:
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NCOL AA 1 A_FastChase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_JumpIfCloser(160,"Dodge")
	NCOL AA 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_JumpIfCloser(160,"Dodge")
	NCOL BB 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_JumpIfCloser(160,"Dodge")
	NCOL BB 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("FootStep",0,0,2,0,0,-20)
	TNT1 A 0 A_JumpIfCloser(150,"Dodge")
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	NCOL CC 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_JumpIfCloser(150,"Dodge")
	NCOL CC 1 A_FastChase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_JumpIfCloser(160,"Dodge")
	NCOL DD 1 A_FastChase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_JumpIfCloser(160,"Dodge")
	NCOL DD 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("FootStep",0,0,2,0,0,-20)
	TNT1 A 0 A_Jump(64,"Dodge")
	Loop
  Rush:
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("NemColonelGhostA",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	NCOL A 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemColonelGhostA",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	NCOL A 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemColonelGhostB",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	NCOL B 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemColonelGhostB",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	NCOL B 1 A_Chase
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_SpawnItemEx("NemColonelGhostC",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	NCOL C 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemColonelGhostC",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	NCOL C 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemColonelGhostD",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	NCOL D 1 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemColonelGhostD",0,0,0,0,0,0,0,SXF_CLIENTSIDE|SXF_NOCHECKPOSITION)
	NCOL D 1 A_Chase
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_Jump(85,"See")
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	Loop
  Strafing:
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	NCOL AA 3 A_GiveInventory("NemesisLegZombieStrafing",1)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	NCOL BB 3 A_GiveInventory("NemesisLegZombieStrafing",1)
	TNT1 A 0 A_SpawnItem("FootStep",0,0,0,0)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	NCOL CC 3 A_GiveInventory("NemesisLegZombieStrafing",1)
	TNT1 A 0 A_Chase("","Missile",CHF_DONTMOVE)
	NCOL DD 3 A_GiveInventory("NemesisLegZombieStrafing",1)
	Goto See
  SeeNoDodge:
	NCOL AABB 2 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("FootStep",0,0,2,0,0,-20)
	NCOL CCDD 2 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("FootStep",0,0,2,0,0,-20)
	NCOL AABB 2 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("FootStep",0,0,2,0,0,-20)
	NCOL CCDD 2 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("FootStep",0,0,2,0,0,-20)
	NCOL AABB 2 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("FootStep",0,0,2,0,0,-20)
	NCOL CCDD 2 A_Chase
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	TNT1 A 0 A_SpawnItemEx("FootStep",0,0,2,0,0,-20)
	Goto Chase
  Dodge:
	NCOL A 1 A_FaceTarget
	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,15,0,0)
	Goto SeeNoDodge
  DodgeRight:
	TNT1 A 0 ThrustThing(angle*256/360+64,15,0,0)
	Goto SeeNoDodge
  Missile:
	TNT1 A 0
	TNT1 A 0 A_SetUserVar("user_attack",1)
	TNT1 A 0 A_PlaySound("HeavyChaingun/Sart",CHAN_WEAPON,1.0,0)
	TNT1 A 0 A_JumpIfCloser(250,"CloserAttack")
	NCOL E 3 A_GiveInventory("NemesisLegZombieStrafing",1)
	NCOL EEEEEEE 1 A_FaceTarget(45)
  Refire:
	TNT1 A 0 A_PlaySound("HeavyChaingun/Loop",CHAN_WEAPON,1.0,1)
	TNT1 AAAA 0 A_CustomMissile("NemesisTracer",random(28,34),0,random(-6,6),CMF_OFFSETPITCH,frandom(-3.0,3.0))
	TNT1 A 0 A_SpawnItemEx("NemesisShellCasing",12,-6,36,random(2,6),0,random(1,3),random(-80,-90),SXF_NOCHECKPOSITION|SXF_CLIENTSIDE)
	TNT1 A 0 A_PlaySound("Weapons/LegAutoShotgun",6)
	TNT1 A 0 A_CustomBulletAttack(22.5,18.3,4,Random(5,15)*6,"NemesisASGBulletPuff",2048,CBAF_NOrandom)
	NCOL E 4 A_CustomBulletAttack(0,0,1,Random(5,15)*6,"NemesisASGBulletPuff",2048,CBAF_NOrandom)
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_GiveInventory("NemesisLegZombieStrafing",1)
	TNT1 A 0 A_FaceTarget
	TNT1 AAAA 0 A_CustomMissile("NemesisTracer",random(28,34),0,random(-6,6),CMF_OFFSETPITCH,frandom(-3.0,3.0))
	TNT1 A 0 A_SpawnItemEx("NemesisShellCasing",12,-6,36,random(2,6),0,random(1,3),random(-80,-90),SXF_NOCHECKPOSITION|SXF_CLIENTSIDE)
	TNT1 A 0 A_PlaySound("Weapons/LegAutoShotgun",6)
	TNT1 A 0 A_CustomBulletAttack(22.5,18.3,4,Random(5,15)*6,"NemesisASGBulletPuff",2048,CBAF_NOrandom)
	NCOL F 4 A_CustomBulletAttack(0,0,1,Random(5,15)*6,"NemesisASGBulletPuff",8192,CBAF_NOrandom)
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_GiveInventory("NemesisLegZombieStrafing",1)
	TNT1 A 0 A_MonsterRefire(0,"MissileEnd")
	TNT1 A 0 A_Jump(20,"Pause")
	TNT1 A 0 A_JumpIfInTargetLOS("Dodge",360,JLOSF_DEADNOJUMP,1000)
	Loop
  CloserAttack:
	TNT1 A 0
	TNT1 A 0 A_GiveInventory("ZombieShieldSphere",1)
	NCOL A 1 A_GiveInventory("NemesisLegZombieStrafing",1)
	NCOL A 1 A_FaceTarget
	TNT1 A 0 A_FaceTarget
	NCOL B 1 A_GiveInventory("NemesisLegZombieStrafing",1)
	NCOL BC 1 A_FaceTarget
	TNT1 A 0 A_FaceTarget
	NCOL C 1 A_GiveInventory("NemesisLegZombieStrafing",1)
	NCOL C 1 A_FaceTarget
	TNT1 A 0 A_FaceTarget
	NCOL D 1 A_GiveInventory("NemesisLegZombieStrafing",1)
	NCOL DD 1 A_FaceTarget
	TNT1 A 0 A_FaceTarget
  Refire2:
	TNT1 A 0 A_PlaySound("HeavyChaingun/Loop",CHAN_WEAPON,1.0,1)
	TNT1 AAAA 0 A_CustomMissile("NemesisTracer",random(28,34),0,random(-6,6),CMF_OFFSETPITCH,frandom(-3.0,3.0))
	TNT1 A 0 A_SpawnItemEx("NemesisShellCasing",12,-6,36,random(2,6),0,random(1,3),random(-80,-90),SXF_NOCHECKPOSITION|SXF_CLIENTSIDE)
	TNT1 A 0 A_PlaySound("Weapons/LegAutoShotgun",6)
	TNT1 A 0 A_CustomBulletAttack(22.5,18.3,4,Random(5,15)*6,"NemesisASGBulletPuff",2048,CBAF_NOrandom)
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_GiveInventory("NemesisLegZombieStrafing",1)
	NCOL Q 4 A_CustomBulletAttack(0,0,1,Random(5,15)*6,"NemesisASGBulletPuff",2048,CBAF_NOrandom)
	TNT1 AAAA 0 A_CustomMissile("NemesisTracer",random(28,34),0,random(-6,6),CMF_OFFSETPITCH,frandom(-3.0,3.0))
	TNT1 A 0 A_SpawnItemEx("NemesisShellCasing",12,-6,36,random(2,6),0,random(1,3),random(-80,-90),SXF_NOCHECKPOSITION|SXF_CLIENTSIDE)
	TNT1 A 0 A_PlaySound("Weapons/LegAutoShotgun",6)
	TNT1 A 0 A_CustomBulletAttack(22.5,18.3,4,Random(5,15)*6,"NemesisASGBulletPuff",2048,CBAF_NOrandom)
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_GiveInventory("NemesisLegZombieStrafing",1)
	NCOL R 4 A_CustomBulletAttack(0,0,1,Random(5,15)*6,"NemesisASGBulletPuff",2048,CBAF_NOrandom)
	TNT1 AAAA 0 A_CustomMissile("NemesisTracer",random(28,34),0,random(-6,6),CMF_OFFSETPITCH,frandom(-3.0,3.0))
	TNT1 A 0 A_SpawnItemEx("NemesisShellCasing",12,-6,36,random(2,6),0,random(1,3),random(-80,-90),SXF_NOCHECKPOSITION|SXF_CLIENTSIDE)
	TNT1 A 0 A_PlaySound("Weapons/LegAutoShotgun",6)
	TNT1 A 0 A_CustomBulletAttack(22.5,18.3,4,Random(5,15)*6,"NemesisASGBulletPuff",2048,CBAF_NOrandom)
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_GiveInventory("NemesisLegZombieStrafing",1)
	NCOL S 4 A_CustomBulletAttack(0,0,1,Random(5,15)*6,"NemesisASGBulletPuff",2048,CBAF_NOrandom)
	TNT1 AAAA 0 A_CustomMissile("NemesisTracer",random(28,34),0,random(-6,6),CMF_OFFSETPITCH,frandom(-3.0,3.0))
	TNT1 A 0 A_SpawnItemEx("NemesisShellCasing",12,-6,36,random(2,6),0,random(1,3),random(-80,-90),SXF_NOCHECKPOSITION|SXF_CLIENTSIDE)
	TNT1 A 0 A_PlaySound("Weapons/LegAutoShotgun",6)
	TNT1 A 0 A_CustomBulletAttack(22.5,18.3,4,Random(5,15)*6,"NemesisASGBulletPuff",2048,CBAF_NOrandom)
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_GiveInventory("NemesisLegZombieStrafing",1)
	NCOL T 4 A_CustomBulletAttack(0,0,1,Random(5,15)*6,"NemesisASGBulletPuff",2048,CBAF_NOrandom)
	TNT1 A 0 A_MonsterRefire(0,"MissileEnd")
	TNT1 A 0 A_Jump(15,"Pause")
	Loop
  MissileEnd:
	TNT1 A 0
	TNT1 A 0 A_SetUserVar("user_attack",0)
	TNT1 A 0 A_PlaySound("HeavyChaingun/Down",CHAN_WEAPON,1.0,0)
	Goto See
  Pause:
	TNT1 A 0
	TNT1 A 0 A_SetUserVar("user_attack",0)
	TNT1 A 0 A_PlaySound("HeavyChaingun/Down",CHAN_WEAPON,1.0,0)
	TNT1 A 0 A_GiveInventory("NemesisLegZombieStrafing",1)
	NCOL A 3 A_FaceTarget
	TNT1 A 0 A_JumpIfInTargetLOS("Dodge",360,JLOSF_DEADNOJUMP,1000)
	TNT1 A 0 A_GiveInventory("NemesisLegZombieStrafing",1)
	NCOL A 3 A_FaceTarget
	TNT1 A 0 A_JumpIfInTargetLOS("Dodge",360,JLOSF_DEADNOJUMP,1000)
	TNT1 A 0 A_GiveInventory("NemesisLegZombieStrafing",1)
	NCOL A 3 A_FaceTarget
	TNT1 A 0 A_JumpIfInTargetLOS("Dodge",360,JLOSF_DEADNOJUMP,1000)
	TNT1 A 0 A_GiveInventory("NemesisLegZombieStrafing",1)
	NCOL A 3 A_FaceTarget
	TNT1 A 0 A_JumpIfInTargetLOS("Dodge",360,JLOSF_DEADNOJUMP,1000)
	TNT1 A 0 A_GiveInventory("NemesisLegZombieStrafing",1)
	NCOL A 3 A_FaceTarget
	TNT1 A 0 A_JumpIfInTargetLOS("Dodge",360,JLOSF_DEADNOJUMP,1000)
	Goto See
  Pain:
	TNT1 A 0
	TNT1 A 0 A_JumpIfHealthLower((ACS_NamedExecuteWithResult("Hem_SpawnHealth")*0.25),"PainShield")
	TNT1 A 0 A_Jump(10,"Protection")
	TNT1 A 0 A_Jump(96,"NoPainShield")
  PainShield:
	TNT1 A 0 A_GiveInventory("ZombieShieldSphere",1)
  NoPainShield:
	TNT1 A 0 A_JumpIf(user_attack > 0,"WeapodDown")
	NCOL G 6 A_Pain
	Goto See
  WeapodDown:
	TNT1 A 0
	TNT1 A 0 A_SetUserVar("user_attack",0)
	TNT1 A 0 A_PlaySound("HeavyChaingun/Down",CHAN_WEAPON,1.0,0)
	NCOL G 6 A_Pain
	Goto See
  Protection:
	TNT1 A 0 A_JumpIf(user_protection >= 3,"Pain")
	TNT1 A 0 A_JumpIf(user_protected == 1,"Pain")
	TNT1 A 0 A_PlaySound("legendary/defense")
	TNT1 A 0 A_FaceTarget
	NCOL E 2 ACS_NamedExecuteAlways("NemesisZombieProtection",0,0,0,0)
	TNT1 A 0 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	Goto See
  Death:
	TNT1 A 0
	TNT1 A 0 A_Jump(36,"LegendarySoul")
	TNT1 AAA 0 A_StopSound(CHAN_WEAPON)
	TNT1 A 0 A_ChangeFlag("BRIGHT",0)
	NCOL H 5
	NCOL I 5 A_Scream 
	NCOL J 5 A_Fall 
	NCOL K 5 A_SpawnItem("BodyCrash",0,0,0,0)
	NCOL LMNOP 5
	NCOL P -1
	Stop
  LegendarySoul:
	TNT1 A 0 A_StopSound(6)
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	NCOL H 5 A_Scream
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_ChangeFlag(BRIGHT,0)
    NCOL I 5 A_Fall
	TNT1 A 0 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
    NCOL J 5 A_SpawnItem("BodyCrash",0,0,0,0)
    NCOL K 5 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
    NCOL LMMOP 5 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	NCOL P 140 A_SpawnItem("TrueNemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 0 A_PlaySoundEx("brain/spit","Voice",0,2)
	NCOL PPPPPPPPPPPPPPPPP 2 Bright A_GiveInventory("NemesisSoulEvent",1)
	NCOL PPPPPPPPPPPPPPPPP 2 Bright A_GiveInventory("NemesisSoulEvent",1)
	NCOL PPPPPPPPPPPPPPPPP 2 Bright A_GiveInventory("NemesisSoulEvent",1)
	TNT1 A 0 A_SpawnItemEx("NemesisSoul",0,0,16,0,0,0,0,32)
	TNT1 A 0 A_SpawnItemEx("TeleportFog",0,0,16,0,0,0,0,32)
	NCOL P -1
    Stop
  VexedSpawn:
    NCOL G 3 Bright A_Pain
    NCOL G 0 A_PlaySoundEx("brain/spit",7,0,2)
    NCOL GGGGGGGGGGGGGGGGG 2 Bright A_GiveInventory("NemesisSoulEvent",1)
    NCOL GGGGGGGGGGGGGGGGG 2 Bright A_GiveInventory("NemesisSoulEvent",1)
    NCOL GGGGGGGGGGGGGGGGG 2 Bright A_GiveInventory("NemesisSoulEvent",1)
    TNT1 A 0 A_SpawnItemEx("NemesisLightning")
    NCOL GGGGGGGGGGGG 2 Bright A_SpawnItemEx("VexedNemesisFlameSpawner")
    TNT1 A 0 A_SpawnItemEx("VexedNemesisColonel",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION|SXF_TELEFRAG)
    TNT1 A 1
  Stop
	}
}

Actor INFNemesisColonel : NemesisColonel
{
Tag "\c[g3]Nemesis Colonel\c-"
States
{
  Spawn:
    TNT1 A 0 A_Jump(130,"Remove")
    TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("RuneTier2SpawnCheck") == 2,1)
	Goto Remove
  Idle:
	NCOL A 10 A_Look
	TNT1 A 0 A_SpawnItemEx("NemesisHellionSmokeSpawner")
	Loop
  Remove:
	TNT1 A 1
	TNT1 A 0 A_SpawnItemEx("Chaingunguy",0,0,0,0,0,0,0,SXF_NOCHECKPOSITION)
	TNT1 A 0 A_ChangeFlag("COUNTKILL", FALSE)
	TNT1 A 0
	Stop
	}
}

ACTOR NemColonelGhostA
{
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")
    NCOL A 2 A_FadeOut(0.10)
    Wait
    }
}

ACTOR NemColonelGhostB : NemColonelGhostA
{   
States
{
  Spawn:
    TNT1 A 0
    TNT1 A 1 A_JumpIf(ACS_ExecuteWithResult(304) == 1,"NULL")
    NCOL B 2 A_FadeOut(0.10)
    Wait
    }
}

ACTOR NemColonelGhostC : NemColonelGhostA
{   
States
{
  Spawn:
    TNT1 A 0
    TNT1 A 1 A_JumpIf(ACS_ExecuteWithResult(304) == 1,"NULL")
    NCOL C 2 A_FadeOut(0.10)
    Wait
    }
}

ACTOR NemColonelGhostD : NemColonelGhostA
{   
States
{
  Spawn:
    TNT1 A 0
    TNT1 A 1 A_JumpIf(ACS_ExecuteWithResult(304) == 1,"NULL")
    NCOL D 2 A_FadeOut(0.10)
    Wait
    }
}

Actor NemesisLegZombieStrafing : CustomInventory
{
-COUNTITEM
+INVENTORY.QUIET
+INVENTORY.UNDROPPABLE
+INVENTORY.ALWAYSPICKUP
+INVENTORY.AUTOACTIVATE       
Inventory.Amount 1
Inventory.MaxAmount 0
+NOTIMEFREEZE
States
{
  Pickup:
	TNT1 A 1 
	TNT1 A 1 A_SpawnItem("NemesisHellionSmokeSpawner",0,0,0,0)
	TNT1 A 1 A_Jump(188,2)
	TNT1 A 1 A_GiveInventory("LegZombieJumping",1)
	TNT1 A 1 A_JumpIf(velx != 0 || vely != 0,2)
	TNT1 A 1 A_Jump(256,2)
	TNT1 A 1 A_Jump(235,5)
	TNT1 A 1 A_JumpIfInventory("LegZombieStrafeSens",1,3)
	TNT1 A 1 A_GiveInventory("LegZombieStrafeSens",1)
	TNT1 A 1 A_Jump(256,2)	
	TNT1 A 1 A_TakeInventory("LegZombieStrafeSens",1)
	TNT1 A 1 A_JumpIfInventory("LegZombieStrafeSens",1,3)
	TNT1 A 1 ThrustThing(angle*256/360+38.7,3,0,0)
	TNT1 A 1 A_Jump(256,2)	
	TNT1 A 1 ThrustThing(angle*256/360+38.7,-3,0,0)
	TNT1 A 1 A_FaceTarget
	TNT1 A 1 A_Jump(24,2)
	TNT1 A 1 A_JumpIfCloser(300,2)
	TNT1 A 1 A_Recoil(-1)
	Stop
	TNT1 A 1 A_Recoil(1)
	Stop	
	}
}