You're thinking of something like Evoland ?
In that case, indeed I missed the point. Maybe the game should have gone "all in" to the "recover your ability" part. This is kind of drifting away from the theme also.