Prison Capsule - RetroKoH/S1Fixed GitHub Wiki
| <- $3D: Vertical Door | Object List | $3F: Large Horizontal Door -> |
|---|
The Prison Capsule is an object in Sonic the Hedgehog, appearing at the end of almost every third Act, with the exception of Scrap Brain Zone Act 3. When Sonic hits the button at the top of the capsule, it explodes and breaks open. Many animals then spawn and flee the area before the Got Through Card appears to close the level.
File: _incObj/3E Prison Capsule.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 that are utilized in the object placement layout. It does, however, have multiple subtypes that are utilized during object runtime.
- Subtype 00 is the Prison Capsule's body.
- Subtype 01 is the Prison Capsule's button.
- Type: Full The solidity for this object is dependent on its subtype.
- Width: 43px
- Height (jumping): 24px
- Height (walking): 24px
- Width: 23px
- Height (jumping): 8px
- Height (walking): 8px
| 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 | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ |