freeslot(
"SPR_FZBM",//body (moving)
"SPR_FZBI",//body (idle)
"SPR_FZBH",//body (hurt)
"SPR_FZBU",//body (up/elevating)
"SPR_FZBD",//body (down/falling)
"SPR_FZHI",//head (idle)
"SPR_FZHH",//head (hurt)
"SPR_FZPP",
"S_FUZZYWIGGLER",
"S_FUZZYWIGGLER_POP",
"MT_FUZZYWIGGLER",
"sfx_fwgrpp"
)

states[S_FUZZYWIGGLER] = {//not entirely sure this is neccessary, just using it as a surrogate for S_INVISIBLE on the assumption setting a sprite for S_INVISIBLE doesn't make it visible
	sprite = SPR_NULL,
	frame = A,
	tics = -1,
	nextstate = S_NULL,
}

states[S_FUZZYWIGGLER_POP] = {
	sprite = SPR_FZPP,
	frame = FF_FULLBRIGHT|FF_TRANS20|FF_ANIMATE|A,
	tics = 10,
	var1 = 5,
	var2 = 2,
	nextstate = S_INVISIBLE,
}

mobjinfo[MT_FUZZYWIGGLER] = {
	doomednum = -1,//-1 = this mobj cannot be placed in a map editor (not that it matters in a lua mod)
	spawnstate = S_INVISIBLE,
	flags = MF_NOCLIP|MF_NOCLIPHEIGHT|MF_NOGRAVITY
}