How do I make sure my chao are happy during their lifetime and don't die being sad?
Just treat it well. Pet it, rock it, feed it when it's hungry, etc., and don't ignore or hit it. If you want to see whether a chao likes a character, whistle and see if it comes running to you.

~ Crazy C Lea