SYZ Spikebar - RetroKoH/S1Fixed GitHub Wiki

<- $4C: MZ Lavafall/Geyser Spawner Object List $4E: MZ Wall of Lava ->
4D_Spikebar

The Spikebar is an object in Sonic the Hedgehog, appearing in Spring Yard Zone. It is a chain of tiny spikeballs that swings around in a circular motion, hurting Sonic if he comes in contact with them.

This object was once a subtype of Object 57, and they still share the same circular movement code.

Code

File: _incObj/4D SYZ Spikeballs.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.

Subtypes

This object has subtypes that determine its length.

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 ~ ~ ~ ~ RespawnAddr RespawnAddr ~ ~ Priority Priority Frame ~ ~ ~
2x ~ ~ ~ DispWid ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
3x ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
⚠️ **GitHub.com Fallback** ⚠️