Invinc Stars - RetroKoH/S1Fixed GitHub Wiki
| Dynamic Objects |
|---|
The Invincibility Stars object is an object in Sonic the Hedgehog, appearing in all playable stages in the standard game mode GM_Level, along with Sonic. It is spawned when Sonic breaks open a monitor containing the invincibility icon. The Invincibility Stars make use of the Subsprite system, along with a position tracking table, to create a trailing effect that follows Sonic for the duration of the powerup.
File: _incObj/-- Invincibility.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.
- Its art is dynamically loaded with DPLCs via UltraDMAQueue.
- The object has been reworked to utilize sub-sprites for the star trail.
This object has no subtypes.
| 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 | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ |