This extremely simple patch disallows the game from taking away any item or powerup once it has been added to the inventory.
You can use everything in your inventory as many times as you want, and never have to say goodbye to it.
Once it goes in, the ONLY way it can be "taken out" is when you're completely filled up and the last item is overwritten by the incoming one. This happens as a stock function of the game, anyways.
Being a simple patch, I do not attempt to address that here. (For any devs, a possible improvement would be to only keep an incoming inventory item if it isn't already represented in the inventory.)
- Worried about this messing up your hack? Valid concern, but this one likely will not; just make sure to always make a backup of your ROM before testing a patch!
- This patch has been tested on "
http://www.romhacking.net/hacks/5108/", which is a heavily modified ROM, and it works fine. It has also been successfully tested on a SMB3 Randomizer ROM, and it also works fine with that!
Database match: Super Mario Bros. 3 (USA) (Rev A)
Database: No-Intro: Nintendo Entertainment System (v. 20180803-121122)
File SHA-1: 6BD518E85EB46A4252AF07910F61036E84B020D1
File CRC32: B742B33
ROM SHA-1: BB894D104C796F69BA16587EB66C0275F5C2FC02
ROM CRC32: 2E6301ED