Hi all,
I'd like to ask you guys on some advice on how to create ASM codes for NES and SNES games. Well, I've already made codes like infinite health, infinite ammo etc. in the Game Genie format so that I could patch the ROM directly without even having to use a cheating device (I'm using an Everdrive on my NES, so I can't even use a PAR if I wanted to). What I would like to do now though is to add my own routine into the ROM. I'd basically like to replicate the effects of a fairy in the Zelda games, meaning that if my health reaches zero, instead of dying, my character will have his health completely restored. I know, it may seem kind of weird but I like the idea of seeing how your health drops but still not having to bother with doing things again because I died. Using infinite health cheats often make me care less about how good I am because my health doesn't drop anyway.
How would I go about doing this? I guess the idea is that you add a breakpoint on the RAM address of your characters health and take damage, then you'd have to find an operation where the game checks if the health is zero, from this point on, I'd have to jump to my routine I guess. But how do I find a space in the ROM where I'd be able to put my code? Can I even find that comparison with zero easily? I know, these might be some pretty "noobish" questions but I'd like to learn more about doing things like this.
Thanks in advance,
Michael
I'd like to ask you guys on some advice on how to create ASM codes for NES and SNES games. Well, I've already made codes like infinite health, infinite ammo etc. in the Game Genie format so that I could patch the ROM directly without even having to use a cheating device (I'm using an Everdrive on my NES, so I can't even use a PAR if I wanted to). What I would like to do now though is to add my own routine into the ROM. I'd basically like to replicate the effects of a fairy in the Zelda games, meaning that if my health reaches zero, instead of dying, my character will have his health completely restored. I know, it may seem kind of weird but I like the idea of seeing how your health drops but still not having to bother with doing things again because I died. Using infinite health cheats often make me care less about how good I am because my health doesn't drop anyway.
How would I go about doing this? I guess the idea is that you add a breakpoint on the RAM address of your characters health and take damage, then you'd have to find an operation where the game checks if the health is zero, from this point on, I'd have to jump to my routine I guess. But how do I find a space in the ROM where I'd be able to put my code? Can I even find that comparison with zero easily? I know, these might be some pretty "noobish" questions but I'd like to learn more about doing things like this.
Thanks in advance,
Michael

However, there are games like the very first Legend of Zelda, where there aren't any fairies so I'd pretty much have to programm a routine that would replicate fairies.

Comment