Language…
12 users online: Anas, crocodileman94, DasFueller, eltiolavara9, Foxy_9000_, Hammerer, Isikoro, jump_run_repeat, Mythundare,  Nanako, Necrotext, pzyko103 - Guests: 281 - Bots: 453
Users: 64,795 (2,377 active)
Latest user: mathew

Individual Dragon Coin Save

SMW Patches → Individual Dragon Coin Save

This file is obsolete. The latest version is Individual Dragon Coin Save. For other versions, check the version history.

Submission Details

Name: Individual Dragon Coin Save
Authors: JackTheSpades, worldpeace
Added:
Version History: View
Tool: Asar
Requires Free Space: Yes
Bug Fix: No
Featured: Yes
Description: 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.
Tags: collectable dragon coin lorom midway point sa-1 save
Comments: 21 (jump to comments)
Download 4.93 KiB | 361 downloads

Comments (21)

westslasher2 Link
I seem to be getting the same issues reported by Romano, Good news is I found what seems to be the problem. The patch seems to work fine if the level with the yoshi coins is within certain sub-maps but not others, the problems mentioned also appear in the main map as well.

Tested both using SRAM Plus and the mini SRAM saving feature in the retry patch.
Romano338 Link
I got what I think is an issue with it: I finished a level with 3 DCs, so I started it again. The DCs I took previously re-appeared.
But when I died, I got back my 3 DCs and they disappeared from the level.
Also if I get a coin, reach midway, and then start select out of the level (if I have retry and start select is the only way out because automatic prompt), I come back and start at midway, but without the coin.
Flabort From older version: Individual Dragon Coin Save Link
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.
LMPuny From older version: Individual Dragon Coin Save Link
same

(removed tag)
 Ayami From older version: Individual Dragon Coin Save Link
tags: needs remoderation

-Green Jerry, 2018
worldpeace Author From older version: Individual Dragon Coin Save Link
January 6 edit: forgot to mention the original dragon coin collected table($1F2F) in the sram instruction. It's fixed now.
chineesmw From older version: Individual Dragon Coin Save Link
Does LX5's NSMBWii Star Coin patch already come with this?
 Erik From older version: Individual Dragon Coin Save Link
Nothing to add really to what has been said about this patch. UberASM compatibility is, of course, appreciated.
TheJullasicFox From older version: Individual Dragon Coin Save Link
Yoshi Coin? Yoshi Coin?
YOSHI COIN?!?!??!?!??!??!!
kAjdhsgausnbahdgfdywisughagcfHMNBNVBGbvnbvghhJjhnJhfGNvgHjb
RZ1 From older version: Individual Dragon Coin Save Link
How exactly do I get the graphics to work for the transparent blocks?
I changed the setting to 1, but i get a solid garbled mess whenever I collect a dragon coin now.
worldpeace Author From older version: Individual Dragon Coin Save Link
The following code in this version overwrites the routine which levelasm makes use of, and may ruin the rom. Not sure why Jack(or someone else?) added this code.

org $05D8BC
CLC : ADC $0E : TAY


Here's a temporary solution: reinserting uberasm would recover the overwritten routine.
 MarioFanGamer From older version: Individual Dragon Coin Save Link
@DaSponebobMan: There you go. No really, that patch is already compatible with the dragon coin flag. After all, all what this patch does is to make the game remember the whether you have collected these individual and not if you collected them all but otherwise left the dragon coins as they are including the collected DC flag, hence this note:
Quote
This code uses SMW's original RAM adresses for Yoshi Coin collection.
Don't use it in conjunction with a patch that rewrites this system [which the individual DC save don't].
(ex: the Individual Coin Save patch)

And "ex" likely stands for "exception" and not for "example".

Only patches like the star coins are incompatible with the DC flag because they changes the DC system which make the original flag unused.

Edit: And even then, it's easier to make the DC checker compatible which edits the DC flags rather than vice versa. After all, all the checker does is to check the collected DC flags whereas the patches changes the dragon coins system where the code to make them using the DC flag can be used for the DC checker anyway.
Anas From older version: Individual Dragon Coin Save Link
When I patched this on an unclean ROM, it corrupted it. I believe the freespace is untouched by my ROM. Can you also make it compatible with Mathos's uberASM Dragon Coin checker? 'Cuz the readme says not to use it with patches like this.
Von Fahrenheit From older version: Individual Dragon Coin Save Link
Moderator's note: this patch presents a very easy way of bypassing a common frustration with SMW hacks; namely, the fact that you lose all your yoshi coins when dying past the midway point. Just patch this as-is and you're good to go.

I did have some problems patching this on an unclean ROM, so be careful. The patch itself tells you to backup your ROM, which should be more than enough of a hint.
 MarioFanGamer From older version: Individual Dragon Coin Save Link
@Mariofan64: Just it because it has glitched on you, it doesn't necessary mean that it glitchy in general.
As written, I have used it once and it worked fine so it really is a problem on you, not this patch, not to mention that it wouldn't have been accepted anyway if it didn't work.

This patch also use SMW's way to remember if all DC in a level are collected so I don't say it is the same.
Mariofan64 From older version: Individual Dragon Coin Save Link
http://www.smwcentral.net/?p=section&a=details&id=4343 Use this patch instead of the one here. It's the same thing except it has no glitches, and it makes the DragonCoin counter better, and it is useful for allowing other patches to base off of.
 MarioFanGamer From older version: Individual Dragon Coin Save Link
@Mariofan64: No, that means that you inserted it wrongly. The glitchy blocks only should appear if the wrong Map16 tiles are loaded. You can change the used tile number on the patch. In addition, you need to create the tiles by yourself.
Alternatively, there is a RAM, conflict.

I have used it once and it worked just fine.
Mariofan64 From older version: Individual Dragon Coin Save Link
This is glitched.
If this is used, any collected dragon coins become a stack of two blocks which contain random objects such as Keys or Yoshi Eggs.
Vitor Vilela From older version: Individual Dragon Coin Save Link
Genial patch. Something better than this impossible. Featured and approved.
Vitor Vilela From older version: Individual Dragon Coin Save Link
I will be converting this patch to a hybrid SA-1 ROM, which should fix that I just mentioned.
Vitor Vilela From older version: Individual Dragon Coin Save Link
Reading tables, like AND.l $0DA8A6,x should be in FastROM area too for a small speed up.