While playing the game, press:
Left, Right, Up, Right, Down, Down, Right, Up, Left, Down.
This will give you unlimited ammunition for your weapon. This code must be re-activated upon entering another level.
You need to enter this cheat for each level: