Sonic and Sega Retro Message Board: Sonic 3&K special stage RAM Address - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
Page 1 of 1
    Locked
    Locked Forum

Sonic 3&K special stage RAM Address

#1 User is offline RelativityStoopid 

Posted 26 October 2016 - 11:28 AM

  • Posts: 4
  • Joined: 21-October 16
  • Gender:Not Telling
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!
This post has been edited by RelativityStoopid: 26 October 2016 - 11:29 AM

#2 User is offline RelativityStoopid 

Posted 26 October 2016 - 08:58 PM

  • Posts: 4
  • Joined: 21-October 16
  • Gender:Not Telling
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?
This post has been edited by RelativityStoopid: 26 October 2016 - 10:45 PM

#3 User is offline MainMemory 

Posted 26 October 2016 - 10:43 PM

  • Every day's the same old thing... Same place, different day...
  • Posts: 3957
  • Joined: 14-August 09
  • Gender:Not Telling
  • Project:SonLVL
  • Wiki edits:1,339
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 User is offline RelativityStoopid 

Posted 26 October 2016 - 10:46 PM

  • Posts: 4
  • Joined: 21-October 16
  • Gender:Not Telling

View PostMainMemory, on 26 October 2016 - 10:43 PM, said:

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.


Thank you!!!! You are my hero!!!!!!!! :) It gave me everything I need. When I finish my project you get many kudos!
This post has been edited by RelativityStoopid: 26 October 2016 - 10:59 PM

Page 1 of 1
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users