addHook("PlayerThink", function(player)
	if player.mo and player.playerstate == PST_LIVE and player.mo.skin == "tails" then
		
		if (player.custom2tic == 1) and player.control then
			player.speed = 50*FRACUNIT
			P_InstaThrust(player.mo, player.drawangle, 29*FRACUNIT)
			S_StartSound(player.mo, sfx_mswarp)
			player.mo.state = S_PLAY_ROLL
			player.mo.height = skins[player.mo.skin].spinheight
			player.pflags = $|PF_SPINNING
			player.powers[pw_strong] = $|STR_ATTACK|STR_ANIM
		end
		
	end
end)