Actor KnifePistolBandit : GenericHumanScum 
{
Health 30
Monster
Health 70
Radius 20
Height 56
Speed 14
PainChance 200
  Species "Spectre"
  +DONTHARMSPECIES
Monster
Tag "Crazy Combo Thug"
seesound "ComboBand/See"
painsound "ComboBand/Pain"
deathsound "ComboBand/Death"
activesound "ComboBand/Active"
scale 1.0
Obituary "%o was pacified by totally professional adequate and sober man."
DropItem "Clip"
     States
	      {
		   Spawn:
		      TNT1 A 0
			  TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult("STFUCheck") == 1, "STFU")
			  TNT1 A 0 A_JumpIf(ACS_NamedExecuteWithResult ("VanJumpCheck") == 1, "VanJump")
			  TNT1 A 0 A_SetScale (scaleX+frandom(-0.03, 0.03), scaleY+frandom(-0.08,0.08))	
			  TNT1 A 0 A_SpawnItemEx ("HumanTrails", 0, 0, 0)
			  TNT1 A 0 A_SpawnItemEx ("BydloWRITER", 0, 0, 0, 0, 0, 0, 0, SXF_NOCHECKPOSITION, 69)
           Spawn2:
		      KNPB A 6 A_Look
			  Loop
		  STFU:
     TNT1 A 0
	 TNT1 A 0 ACS_NamedExecute ("STFUComboBand")
	 Goto Spawn+2 
	 VanJump:
	 TNT1 A 0
	 TNT1 A 0  NODELAY ACS_NamedExecuteAlways ("VanillaHeights")
	Goto Spawn+3
		   See:
		      TNT1 A 0 A_JumpIfInventory ("LightPistolShotCounter", 8, "Reload")
		      KNPB AABBCCDD 2 A_Chase
			  Loop
		   Missile:
		      KNPB E 4 A_FaceTarget
			  TNT1 A 0 A_JumpIfInventory ("LightPistolShotCounter", 8, "Reload")
			  TNT1 A 0 A_Playsound ("BYPFR")
			  KNPB F 4 BRIGHT A_CustomMissile ("LightPistolTracer", 45, 0, random (-9,9))
			  TNT1 A 0 A_GiveInventory ("LightPistolShotCounter", 1)
			  TNT1 A 0 A_Jump (55, "Missile")
			  Goto See
		   Melee:
		      KNPB DM 4 A_CustomMeleeAttack ((4), "", "")
			  Goto See
		   Reload:
		      KNPB E 28
			  TNT1 A 0 A_PlaySound ("LPISOUT")
			  KNPB D 25 A_TakeInventory ("LightPistolShotCounter", 8)
			  TNT1 A 0 A_PlaySound ("LPISIN")
			  KNPB E 25
			  TNT1 A 0 A_PlaySound ("LPISREAD")
			  KNPB E 6
			  Goto See
		   Pain:
		      KNPB G 7 A_Pain
			  Goto See
		   Death:
		      KNPB HI 5 A_Scream
			  KNPB J  5
			  TNT1 A 0 A_Playsound ("FallingBodyLight", CHAN_BODY)
			  KNPB K  5 A_NoBlocking
			  KNPB L -1
			 Stop
		   Raise:
		      TNT1 A 0 
			  TNT1 A 0 A_SpawnItemEx ("NanoResEffect", 0, 0, 15, 0, 0, 0, 0, SXF_NOCHECKPOSITION)
			  KNPB LKJIH 5
			 Goto See  
		   XDeath:
		      TNT1 A 0
		      TNT1 A 0 A_SpawnItemEx ("VgavnonahCore", 0, 0, 0, 0, 0, 0, 0, SXF_NOCHECKPOSITION)
		      PGIB A 1 A_XScream
			  PGIB B 1 A_NoBlocking
			  PGIB CDE 1
			 Stop
		  }
}