News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: If it's simple to do can someone make a Sonic hack where you die in one hit?  (Read 3225 times)

shanks1

  • Newbie
  • *
  • Posts: 3
    • View Profile
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

  • Hero Member
  • *****
  • Posts: 2622
    • View Profile
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

  • Newbie
  • *
  • Posts: 3
    • View Profile
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

  • Hero Member
  • *****
  • Posts: 4193
  • The cat screams with the voice of a man.
    • View Profile
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 devised by Satan. Go ahead dauntlessly! Make rapid progres!

Tony H

  • Full Member
  • ***
  • Posts: 107
    • View Profile
    • The Code Hut
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

  • Newbie
  • *
  • Posts: 3
    • View Profile
@Jorpho: I see, thanks for clarifying.

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

RyanfaeScotland

  • Sr. Member
  • ****
  • Posts: 361
    • View Profile
    • My Brill Game Site
You need to remember Tony, it's money first THEN give the code.  :thumbsup:

Tony H

  • Full Member
  • ***
  • Posts: 107
    • View Profile
    • The Code Hut
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