ACTOR SpicChain: ChaingunGuy 16816
{ 

  Game Doom
  Radius 20
  Height 56
  Mass 100
  Speed 8
  PainChance 170
  Monster
  +FLOORCLIP
  SeeSound "spic/alert"
  ActiveSound "spic/active"
  PainSound "spic/pain"
  AttackSound "chainguy/attack"
  DeathSound "spic/death"
  Obituary "%o was shot by a spic!" 
  dropitem "FakeAK" 256
  BloodType "SpadowWarriorBlood"
  PainChance "Fire", 155
   States
  {
  Spawn:
    CPOS AB 10 A_Look
    Loop
  See:
    CPOS AABBCCDD 3 A_Chase
    Loop
  Missile:
    CPOS E 10 A_FaceTarget
    CPOS EF 4 Bright bright A_CustomBulletAttack(10,10,1,(1),"BulletPuff")
    CPOS F 1 A_CPosRefire
    Goto Missile+1
  Pain:
    CPOS G 3 A_Pain
    Goto See
    Pain.Electro:
	  APEE A 1 Bright A_SpawnItemEx("BodySmoke", random(-24,24), random(-24,24), 32, 0, 0, 1)
	  APEE B 1 Bright A_Pain
	  APEE A 1 Bright A_SpawnItemEx("BodySmoke", random(-24,24), random(-24,24), 32, 0, 0, 1)
	  APEE B 1 Bright A_SpawnItemEx("BodySmoke", random(-24,24), random(-24,24), 32, 0, 0, 1)
	  Goto See
  Death:
	TNT1 A 0 A_GiveToTarget("MoonTalkKillSpic", 1)
    CPOS H 3 A_Scream
  	CPOS I 3
	CPOS J 3
    CPOS K 5
    CPOS L 5 
    CPOS M 5 A_NoBlocking
    CPOS N -1
    Stop
	
	Death.Fire:
    DBRN A 5 BRIGHT
	DBRN B 5 BRIGHT A_PlaySound ("burndeathm")
	DBRN C 5 BRIGHT A_NoBlocking
	DBRN IJKLMNOPQRSTU 3 BRIGHT A_SpawnItemEx("BodySmoke", random(-24,24), random(-24,24), 32, 0, 0, 1)
	DBRN V -1
    stop
	Death.Electro:
	TNT1 A 0 A_GiveToTarget("MoonTalkKillSpic", 1)
    CPOS H 3 A_Scream
  	CPOS III 1 A_SpawnItemEx("BodySmoke", random(-24,24), random(-24,24), 32, 0, 0, 1) 
	CPOS JJJ 1 A_SpawnItemEx("BodySmoke", random(-24,24), random(-24,24), 32, 0, 0, 1)
    CPOS KKKKK 1 A_SpawnItemEx("BodySmoke", random(-24,24), random(-24,24), 32, 0, 0, 1)
    CPOS LLLLL 1 A_SpawnItemEx("BodySmoke", random(-24,24), random(-24,24), 32, 0, 0, 1)
    CPOS M 5 A_NoBlocking
    CPOS N -1
    Stop
  Raise:
    CPOS Q 5
    CPOS PONMLK 5
    Goto See
  }
}