Spiked Ball and Chain - RetroKoH/S1Fixed GitHub Wiki

<- $56: SYZ Floating Blocks Object List $58: SYZ Big Spiked Ball ->
57_SpikeChain

The Spiked Ball Chain is an object in Sonic the Hedgehog, appearing in Labyrinth Zone. It is a chain with a large spikeball at the end that swings around in a circular motion, hurting Sonic if he comes in contact with it. The chain itself is not harmful.

Object 4D was once a subtype of this object, and they still share the same circular movement code.

Code

File: _incObj/57 LZ Chained Spikeball.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** ⚠️