SYZ Floating Blocks - RetroKoH/S1Fixed GitHub Wiki
| <- $55: Basaran badnik | Object List | $57: Spiked Ball and Chain -> |
|---|
The Floating Blocks are objects in Sonic the Hedgehog. The Floating Blocks are found in Spring Yard Zone. Labyrinth Zone's doors and Star Light Zone's Rotating Stairs were subtypes of this object, but have since been split off into their own objects.
File: _incObj/56 SYZ Floating 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.
This object has subtypes that dictate its size and behavior.
Every subtype has the following SolidObject parameters.
- Type: Full
- Width: obDispWid + 11
- Height (jumping): obHeight
- Height (walking): obHeight + 1
- obDispWid: 16px
- obHeight: 16px
- obDispWid: 32px
- obHeight: 32px
- obDispWid: 16px
- obHeight: 32px
- obDispWid: 32px
- obHeight: 26px
- obDispWid: 16px
- obHeight: 39px
| 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 | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ |