don't click here

Sonic 3&K special stage RAM Address

Discussion in 'Engineering & Reverse Engineering' started by RelativityStoopid, Oct 26, 2016.

  1. RelativityStoopid

    RelativityStoopid

    Member
    4
    0
    0
    I hope this isn't a beginner question but I have thoroughly probed the forums, hacking guides, 68000 asm guides and many more. I have been dreaming about this stuff at night and need help!

    So I am looking for RAM addresses the blue sphere special stages. I looked and found some in the RAM editing guide and found
    E426 and E002 gives player orientation
    E422 and E434 give player X coordinate in 32x32 grid position
    E424 and E436 give player Y coordinate in 32x32 grid position

    But couldn't find any RAM address for when Sonic is in between the grid points or positions of the spheres in the or relative to Sonic. Also nothing about a change from a blue sphere to a red, or blue to a ring.

    I see in the hex code from nineko's editor and palettes produce the layout what spheres are where, but don't know how that help for ram address. I also looked in the disassembly for Sonic 3&K, and saw Get Blue Spheres.asm, Ring.asm, and Sphere.asm. Maybe thats the key? If anyone has any insight or suggestion of where they are or how to find them I would greatly appreciate it!
     
  2. RelativityStoopid

    RelativityStoopid

    Member
    4
    0
    0
    How would I go about making a "mini-map" for the special stages. It would shows the map layout (red, yellow, blue, white spheres) and follows Sonic in real time and changes blue spheres to red as I collect them and spheres to rings. I plan on using this for more elaborate things but I need these features.

    I assume I get this from reading the corresponding RAM offset but I have search the addresses and compared with multiple stages and haven't found anything. Would it be in the Object Status Table?
     
  3. MainMemory

    MainMemory

    Kate the Wolf Tech Member
    4,742
    338
    63
    SonLVL
    I once made a real-time special stage map viewer/editor for Sonic & Knuckles Collection. According to the code from that, F100 is the map layout.
     
  4. RelativityStoopid

    RelativityStoopid

    Member
    4
    0
    0
    Thank you!!!! You are my hero!!!!!!!! :) It gave me everything I need. When I finish my project you get many kudos!