Wrecking Ball - RetroKoH/S1Fixed GitHub Wiki

<- $13: Fireball Maker Object List $15: Swinging Platforms ->
S1Fixed_004

The Wrecking Ball is an object in Sonic the Hedgehog, appearing in Green Hill Zone. It has an anchor, a chain, and an ball that hurts Sonic if collided with.

Code

File: _incObj/14 GHZ Swinging Ball.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.
  • New ball rotation mechanic implemented.
  • The object has been reworked to utilize sub-sprites.

Subtypes

This object's subtype follows the following bit format: %00000LLL.

  • 0LLL - Number of chain links (0-7, will be expanded to 15).

Object Status Table

x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 xA xB xC xD xE xF
0x ID Render Gfx Gfx Map Map Map Map XPos XPos XPos XPos YPos YPos YPos YPos
1x ~ ~ ~ ~ RespawnAddr RespawnAddr ~ ~ Priority Priority Frame ~ ~ ~ ~ ~
2x ColType ~ ~ DispWid Routine ~ ~ ~ Subtype ~ ~ ~ ~ ~ ~ ~
3x ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Sprite Data

...

Later Game Equivalents

  • ???
⚠️ **GitHub.com Fallback** ⚠️