How to pass the ogre in Sweet Dreams by Papillon?

How do you pass the ogre in Sweet Dreams by Papillon? Looking at reviews, most people quit by then, but at least someone claims to have beaten the game.