Difference between revisions of "Prevent SCZ Tornado spin dash death"
From Sonic Retro
Scarred Sun (talk | contribs) m (Text replacement - "</asm>" to "</syntaxhighlight>") |
|||
Line 20: | Line 20: | ||
move.w (Camera_X_pos).w,d0 | move.w (Camera_X_pos).w,d0 | ||
move.w d0,(Camera_Min_X_pos).w | move.w d0,(Camera_Min_X_pos).w | ||
− | </ | + | </syntaxhighlight> |
Change #8 to #1 and you can do spindash in Tornado. | Change #8 to #1 and you can do spindash in Tornado. | ||
Line 39: | Line 39: | ||
move.w (Camera_X_pos).w,d0 | move.w (Camera_X_pos).w,d0 | ||
move.w d0,(Camera_Min_X_pos).w | move.w d0,(Camera_Min_X_pos).w | ||
− | </ | + | </syntaxhighlight> |
One complaint you might have with this fix, is how the Tornado moves around the screen. It doesn't move very fluidly. So... its up to you to decide whether you'd like it not to be possible to fall off the plane, OR if you'd like everything to move more smoothly. For that reason, this is arguably more of a design choice, rather than a bug. | One complaint you might have with this fix, is how the Tornado moves around the screen. It doesn't move very fluidly. So... its up to you to decide whether you'd like it not to be possible to fall off the plane, OR if you'd like everything to move more smoothly. For that reason, this is arguably more of a design choice, rather than a bug. |
Revision as of 21:31, 20 December 2015
(Original guide by Esrael)
In Sky Chase Zone, it is possible to spin dash off from the Tornado, and fall to your death. One can argue that this is undesirable. Apparantly, SEGA felt the same way, as they fixed this in the Sonic Compilation REV 02 version of Sonic 2. Follow this guide to apply the same fix to your hack.
Find: <asm>
loc_3A7DE: ......
bsr.w JmpTo27_SolidObject bsr.w loc_3AE3A move.b objoff_2E(a0),d0 move.b status(a0),d1 andi.b #8,d0 ; <---------- Change this line andi.b #8,d1 ; <---------- Change this line eor.b d0,d1 move.b d1,objoff_2E(a0) lea (MainCharacter).w,a1 ; a1=character move.w x_pos(a1),d1 move.w (Camera_X_pos).w,d0 move.w d0,(Camera_Min_X_pos).w
</syntaxhighlight>
Change #8 to #1 and you can do spindash in Tornado. <asm>
loc_3A7DE: ......
bsr.w JmpTo27_SolidObject bsr.w loc_3AE3A move.b objoff_2E(a0),d0 move.b status(a0),d1 andi.b #1,d0 ; <---------- Change this line andi.b #1,d1 ; <---------- Change this line eor.b d0,d1 move.b d1,objoff_2E(a0) lea (MainCharacter).w,a1 ; a1=character move.w x_pos(a1),d1 move.w (Camera_X_pos).w,d0 move.w d0,(Camera_Min_X_pos).w
</syntaxhighlight>
One complaint you might have with this fix, is how the Tornado moves around the screen. It doesn't move very fluidly. So... its up to you to decide whether you'd like it not to be possible to fall off the plane, OR if you'd like everything to move more smoothly. For that reason, this is arguably more of a design choice, rather than a bug.