I was already using the OW Counters patch and SRAM Plus, but that still didn't achieve exactly what I wanted. Here was part of my original post that wasn't in the proper request format where I explained this. I deleted the post because I was afraid I might be breaking some rule of posting a request twice.
Originally posted by me
I'm trying to figure out a way to add a feature to the game that keeps track of when all the Dragon Coins are collected in a level, and being able to recollect them again once the level is completed. I was able to achieve a similar effect by using this patch
and then using SRAM plus
to save the collected Dragon Coin data to the save file, but you're never able to recollect them, even if the game is reset.
Additionally, the OW Counters patch doesn't seem to work with this patch
(Mario moves too fast and the counter for the level he's traveling to isn't read correctly?) which is another reason I made this request.
Edit (like a year and a half later lol): Deleted the request because I achieved what I wanted using other patches anyway.