Difference between revisions of "Prevent SCZ Tornado spin dash death"
From Sonic Retro
m (Text replacement - "\[\[Category:SCHG How-tos.*" to "") |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | (Original guide by [[Esrael]]) | + | (Original guide by [[User:Esrael|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. | 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: | Find: | ||
− | <asm> | + | <syntaxhighlight lang="asm"> |
loc_3A7DE: | loc_3A7DE: | ||
...... | ...... | ||
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. | ||
− | <asm> | + | <syntaxhighlight lang="asm"> |
loc_3A7DE: | loc_3A7DE: | ||
...... | ...... | ||
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. | ||
{{S2Howtos}} | {{S2Howtos}} | ||
− | + | |{{PAGENAME}}]] |
Latest revision as of 11:11, 25 August 2018
(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:
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
Change #8 to #1 and you can do spindash in Tornado.
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
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.
|Prevent SCZ Tornado spin dash death]]