Adding Sonic 2's Splash and Skid Dust to Sonic 1

Discussion in 'Tutorials' started by ProjectFM, Jun 1, 2020.

  1. ProjectFM

    ProjectFM Optimistic and self-dependent Member

    Joined:
    Oct 4, 2014
    Messages:
    898
    Location:
    Orono, Maine
    Sonic 2's spin dash dust object is also used for the splash when Sonic enters and exits water, and the dust that loads when he skids. If you have added that object to your hack, most likely by using part 2 of SonicRetro's spin dash guide, then the code for these features is already in your hack, and you just have to set the proper routines. This is what you do:

    Splash
    In Obj01_InWater and Obj01_OutWater, underneath "beq.s locret_12D80", replace the following line:
    Code:
            move.b    #8,($FFFFD300).w ; load    splash object
    with
    Code:
            move.w    #$100,($FFFFD1DC).w    ; set the spin dash dust animation to splash
    Skid Dust
    In loc_130BA and loc_13120, underneath "jsr (PlaySound_Special).l", add the following lines:
    Code:
            move.b    #6,($FFFFD1E4).w    ; set the spin dash dust routine to skid dust
            move.b    #$15,($FFFFD1DA).w
     
  2. Ronald Rose

    Ronald Rose Newcomer In Limbo

    Joined:
    Feb 7, 2016
    Messages:
    10
    The Skid Dust isn't showing up. I'm using the Github version not the Hivebrain one. Plus, there's no Sonic Retro Github Spindash Parts 2 and 3 guides, just the Hivebrain ones. Will they get added?
     
  3. yami

    yami :) Member

    Joined:
    Sep 24, 2020
    Messages:
    23
    Location:
    in the studio i guess
    I'm saying this half of a year late, though, for anyone who's interested, you can find the GitHub equivalents in Sonic Water.asm and Sonic Move.asm.
     
    Samey likes this.