Points - RetroKoH/S1Fixed GitHub Wiki

Dynamic Objects

The Points Object is an object in Sonic the Hedgehog, appearing in all playable stages in the standard game mode GM_Level, with the exception of Final Zone, due to no points-spawning objects being present in said stage (though badniks can still be spawned in via Debug Mode).

There are three types of objects that can spawn in the Points object:

  • Badniks - When destroyed, points will display in accordance with the level of your current combo.
  • MZ Smashable Green Blocks - When destroyed, points will display in accordance with the level of your current combo.
  • SYZ Bumpers - When hit, points will appear, though they only display 10 points (Only for the first 10 times the bumper is hit).

It should be noted that this object does not actually award you any points. It only displays the amount of points you've already been awarded.

Code

File: _incObj/-- Points.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.

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** ⚠️