MZ Large Grassy Platforms - RetroKoH/S1Fixed GitHub Wiki

<- $2E: MZ Sinking Grassy Platform Object List $30: MZ Green Glass Blocks ->
2F_LargePlatform

The Large Grassy Platforms are objects in Sonic the Hedgehog, appearing in the higher areas of Marble Zone. There are two variations of this object, both sharing a few qualities: They are solid, composed mostly of purple brick, and covered in grass. They both move up and down as they sit in lava, with no other form of interaction.

The Sinking Grassy Platform was originally a subtype of this object, but that has since been split off into its own object.

Code

File: _incObj/2F MZ Large Grassy Platforms.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 that dictate its shape and movement.

Solidity

  • Type: Full

The solidity for this object is dependent on its subtype.

Flat Platforms

  • Width: 43px
  • Height (jumping): 48px
  • Height (walking): 48px

Curved Platforms

This variant runs unique subroutines for solidity instead of the standard SolidObject subroutine.

  • Width: 75px
  • Height: 32px

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