Slight code cleanup, fixed palette bug
unsigned char -> int for weapon energies
Adjusting weapon energy costs
Imposing limit on weapons based on energy

Also fixed a bug in EnergyGauge that caused to be overfill when filled
with a negative value.
Merge pull request #147 from zackthehuman/master

Implemented weapon limiting, still more work to do though