don't click here

Retaining Rings Between Acts In Sonic 1

Discussion in 'Engineering & Reverse Engineering' started by Afti, Nov 6, 2008.

Thread Status:
Not open for further replies.
  1. Afti

    Afti

    ORIGINAL MACHINE Member
    3,521
    0
    0
    This is a very simple guide to retaining rings between acts in Sonic 1. It's extremely easy, but, for those of you who literally have no ASM ability whatsoever...


    Well, here it is. You literally need to delete one line, and add one line elsewhere.


    In Level_LoadObj, delete this line.

    Code (ASM):
    1.         move.w  d0,($FFFFFE20).w ; clear rings
    Then, add this line to KillSonic.

    Code (ASM):
    1.         move.l  #0,($FFFFFE20).w ; clear rings
    Place it between these two lines.

    Code (ASM):
    1.     bne.s   Kill_NoDeath             ; if yes, branch
    2.     move.b  #0,($FFFFFE2D).w         ; remove invincibility
    And... that's all. I'm not going to bother with an example ROM because it takes all of two minutes to do this yourself.
     
  2. Xkeeper

    Xkeeper

    lgkdfvlbjepasvdjzcvpaaaaaaaaaaaaaaaaaaaaaaaa Researcher
    1,509
    10
    18
    the bone zone
    current-project-fart
    Wouldn't this potentially re-enable the "Gain an extra life for 100 rings" flag, though? I'm not entirely sure how that works, so...
     
  3. Afti

    Afti

    ORIGINAL MACHINE Member
    3,521
    0
    0
    Incidentally, the limit is at 200. You can gain 2 extra lives.

    Also, no, it doesn't. The limit is completely intact.
     
  4. LukyHRE

    LukyHRE

    The only one who has a Portal-themed avatar Member
    395
    12
    18
    Buenos Aires, Argentina
    Bitching and complaining about my country -.-'
    I like it. This, with level transitions, will make a feel of continuation between acts on a hack. Nice work :)
     
  5. Shadow Fire

    Shadow Fire

    Ultimate victory! Member
    1,557
    0
    16
    The Land of Darkness
    Sonic: The Lost Land (Series), The GCN (site)
    Disregarding the fact that Sonic: The Lost Land, and Sonic 1 Remastered both have this feature...

    =P

    In all fairness, Puto did it. I had tried once, and while I managed to make it work, I kinda screwed it up... Puto was able to tell me how to make it work properly.
     
  6. Afti

    Afti

    ORIGINAL MACHINE Member
    3,521
    0
    0
    It's not a breakthrough, no.

    But it is something you don't really see often enough.
     
Thread Status:
Not open for further replies.