Freeslot
MT_TechnoSqueak
S_TechnoSqueak_Move
S_TechnoSqueak_Turn
SPR_TSQK

Object MT_TechnoSqueak
#$Name "Technosqueak"
#$Sprite TSQKA1
#$Category "Sonic and Knuckles Enemies"
MapThingNum = 930
Spawnstate = S_TechnoSqueak_Move
AttackSound = sfx_s3k51
DeathState = S_XPLD_FLICKY
DeathSound = sfx_pop
PainChance = 200
Mass = 100
SpawnHealth = 1
Speed = 3*fracunit
Radius = 30*fracunit
Height = 30*fracunit
Flags = MF_Special|MF_Enemy|MF_Shootable|MF_RUNSPAWNFUNC

State S_TechnoSqueak_Move
SpriteName = TSQK
SpriteFrame = A
Action = A_Thrust
Var1 = 50
Var2 = 1
Duration = 80
Next = S_TechnoSqueak_Turn

State S_TechnoSqueak_Turn
SpriteName = TSQK
SpriteFrame = A
Action = A_ChangeAngleRelative
Var1 = 90
Var2 = 90
Duration = 5
Next = S_TechnoSqueak_Move