#Tried emulating the caterkiller behavior through soc it sucks not knowing lua 
Freeslot
S_CTKL_STND1
S_CTKL_FOUN1
S_CTKL_FOUN2
S_CTKL_CHASE1
S_CTKL_TAIL0
SPR_CTKL

Object MT_CATERKILLER
#$Name "Caterkiller"
#$Sprite CTKLA2A8
#$Category Sonic 1 Badniks
MapThingNum = 3087
SpawnState = S_CTKL_STND1
SpawnHealth = 1
SeeState = S_CTKL_FOUN1
SeeSound = sfx_None
ReactionTime = 60
AttackSound = sfx_None
PainState = S_NULL
PainChance = 200
PainSound = sfx_None
MeleeState = S_NULL
MissileState = S_NULL
DeathState = S_XPLD_FLICKY
XDeathState = S_NULL
DeathSound = sfx_pop
Speed = 3
Radius = 13*FRACUNIT
Height = 18*FRACUNIT
DispOffset = 0
Mass = 100
Damage = 0
ActiveSound = sfx_None
RaiseState = S_NULL
Flags = MF_SPECIAL|MF_SHOOTABLE|MF_ENEMY

State S_CTKL_STND1
SpriteFrame = A
SpriteName = SPR_CTKL
Duration = 1
Next = S_CTKL_STND1
Action = A_look
Var1 = 0
Var2 = 0

State S_CTKL_FOUN1
SpriteFrame = A
SpriteName = SPR_CTKL
Duration = 40
Next = S_CTKL_FOUN2
Action = A_FaceTarget
Var1 = 0
Var2 = 0

State S_CTKL_FOUN2
SpriteFrame = A
SpriteName = SPR_CTKL
Duration = 1
Next = S_CTKL_CHASE1
Action = A_FaceTarget
Var1 = 0
Var2 = 0

State S_CTKL_CHASE1
SpriteFrame = B
SpriteName = SPR_CTKL
Duration = 20
Next = S_CTKL_FOUN1
Action = A_BunnyHop
Var1 = 4
Var2 = 6

#Caterkiller Segment
Object MT_CATERKILLERTAIL
SpawnState = S_CTKL_TAIL0
SpawnHealth = 1
SeeState = S_NULL
SeeSound = sfx_None
ReactionTime = 60
AttackSound = sfx_None
PainState = S_NULL
PainChance = 200
PainSound = sfx_None
MeleeState = S_NULL
MissileState = S_NULL
DeathState = S_NULL
XDeathState = S_NULL
DeathSound = sfx_None
Speed = 3
Radius = 13*FRACUNIT
Height = 32*FRACUNIT
DispOffset = 0
Mass = 100
Damage = 0
ActiveSound = sfx_None
RaiseState = S_NULL
Flags = MF_PAIN

State S_CTKL_TAIL0
SpriteFrame = C
SpriteName = SPR_CTKL
Duration = 1
Next = S_CTKL_TAIL0
Action = A_DragonSegment
Var1 = 4
Var2 = 6

#was supposed to spawn two mini tails that acted like the ball hog balls upon "death" but i cant be bothered until idk
#State S_CTKL_SCATTER
#SpriteFrame = C
#SpriteName = SPR_CTKL
#Duration = 1
#Next = S_XPLD1
#Action = A_NapalmScatter
#Var1 = MT_CATERKILLERTAIL+(2<<16)
#Var2 = 200+(48<<16)