ACTOR SlimeImp 3124
{  
spawnid 248
   Health 90
   Radius 20
   Height 56
   Speed 15
   PainChance 200
   MONSTER
   +FLOORCLIP
   SeeSound "imp/sight" 
   PainSound "imp/pain"
   DeathSound "imp/death"
   ActiveSound "imp/active"
   MeleeSound "imp/melee"
   Obituary "%o was defeated by a slime imp."
   HitObituary "%o was ripped apart by a slime imp."
   MissileType SlimeBall
	
   MeleeDamage 3
   States
   { 
   Spawn:
       WEAK AB 10 A_Look
       goto Spawn
   See:
       WEAK AABBCCDD 4 A_Chase
       goto See
   Melee:
   Missile:
       WEAK EF 10 A_FaceTarget
       WEAK G 6 A_ComboAttack
       WEAK EF 10 A_FaceTarget
       WEAK G 6 A_ComboAttack
       WEAK EF 10 A_FaceTarget
       WEAK G 6 A_ComboAttack
       Goto See
   Pain:
       WEAK H 3
       WEAK H 3 A_Pain
       Goto See
   Death:
NULL A 0 ACS_Execute(500, 0, 40, 0)
			NULL A 0 A_SpawnItemEx("ClassicCreditBoom", 0, 0, 0, 0, 0, 0, 0, 0, 235)
       WEAK I 5 A_Scream
       WEAK J 5 A_Fall
       WEAK K 5 
       WEAK L 5
       WEAK M 650
		DeathFade:
			WEAK M 2 A_FadeOut(0.1)
			goto DeathFade
   XDeath:
NULL A 0 ACS_Execute(500, 0, 40, 1)
       WEAK N 5 
       WEAK O 5 A_XScream
       WEAK P 5 
       WEAK Q 5 A_Fall
       WEAK RST 5
       WEAK U 650
		XDeathFade:
			WEAK U 2 A_FadeOut(0.1)
			goto XDeathFade
   Raise:
       WEAK LKJI 5
       Goto See
   }
}

ACTOR SlimeBall
{
    Speed 15
    Radius 6
    Height 8
    Damage 3
    SeeSound "imp/attack"
    DeathSound "imp/shotx"
    PROJECTILE
    RENDERSTYLE ADD
    Decal DoomImpScorch
    States
    {
    Spawn: 
        POOP AB 4 Bright A_SpawnItemEx("SlimeBallTrail", 0, 0, 0, 0, 0, 0, 0, 128)
        goto Spawn
    Death:
        POOP CDE 4 Bright
        Stop
    }
}

ACTOR SlimeBallTrail
{
        Speed 0
        Damage 0
        Height 8
        Radius 5
        SeeSound "NULL"
        DeathSound "NULL"
        RENDERSTYLE ADD
        PROJECTILE
        +CLIENTSIDEONLY
        States
        {
        Spawn:
           SHIT ABCDE 4 BRIGHT
           Stop
        }
}