Language…
14 users online: Alex No,  AmperSam,  Anorakun, DinoMom, Golden Yoshi, Green, Hiro-sofT, Kerd, LightAligns, Papangu, Pizzagamer9791, Silver_Revolver,  Telinc1, yoshisisland - Guests: 282 - Bots: 521
Users: 64,795 (2,368 active)
Latest user: mathew

Object disappear?


So, I put 12 coins. But when I play the hack, only 6 coins show up. I don't use any patches or any asm, only custom musics and some ExGFX.
Explain this?
-------------
My hacks:
Bowser's Castle (finished)
Bowser's Castle 2 (finished)
Super Mario World - Mushroom Revolution (Work in progress)
Layout by Koopster
That's because of how the game handles the so called "item memory". As you know, coins and a couple other blocks, as long as they aren't placed as direct Map16 tiles, stays collected if you reenter the screen. Or rather, to save some RAM, the collumn you had collected the coins is marked as collected (the size).
Moreover, the item memory doesn't take account for different rooms so you have to set them manually with #lm{MARIO69}. I believe, that's the case as it is unlikely that you had collected only one half of the coins and reenter said room.

Here is an image I made some time ago to show you how the item memory work:

It is a bit difficult to understand it but what interests you the most are the blue boxes. As you can see, all coins in the blue boxes you had collect at least a single coins stays collected there. Anything else is technical stuff and doesn't interest you.