I was a little confused about your energy problem, so I went back to check the controls. Turns out if you press SPACE before pressing J or U the shot doesn't fire but it still uses energy. Interesting bug, surprised nobody has pointed it out yet, I'll be sure to revise the code after the jam.