Player's maximum energy is now subtracted after battle, and the bar takes it into effect. Fixes #31