It's not only when you get hit. The game is not really playable because when you go to see the great fairy, you get killed when she gives you the magic power. The problem is that then you appear again in the same place, and automatically, the great fairy appears there to heal you, and you get killed again, and so on...