Nothing you mention guarantees success on appeal. Your friend needs to take whatever meds he requires for his mental disorder, and work with an appellate lawyer to identify potential issues and determine if they're potentially meritorious.