SS Results Chao Emeralds - RetroKoH/S1Fixed GitHub Wiki

Dynamic Objects

The Special Stage Results Chaos Emeralds are objects in Sonic the Hedgehog, appearing at the end of the Special Stage. They appear in the middle of the screen, underneath the Results Card caption. They are there to show how many emeralds the player has, as well as which ones they currently have.

Code

File: _incObj/-- Special Stage Results.asm

Changes from Sonic 1
  • Word-length obPriority pointer due to the new Priority Manager.
  • Word-length obRespawnAddr added due to the S3K Object Manager.
  • Removed from the Static Object Pointer List due to its dynamic nature.
  • The objects no longer use a blank frame to flicker, instead using a re-enabled frame counter to determine when to display.
  • ELECTIVE MOD: A 7th Emerald is added when SuperMod is enabled.
  • ELECTIVE MOD: Slot frames can appear in place of missing emeralds.

Subtypes

This object has no subtypes.

Object Status Table

x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF
0x Render Addr Addr Addr Gfx Gfx Map Map Map Map XPos XPos XPos XPos YPos YPos
1x YPos YPos ~ ~ ~ ~ ~ ~ ~ ~ Priority Priority Frame ~ ~ ~
2x ~ ~ ~ DispWid ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
3x ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
⚠️ **GitHub.com Fallback** ⚠️