Freeslot
SPR_PIGG
MT_MINIPIG
S_MINIPIG_STND1
S_MINIPIG_STND2
S_MINIPIG_STND3
S_MINIPIG_STND4
S_MINIPIG_RUN1
S_MINIPIG_RUN2
S_MINIPIG_RUN3
S_MINIPIG_RUN4
S_MINIPIG_RUN5
S_MINIPIG_RUN6
S_MINIPIG_RUN7
S_MINIPIG_RUN8
S_MINIPIG_DRINK1
S_MINIPIG_DRINK2
S_MINIPIG_DRINK3
sfx_pigon1
sfx_pigon2
sfx_pigon3


Object MT_MINIPIG
doomednum = -1
SpawnState = S_MINIPIG_STND1
SpawnHealth = 1000
SeeState = S_MINIPIG_RUN1
SeeSound = sfx_pigon1
reactiontime = 8
PainState = S_MINIPIG_STND1
MeleeState = S_MINIPIG_STND1
DeathState = S_MINIPIG_STND1
DeathSound = sfx_ptgpn2
Speed = 3
Radius = 8*FRACUNIT
Height = 8*FRACUNIT
Mass = 100
ActiveSound = sfx_pigon2
Flags = MF_ENEMY 

State S_MINIPIG_STND1
SpriteName = SPR_PIGG
SpriteFrame = A
Duration = 28
Next = S_MINIPIG_STND2
Action A_Look
Var1 = 500<<16
Var2 = 0

State S_MINIPIG_STND2
SpriteName = SPR_PIGG
SpriteFrame = A
Duration = 28
Next = S_MINIPIG_STND3
Action A_Look
Var1 = 500<<16
Var2 = 0

State S_MINIPIG_STND3
SpriteName = SPR_PIGG
SpriteFrame = A
Duration = 28
Action = A_RandomState
Var1 = S_MINIPIG_DRINK1
Var2 = S_MINIPIG_STND4
Next = S_MINIPIG_STND4

State S_MINIPIG_STND4
SpriteName = SPR_PIGG
SpriteFrame = A
Duration = 14
Next = S_MINIPIG_STND1
Action A_Look
Var1 = 500<<16
Var2 = 0

State S_MINIPIG_DRINK1
SpriteName = SPR_PIGG
SpriteFrame = E
Duration = 28
Next = S_MINIPIG_STND2

State S_MINIPIG_DRINK2
SpriteName = SPR_PIGG
SpriteFrame = A
Duration = 28
Next = S_MINIPIG_STND3

State S_MINIPIG_DRINK3
SpriteName = SPR_PIGG
SpriteFrame = A
Duration = 28
Action = A_RandomState
Var1 = S_MINIPIG_DRINK1
Var2 = S_MINIPIG_STND4
Next = S_MINIPIG_STND4



State S_MINIPIG_RUN1
SpriteName = SPR_PIGG
SpriteFrame = A
Duration = 3
Action A_Chase
Next = S_MINIPIG_RUN2
Var1 = 3

State S_MINIPIG_RUN2
SpriteName = SPR_PIGG
SpriteFrame = A
Duration = 3
Action A_Chase
Next = S_MINIPIG_RUN3
Var1 = 3

State S_MINIPIG_RUN3
SpriteName = SPR_PIGG
SpriteFrame = B
Duration = 3
Action A_Chase
Next = S_MINIPIG_RUN4
Var1 = 3

State S_MINIPIG_RUN4
SpriteName = SPR_PIGG
SpriteFrame = B
Duration = 3
Action A_Chase
Next = S_MINIPIG_RUN5
Var1 = 3

State S_MINIPIG_RUN5
SpriteName = SPR_PIGG
SpriteFrame = C
Duration = 3
Action A_Chase
Next = S_MINIPIG_RUN6
Var1 = 3


State S_MINIPIG_RUN6
SpriteName = SPR_PIGG
SpriteFrame = C
Duration = 3
Action A_Chase
Next = S_MINIPIG_RUN7
Var1 = 3

State S_MINIPIG_RUN7
SpriteName = SPR_PIGG
SpriteFrame = D
Duration = 3
Action A_Chase
Next = S_MINIPIG_RUN8
Var1 = 3


State S_MINIPIG_RUN8
SpriteName = SPR_PIGG
SpriteFrame = D
Duration = 3
Action A_Chase
Next = S_MINIPIG_RUN1
Var1 = 3
