This patch allows each individual (vanilla) dragon coin to be saved once it's collected. Unlike the other method, you don't need to replace all dragon coins with 5 different custom objects for every level. Refer to the comments in dcsave.asm and sram_instruction.txt for details.
Now compatible with LM 3.00 (as well as 2.5x) and the retry patch as requested.
JackEdit: Added option for only saving when the midway point is collected (needs 8 bytes of freeram more) and to disable the transparent blocks if you'd rather have them not appear at all like the vanilla game.
If you enter another level and then return, it forgets any dragon coins that were collected. It remembers if you clear the level and immediately reenter.
Is that intended behavior?
Edit: That's the behavior when !Midpoint is set to 1. When !Midpoint is set to 0, it remembers which dragon coins were collected, but the first time re-entering a level where some were collected after visiting another level it forgets how many were collected and they don't show up in the status bar.