Actions

SCHG How-to

Difference between revisions of "Retain Rings Between Acts in Sonic 1"

From Sonic Retro

m (Text replace - 'Insanity' to 'Afti')
Line 1: Line 1:
 
{{GuideBy|Afti}}
 
{{GuideBy|Afti}}
  
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...
+
This is a very simple guide to retaining rings between acts in Sonic 1. It's extremely easy, but, for those who literally have no ASM ability whatsoever...
  
 
Well, here it is. You literally need to delete one line, and add one line elsewhere.
 
Well, here it is. You literally need to delete one line, and add one line elsewhere.
Line 18: Line 18:
 
move.b #0,($FFFFFE2D).w ; remove invincibility</asm>
 
move.b #0,($FFFFFE2D).w ; remove invincibility</asm>
  
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.
+
And... that's all. No example ROM will be provided because it takes all of two minutes to do this.
  
 
[[Category:SCHG How-tos|Retain Rings Between Acts in Sonic 1]]
 
[[Category:SCHG How-tos|Retain Rings Between Acts in Sonic 1]]

Revision as of 19:15, 6 February 2009

(Original guide by Afti)

This is a very simple guide to retaining rings between acts in Sonic 1. It's extremely easy, but, for those 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.

<asm> move.w d0,($FFFFFE20).w ; clear rings</asm>

Then, add this line to KillSonic.

<asm> move.w #0,($FFFFFE20).w ; clear rings</asm>

Place it between these two lines.

<asm> bne.s Kill_NoDeath  ; if yes, branch move.b #0,($FFFFFE2D).w ; remove invincibility</asm>

And... that's all. No example ROM will be provided because it takes all of two minutes to do this.