Is the code in letters or numbers
Letters: Go to the shop screen don't go in the shop to buy things just stay at the screen where you can see the shop keeper. Press A three times in two seconds, the shopkeeper should look shocked. There, you can type in the password A=1st button on the left...