Some of you may have seen This in the ASM showoff thread. After a long while of tweaking things, fixing bugs here and there, I've finally finished it!
I present to you...
The Metroid Health Patch!
This is a major edit of Killozapit's health patch which, obviously, gives you Metroid style HP and reserve tanks. It includes a knockback routine which doesn't mess with Layer 2 handling (See my Knockback Patch Revision thread), and also handles Mario falling off the screen, which the original health patch didn't.
Sprites deal 20 points worth of damage, and mushrooms heal 20. Custom sprites can be set to deal a set amount of damage by inserting a specific code (highlited in the ASM and readme) to the Mario Contact routine. There are a few sprites included in the package, and some blocks, too.
Reserve tank sprites act just like those in Killozapit's patch, adding a new bar to the health meter. The only difference is that you don't lose one until your HP hits Zero, then you lose the current tank, and the HP rolls back over to 99. They don't come back once collected, and there is a block included that you can use to hide Reserve Tank sprites in a wall that can be revealed by a fireball (like in Metroid).
The status bar is changed, as well. There are GFX included to deal with this. If they aren't installed, the status bar will look funky.
Enjoy, and please report any bugs (though I think I've found all of them).
I've removed my NoFades patch until I can find the brightness code for Star Road warps.
I present to you...
The Metroid Health Patch!
This is a major edit of Killozapit's health patch which, obviously, gives you Metroid style HP and reserve tanks. It includes a knockback routine which doesn't mess with Layer 2 handling (See my Knockback Patch Revision thread), and also handles Mario falling off the screen, which the original health patch didn't.
Sprites deal 20 points worth of damage, and mushrooms heal 20. Custom sprites can be set to deal a set amount of damage by inserting a specific code (highlited in the ASM and readme) to the Mario Contact routine. There are a few sprites included in the package, and some blocks, too.
Reserve tank sprites act just like those in Killozapit's patch, adding a new bar to the health meter. The only difference is that you don't lose one until your HP hits Zero, then you lose the current tank, and the HP rolls back over to 99. They don't come back once collected, and there is a block included that you can use to hide Reserve Tank sprites in a wall that can be revealed by a fireball (like in Metroid).
The status bar is changed, as well. There are GFX included to deal with this. If they aren't installed, the status bar will look funky.
Enjoy, and please report any bugs (though I think I've found all of them).
I've removed my NoFades patch until I can find the brightness code for Star Road warps.