don't click here

ASM Sonic the Fighters - Disassembly (and discoveries from it)

Discussion in 'Engineering & Reverse Engineering' started by biggestsonicfan, Jun 1, 2020.

  1. biggestsonicfan

    biggestsonicfan

    Model2wannaB Tech Member
    1,546
    375
    63
    ALWAYS Sonic the Fighters
    sfight160.png sfight159.png

    The unused ice cubes have been restored with an unreferenced routine that sets up the stage!

    Screenshot_20220815_121703.png

    The above is the area of data that sets up Aurora Icefield. The first "2" represents how many sets of setup routines should be processed for the stage.
    Screenshot_20220815_121645.png

    But as we can see `aurora_nothing` (not an official label) just returns. But the code under that is unreferenced. By moving the pointer in the setup to offset 0x7561C instead of 0x75618, the routine which draws the ice cubes on the stage will properly activate!
     
    Last edited: Aug 15, 2022
  2. biggestsonicfan

    biggestsonicfan

    Model2wannaB Tech Member
    1,546
    375
    63
    ALWAYS Sonic the Fighters
    Been a while, eh?

    Screenshot_20230502_121214.png

    Recently discovered that the stage background music select routine has an oversight.

    If Sonic is Player 1 and Knuckles is Player 2 (multiplayer), North Wind will play. The first check in this routine is if Sonic is player 1. If Player 1 isn't Sonic, it jumps down and checks... if Player 1 is Sonic and if Player 2 is Knuckles.... wait what?

    In many instances where two players are checked against eachother, the check is always "fa_rob0" vs "fa_rob1" followed by the opposite check of "fa_rob1" vs "fa_rob0". In this case, values g7 and g8 in the lodb checks need to be swapped at 3F644 and 3F64C.

    This is a very simple fix to allow North Wind to be play even if Knuckles is Player 1 and Sonic is Player 2.
     
    Last edited: May 3, 2023
    • Informative Informative x 2
    • List
  3. E-122-Psi

    E-122-Psi

    Member
    2,383
    572
    93
    Concerning music checks, I wondered if there's any bug concerning why the proper Death Egg Hangar theme never plays in its stage.

    I know in the remake it plays North Wind instead, I think in the original game it plays nothing at all. I wonder if this was maybe because the music was meant to play over the actual Act Start jingle instead, since the song has its own sort of startup intro (and let's face it, you'd barely hear most of the song anyway).
     
  4. biggestsonicfan

    biggestsonicfan

    Model2wannaB Tech Member
    1,546
    375
    63
    ALWAYS Sonic the Fighters
    I actually addressed this in the really old "Sonic Fighters Hacking" thread. At the time I thought this indicated another stage for mechless Eggman, but I think it's just an oversight and North Wind was just inserted and it bumped Hurry Up out of the playable list.