Vertical Door - RetroKoH/S1Fixed GitHub Wiki

<- $3C: Smashable Wall Object List $3E: Prison Capsule ->
3D_VertDoor

The Vertical Door is an object in Sonic the Hedgehog, found in Labyrinth Zone, as well as Scrap Brain Zone Act 3. This object was once a part of the overly complex amalgamation that was the Floating Blocks object: Object 56. The Vertical Door from Spring Yard will be combined with this one.

Code

File: _incObj/3D LZ Vertical Door.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

The subtype's lower nybble dictates the ID of the switch that triggers the door. The upper nybble has no effect on the object.

Solidity

  • Type: Full
  • Width: 19px
  • Height (jumping): 32px
  • Height (walking): 33px

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