ACTOR Chaingunner 30006
{
	// yellow
	Translation "112:124=160:166", "125:127=167:167"
	SpawnID 206
    	Health 75
    	Radius 16
    	Height 56
    	Speed 6
	Mass 200
    	PainChance 150
    	MONSTER 
    	+FLOORCLIP
    	AttackSound "weapons/chngun"
    	PainSound "player/male/pain100_1"
    	DeathSound "player/male/death1"
    	Obituary "%o was killed by a chaingunner."
    	DropItem Chaingun
    	Decal BulletChip
    	States
    	{
	Spawn:
		MERC AB 10 A_Look
		Loop
    	See:
        	MERC AAAABBBBCCCCDDDD 1 A_Chase
        	Loop
    	Missile:
        	MERC E 2 A_FaceTarget
        	MERC E 5 A_FaceTarget
        	MERC F 2 Bright A_CustomBulletAttack (5.6, 3.7, 1, 5, "BulletPuff")
        	MERC E 2 A_CPosRefire
		Goto Missile+2
   	Pain:
        	MERC G 3
        	MERC G 3 A_Pain
        	Goto See
    	Death:
        	MERC H 5
        	MERC I 5 A_Scream
        	MERC J 5 A_Fall
        	MERC K 5
        	MERC L 5
        	MERC M 5
        	MERC N -1
		Stop
    	XDeath:
        	MERC O 5
        	MERC P 5 A_XScream
        	MERC Q 5 A_Fall
        	MERC RSTUV 5
        	MERC W -1
        	Stop
    	Raise:
        	MERC MLKJIH 5
        	Goto See
    	}
}
