actor Anachrony_RifleMajor : ChaingunGuy 13504
{
	//$Title Rifle Major
	//$Category Monsters
	//$Sprite CPS2
	health 200
	painchance 40
	mass 100
	damagetype hitscan
	// todo maybe randomly 20 - 40?  takes about 30 bullets to kill
	dropitem Anachrony_BulletKit
	obituary "%o was perforated by a rifle major."
	decal Bulletchip
	states
	{
	Spawn:
		CPS2 AB 10 A_Look
		Loop
	See:
		CPS2 AABBCCDD 3 A_Chase
		Loop
	Missile:
		CPS2 E 5 A_FaceTarget
		CPS2 F 5 A_CustomBulletAttack(30, 5, 3, 5)
		CPS2 E 5 A_Jump(16, "See")
		CPS2 F 5 A_CustomBulletAttack(30, 5, 3, 5)
		CPS2 E 5 A_Jump(128, "See")
		CPS2 F 5 A_CustomBulletAttack(30, 5, 4, 5)
		CPS2 E 5
		Goto See
	Pain:
		CPS2 G 3
		CPS2 G 3 A_Pain
		Goto See
	Death:
		CPS2 H 5
		CPS2 I 5 A_Scream
		CPS2 J 5 A_Fall
		CPS2 KLMNO 5
		CPS2 P -1
		Stop
	XDeath:
		CPS2 Q 5 
		CPS2 R 5 A_XScream
		CPS2 S 5 A_Fall
		CPS2 TUVW 5
		CPS2 X -1
		Stop
	Raise:
		CPS2 P 5
		CPS2 ONMLKJIH 5
		Goto See
	}
}
