SLZ Staircase Blocks - RetroKoH/S1Fixed GitHub Wiki

<- $5A: SLZ Circular Platforms Object List $5C: SLZ Rotating Staircase ->
5B_Staircase

The Staircase is an object in Sonic the Hedgehog, found in Star Light Zone. It is a collection of 4 solid blocks that, on first encounter, appear together in a row. When stood upon, they slowly fall, allowing Sonic to progress. A subtype of this object sees the staircase rumble and fall when hit from below.

Code

File: _incObj/5B Staircase.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

...

Solidity

  • Type: Full
  • Width: 27px
  • 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** ⚠️