-
Notifications
You must be signed in to change notification settings - Fork 7
Button
| <- $31: Chained Stompers | Object List | $33: Pushable Blocks -> |
|---|
The Button is an object in Sonic the Hedgehog, appearing in Marble, Spring Yard, Labyrinth, and Scrap Brain Zone. All four zones feature identical-looking buttons, except for Marble Zone, which has a green button atop a purple rock base to match the zone's aesthetic.
In all instances, the button's function is the same. When Sonic stands on the button, an effect is triggered, in which some sort of solid obstacle or blockage is moved, allowing Sonic to proceed.
There is an unused variant of the button in which the button flashes red. It's not known what this would have been used for, but there are tentative plans to restore this in S1Fixed.
File: _incObj/32 Button.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.
- Type: Full
- Width: 27px
- Height (jumping): 5px
- Height (walking): 5px
| 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 | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ |
Objects
Static Objects | Marble Zone Objects | Spring Yard Zone Objects | Labyrinth Zone Objects | Scrap Brain Zone Objects | Objects with Subtypes | Objects with Full Solidity