SBZ Rotating Junction - RetroKoH/S1Fixed GitHub Wiki

<- $65: LZ Waterfalls Object List $67: SBZ Convex Wheel ->
66_RotatingJunc

The Rotating Junction is an object in Sonic the Hedgehog, found in Scrap Brain Zone Act 1. This is a solid object that sucks Sonic in when its round slot approaches. It then spits Sonic out in one of two designated openings. The direction of the rotation can be reversed.

Code

File: _incObj/66 Rotating Junction.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 toggles this object's direction. The upper nybble has no effect on the object.

Solidity

  • Type: Full
  • Width: 48px
  • Height (jumping): 48px
  • Height (walking): 49px

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