Thank you very much! I'll spoil what gives different endings for those who want to figure it out themselves:
Your ending is determined by whether you ate, slept, neither, or both. The "neutral" sleep ending is what you get when you eat and didn't sleep. The "bad" dream ending is what you get when you've either both slept and eaten, or haven't slept or eaten. The "good" awake ending is what you get when you slept and haven't eaten.