He should really talk to his attorney about this and no one else.
Mr. Feasel is a former Deputy DA in the SF Bay Area with over 10 years of criminal law experience. Nothing stated on this site shall in anyway be construed as legal advice, or as creating any attorney/client relationship. If you would like to hire Mr. Feasel to further investigate your situation, feel free to contact him thru this site.
I'm afraid your question does not provide sufficient information for an attorney to be able to answer it appropriately. Assuming your friend is not representing her or himself, your friend's attorney should be asking for specific information/material to assist at sentencing. Every criminal case, felony or misdemeanor, is sufficiently unique that I doubt there is a "one size fits all' type of answer to your question.
This is not intended as a legal opinion nor does the answer to this question create an attorney-client relationship, or give rise to a privilege. It is not a confidential communication.