Actions

SCHG How-to

Add beta spindash to Sonic 2

From Sonic Retro

(Redirected from How To Add Beta Spindash To Sonic 2 Final)

Hello again!

I have already showed you how to port the final spindash to sonic 2 beta but what about reverse?

Well it's going to be a short guide so let's speed through this.

Replace the entire spindash routine with this.

; ---------------------------------------------------------------------------
; Subroutine to check for starting to charge a spindash
; ---------------------------------------------------------------------------

; ||||||||||||||| S U B R O U T I N E |||||||||||||||||||||||||||||||||||||||

; loc_1AC3E:
Sonic_CheckSpindash:
        tst.b   $39(a0)
        bne.s   loc_10594
        cmpi.b  #$8, $1C(a0)
        bne.s   loc_10592
        move.b  ($FFFFF603).w,d0
        andi.b  #$70,d0
        beq     loc_10592
        move.b  #$9, $1C(a0)
        move.w  #$BE,d0
	jsr	(PlaySound).l
        addq.l  #$4,a7
        move.b  #$1, $39(a0)
loc_10592:
        rts
loc_10594:        
        move.b  ($FFFFF602).w,d0
        btst    #$1,d0
        bne.s   loc_105DA
        move.b  #$E, $16(a0)
        move.b  #$7, $17(a0)
        move.b  #$2, $1C(a0)
        addq.w  #$5, $C(a0)
        move.b  #$00, $39(a0)
        move.w  #$2000,($FFFFEED0).w
        move.w  #$800, $14(a0)
        btst    #$00, $22(a0)
        beq.s   loc_105D2
        neg.w   $14(a0)
loc_105D2:
        bset    #$2, $22(a0)
        rts
loc_105DA:
        move.b  ($FFFFF603).w,d0
        andi.b  #$70,d0
        beq     loc_105E8
        nop
loc_105E8:
        addq.l  #$4,a7
        rts     
; End of subroutine Sonic_CheckSpindash

That's it!

yes when I mean short I mean really short!

If you want to port final spindash to sonic 2 beta click here!

SCHG How-To Guide: Sonic the Hedgehog 2 (16-bit)
Fixing Bugs
Fix Demo Playback | Fix a Race Condition with Pattern Load Cues | Fix Super Sonic Bugs | Use Correct Height When Roll Jumping | Fix Jump Height Bug When Exiting Water | Fix Spin Dash Code and Add Spin Dash Speeds | Fix Screen Boundary Spin Dash Bug | Correct Drowning Bugs | Fix Camera Y Position for Tails | Fix Tails Subanimation Error | Fix Tails' Respawn Speeds | Fix Accidental Deletion of Scattered Rings | Fix Ring Timers | Fix Rexon Crash | Fix Monitor Collision Bug | Fix EHZ Deformation Bug | Correct CPZ Boss Attack Behavior | Fix Bug in ARZ Boss Arrow's Platform Behavior | Fix ARZ Boss Walking on Air Glitch | Fix ARZ Boss Sprite Behavior | Fix Multiple CNZ Boss Bugs | Fix HTZ Background Scrolling Mountains | Fix OOZ Launcher Speed Up Glitch | Fix DEZ Giant Mech Collision Glitch | Fix Boss Deconstruction Behavior | Fix Speed Bugs
Design Choices
Remove the Air Speed Cap | Disable Floor Collision While Dying | Modify Super Sonic Transformation Methods & Behavior | Enable/Disable Tails in Certain Levels | Collide with Water After Being Hurt | Retain Rings When Returning at a Star Post | Improve the Fade In\Fade Out Progression Routines | Fix Scattered Rings' Underwater Physics | Insert LZ Water Ripple Effect | Restore Lost CPZ Boss Feature | Prevent SCZ Tornado Spin Dash Death | Improve ObjectMove Subroutines | Port S3K Rings Manager | Port S3K Object Manager | Port S3K Priority Manager | Edit Level Order with ASM‎ | Alter Ring Requirements in Special Stages | Make Special Stage Characters Use Normal DPLCs | Speed Up Ring Loss Process | Add beta spindash to Sonic 2 | Change spike behaviour in Sonic 2
Adding Features
Create Insta-kill and High Jump Monitors | Create Clone and Special Stage Monitors | Port Knuckles
Sound Features
Port Sonic 1 Sound Driver | Port Sonic 2 Clone Driver | Port Sonic 3 Sound Driver | Expand the Music Index to Start at $00 (Sonic 2 Clone Driver Version)
Extending the Game
Extend the Level Index Past $10 | Extend the Level Select | Extend Water Tables | Add Extra Characters | Free Up 2 Universal SSTs