Thanks a lot for the credit, and the cheat code! ๐
Now I will be able to complete my Super Mario Bros. G&W longplay. It's weird nobody reported that bug since the game was published. Happy to help, anyways.
In fact I found another small bug playing Zelda, and I'll tell you here to not open another topic.
When the ghost shoots the arrow from the left side, you need to press the action button to protect you with the shield. You won't get hurt even if you move around, as long as you have the action button pressed down. And on the second floor tile from the left, you get hurt from the ghost arrow, even with the attack button pressed. I have no video this time, but it's really easy to replicate.