Collapsing Ledge - RetroKoH/S1Fixed GitHub Wiki
| <- $19: GHZ Giant Ball | Object List | $1C: Scenery -> |
|---|
The Collapsing Ledge is an object in Sonic the Hedgehog, appearing in Green Hill Zone. It functions as an extension to the surrounding terrain, enabling Sonic to walk on it for a short time. As soon as Sonic lands on it, however, it will begin to crumble and fall apart. If Sonic doesn't move off of it quickly, he will fall.
File: _incObj/1A Collapsing Ledge (part 1).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 no subtypes.
- Type: Top-Solid
- Width: 100px
Note: This object doesn't have a single defined height like fully solid objects do, but it does utilize a heightmap in order to correctly position Sonic along its sloped surface.
| 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 | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ |