Having a gland that releases chemicals to make us not feel pain whilst starving is a good tool, that way the animal doesn't focus on the pains and can't do anything. Feeling euphoria, my guess would give the animal a few more days to find food, or allow it to slip peacefully.