To get 99 shots, and 255 bars of energy, load up the
game, and start a new game.
Save your game in the top slot of the save game menu
before quitting the game. Now load up a hex editor,
and open the file SAVEFILE.100. Now goto offset B31A,
and change the data there to FF63. Save, and exit, and
when you re-enter the game, the cheat should be active.
This process can be repeated when ever you get low on
either shots or energy.