MZ Bricks - RetroKoH/S1Fixed GitHub Wiki

<- $45: MZ Sideways Stompers Object List $47: SYZ Bumper ->
46_MZBrick

The Purple Brick is an object in Sonic the Hedgehog, appearing in Marble Zone. It's simply a solid block object, but certain variants bob up and down in the ceiling, and some of them fall, which pose a crushing hazard.

Code

File: _incObj/46 MZ Bricks.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.
  • The visual popping that occurs with falling bricks has been fixed. (Credit: RetroKoH)

Subtypes

This object has subtypes that determine its behavior.

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