Freeslot
MT_GOLDCRAWLA
SPR_CRWL
S_CRWL_STND
S_CRWL_RUN1
S_CRWL_RUN2
S_CRWL_RUN3
S_CRWL_RUN4
S_CRWL_RUN5
S_CRWL_RUN6
S_CRWL_PAIN
#

###   G O L D E N   C R A W L A   ###

# Inspired by an image with a file called 'goldencrawla.soc', I became dedicated to making this enemy real.
# And it became real, alright.
# I present to you my...thing? Eh, whatever.

Object MT_GOLDCRAWLA
#$Name "Golden Crawla"
#$Sprite CRWLA1
MapThingNum = 99
SpawnState = S_CRWL_STND
SeeState = S_CRWL_RUN1
SeeSound = sfx_None
AttackSound = sfx_None
PainState = S_CRWL_PAIN
PainSound = sfx_dmpain
MeleeState = S_NULL
MissileState = S_NULL
DeathState = S_XPLD_FLICKY
XDeathState = S_NULL
DeathSound = sfx_pop
ActiveSound = sfx_None
RaiseState = S_NULL
SpawnHealth = 3
ReactionTime = 32
PainChance = 140
Speed = 5
Radius = 24*FRACUNIT
Height = 32*FRACUNIT
Mass = 100
Damage = 3
Flags = MF_ENEMY|MF_SPECIAL|MF_SHOOTABLE


State S_CRWL_STND
SpriteName = CRWL
SpriteFrame = A
Duration = 5
Next = S_CRWL_STND
Action A_Look
Var1 = 0
Var2 = 0

State S_CRWL_RUN1
SpriteName = CRWL
SpriteFrame = A
Duration = 1
Next = S_CRWL_RUN2
Action A_Chase
Var1 = 0
Var2 = 0

State S_CRWL_RUN2
SpriteName = CRWL
SpriteFrame = B
Duration = 1
Next = S_CRWL_RUN3
Action A_Chase
Var1 = 0
Var2 = 0

State S_CRWL_RUN3
SpriteName = CRWL
SpriteFrame = C
Duration = 1
Next = S_CRWL_RUN4
Action A_Chase
Var1 = 0
Var2 = 0

State S_CRWL_RUN4
SpriteName = CRWL
SpriteFrame = D
Duration = 1
Next = S_CRWL_RUN5
Action A_Chase
Var1 = 0
Var2 = 0

State S_CRWL_RUN5
SpriteName = CRWL
SpriteFrame = E
Duration = 1
Next = S_CRWL_RUN6
Action A_Chase
Var1 = 0
Var2 = 0

State S_CRWL_RUN6
SpriteName = CRWL
SpriteFrame = F
Duration = 1
Next = S_CRWL_RUN1
Action A_Chase
Var1 = 0
Var2 = 0

State S_CRWL_PAIN
SpriteName = CRWL
SpriteFrame = A
Duration = 35
Next = S_CRWL_STND
Action A_Pain
Var1 = 0
Var2 = 0