MZ Green Glass Blocks - RetroKoH/S1Fixed GitHub Wiki

<- $2F: MZ Large Grassy Platforms Object List $31: Chained Stompers ->
30_GlassBlock

The Green Glass Block is an object in Sonic the Hedgehog, appearing in the lower areas of Marble Zone. Each glass block object consists of the glass pillar itself, along with a sheen that runs up and down the pillar. Some move up and down slowly, posing as a crushing hazard, while others stay completely still until you hit a connected button switch.

This object is planned to utilize subsprites for the white shine.

Code

File: _incObj/30 MZ Large Green Glass 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
  • Width: 43px
  • Height (jumping): 72px
  • Height (walking): 73px

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