Pushable Blocks - RetroKoH/S1Fixed GitHub Wiki

<- $32: Button Object List $36: Spikes ->
33_PushBlock

The Pushable Block is an object in Sonic the Hedgehog, appearing in Marble Zone. The code file lists it as also appearing in Labyrinth Zone, and it's possible that the object was meant to appear in said zone, but this is not the case in the final game. The object, as the name implies, is meant to be pushed. When pushed into lava, Sonic can stand on it as it moves across the lava flow, granting him safe passage. One specific pushable block in Marble Act 1 has special properties, which allow it to rest atop a chained stomper. This block is meant to be pushed onto a button switch, which triggers it and makes the chained stomper rise into the air. This is one of the rare instances of environmental objects interacting with one another, as most objects usually only interact with Sonic.

Code

File: _incObj/33 Pushable Blocks.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.

Solidity

  • Type: Full

The solidity for this object is dependent on its subtype.

Square Block

  • Width: 27px
  • Height (jumping): 16px
  • Height (walking): 17px

Long Rectangular Block

  • Width: 75px
  • Height (jumping): 16px
  • Height (walking): 17px

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