If it's simple to do can someone make a Sonic hack where you die in one hit?

Started by shanks1, August 20, 2013, 02:32:54 PM

Previous topic - Next topic

shanks1

I'm curious how this would play. You probably need to memorize some parts, or take them slowly. Still, I bet it's an improvement to virtually infinite health.

FAST6191

I could probably go in depth and we could discuss hit detection and whatever else. First though I would consider making an infinite rings cheat but setting the payload to 0 so you have no rings. Indeed I just tried it on a version of sonic advance and it worked as you probably want it to.

shanks1

Thank you for the advice. I'm not a hacker though so I can't follow it myself. I was hoping this would be real easy and someone would be interested enough to do it. Or maybe I'll see if I can pay someone to do it later. Would it be easy to upload your mod to Sonic Advance as a patch on here?

Jorpho

You don't even need to patch the ROM – this is functionality that should be present in the emulator already.  Just create a cheat that holds the number of rings at zero.  Unfortunately, I can't really go into details as I am not particularly familiar with the current Genesis emulators.
This signature is an illusion and is a trap devisut by Satan. Go ahead dauntlessly! Make rapid progres!

Tony H

Just made this Game Genie code, so have only tested it for the first 60 seconds of the game, but seems to work fine.

Sonic the hedgehog (Genesis)

AC1T-CA98
Die in one hit (even if you have rings).

==================

This is what the Game Genie code is doing...

01:AFFA  4A 78  TST.W   ($FE20)               

01:AFFE  67 00  BEQ     #$0090 [01:B090]       

That first instruction is testing the RAM address for rings (FFFE20). The second instruction is telling the game to branch 90 bytes if the ring count is equal to zero.  This will branch to the death routine.  If it's not equal to zero, it doesn't branch.  The Game Genie code tells it to always branch no matter what (as if your ring count was zero).
The Code Hut: http://codehut.gshi.org/

Game Genie codes and ROM hacking guides

shanks1

@Jorpho: I see, thanks for clarifying.

@Tony: Thank you very much! It does indeed work.

RyanfaeScotland

You need to remember Tony, it's money first THEN give the code.  :thumbsup:

Tony H

Quote from: RyanfaeScotland on August 21, 2013, 05:10:21 PM
You need to remember Tony, it's money first THEN give the code.  :thumbsup:

Solid advice.  Will remember that next time. :-)
The Code Hut: http://codehut.gshi.org/

Game Genie codes and ROM hacking guides