On the title screen, select PASSWORD and enter the following 24 digit code to have all the items and keys in the game. You are ready to go to the final island and face the last boss.
After getting a game over, wait for the title screen, highlight "Game", hold Up and press Start.
At the title screen, press B + Start to be invincible during the game.