#sprites, socks and lua by Biggy-Pi
#special thanks to Starlight, who indirectly inspired me to make a good wad by including a bad one i made into their good map lol
#also special thanks to you, for actually reading this, and downloading splats

Freeslot
SPR_SPLT
MT_SPLATS
S_SPLAT_STND1
S_SPLAT_STND2
S_SPLAT_BOING1
S_SPLAT_BOINGAAAAAAAA
S_SPLAT_BOING2
S_SPLAT_BOINGS
S_SPLAT_FALL1
S_SPLAT_FALL2

State S_SPLAT_STND1
SpriteName = SPLT
SpriteFrame = A
Duration = 10
Next = S_SPLAT_STND1
Action = A_Look
Var1 = 0
Var2 = 0

State S_SPLAT_STND2
SpriteName = SPLT
SpriteFrame = B
Duration = 10
Next = S_SPLAT_STND1
Action = A_BunnyHop
Var1 = 8
Var2 = 0

State S_SPLAT_BOING1
SpriteName = SPLT
SpriteFrame = B
Duration = 1
Next = S_SPLAT_BOINGS
Action = A_BunnyHop
Var1 = 8
Var2 = 12

State S_SPLAT_BOINGS
SpriteName = SPLT
SpriteFrame = B
Duration = 1
Next = S_SPLAT_BOING2
Action = A_PlayActiveSound

#attempted fix for splats getting stuck if spawned in air
#this just causes him to spam his active sound, due to his seestate being S_SPLAT_BOING1
#would try harder to fix this, but im lazy rn
State S_SPLAT_BOINGAAAAAAAA
SpriteName = SPLT
SpriteFrame = B
Duration = 1
Next = S_SPLAT_BOING2
Action = A_Look

State S_SPLAT_BOING2
SpriteName = SPLT
SpriteFrame = B
Duration = -1
Next = S_SPLAT_BOING1
Action = A_FaceTarget

State S_SPLAT_FALL1
SpriteName = SPLT
SpriteFrame = A
Duration = 1
Next = S_SPLAT_FALL2
Action = None

State S_SPLAT_FALL2
SpriteName = SPLT
SpriteFrame = A
Duration = 1
Next = S_SPLAT_BOING1
Action = None

Object MT_SPLATS
#$Name Splats
#$Sprite SPLTA2A8
#$Category Pi Map
MapThingNum = 1337
SpawnState = S_SPLAT_STND1
SpawnHealth = 1
SeeState = S_SPLAT_BOING1
SeeSound = sfx_None
ReactionTime = 32
AttackSound = sfx_None
PainState = S_NULL
PainChance = 200
PainSound = sfx_pop
MeleeState = S_SPLAT_FALL1
MissileState = S_NULL
DeathState = S_XPLD_FLICKY
XDeathState = S_SPLAT_FALL2
DeathSound = sfx_pop
Speed = 5
Radius = 15*FRACUNIT
Height = 58*FRACUNIT
DispOffset = 0
Mass = 100
Damage = 0
ActiveSound = sfx_sping
Flags = MF_ENEMY|MF_SPECIAL|MF_SHOOTABLE
RaiseState = S_NULL

#just kidding ur not thanked specially, u suck!!!!!!!!!