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.
Fixed a bug that the patch refers to $13BF before it is updated properly. Thanks goes to flabort for reporting this.
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.
lx5:
- Fixed wrong communication with the Retry Patch on a SA-1 ROM (requires my Retry Patch update)
- Fixed a bug where the patch would fail to detect the level being played GitHub
Note that there is a small problem with this: when you get a Game Over, it will remove the "all dragon coin collected" flag for all levels. That is the original behavior of Super Mario World. But if you use this patch with sram_plus, you may not want this to happens.
I found a quick way to remove it. Insert this hex edit with asar:
org $00977A
db $EE
Game over doesn't clear dragon coins collected now (but it clear moons collected twice now, yes I just switched the address called as it was easier). If someone can do a better hexedit, feels free. Ideally, this could be added in the patch if there's ever a new version.
Tested with: Lunar Magic 3.11, asar 1.71, SA-1 1.32, retry v2.06b, bsnes v115. No issues found, now the patch does work with the retry patch, also when using SA-1. Thanks for the update!
- Fixed wrong communication with the Retry Patch on a SA-1 ROM (requires my Retry Patch update)
- Fixed a bug where the patch would fail to detect the level being played
Follow Us On