$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.
$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.
We changed it to iterate through only the dynamic RAM, as that's where the animals are.
We changed it to iterate through only the dynamic RAM, as that's where the animals are.
Fixed will have it simply count them as they spawn and despawn, a more efficient routine.
Fixed will have it simply count them as they spawn and despawn, a more efficient routine.