Spikes - RetroKoH/S1Fixed GitHub Wiki
| <- $33: Pushable Blocks | Object List | $3B: Purple Rock -> |
|---|
The Spikes are objects in Sonic the Hedgehog, appearing in every zone of the game, except for Final Zone (though they can be spawned in via Debug Mode). They are a solid object, with one side being painful to the touch. Due to a collision bug, Sonic can actually take damage from two side of the object: The pointed end, and the flat end on the opposite side of the pointed end.
File: _incObj/36 Spikes.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.
| 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 | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ |