RetroKoH/Chris
retrokoh.bsky.social
RetroKoH/Chris
@retrokoh.bsky.social
Programmer in 68k and Z80 assembly, Python, and Game Maker. Sonic Retro since 2010.
Hey, hope everything is ok. Been trying to reach out.
December 29, 2024 at 1:03 PM
Poorly worded on my part. The animal doesn't normally have said pointer. My mod adds that. When the capsule spawns the animals, it gives the animals that pointer, by loading its own RAM address into the new animal's RAM at $3C and $3D. The animal uses that upon despawn to find the capsule.
November 21, 2024 at 1:59 AM
Here is the new version, but how does it work?

$3F is an animal counter. For every animal the capsule spawns, this counter ticks up by 1. The animal has a pointer to this capsule, and when it despawns, it uses the pointer to decrement the capsule's counter.

This just checks if it's 0 or not.
November 20, 2024 at 5:39 PM
Here is the original routine. As you may notice from the Bugfix lines, it didn't traverse through object RAM properly, only covering half of object RAM, starting at the first reserved space AFTER Sonic's RAM.

We changed it to iterate through only the dynamic RAM, as that's where the animals are.
November 20, 2024 at 5:31 PM
You and me both. I never got a website online, but I used to have a simple cheat codes website put together locally on my PC back in the day. I kinda miss those days.
November 16, 2024 at 7:02 AM
Comix Zone.... YEAH!
November 16, 2024 at 6:47 AM