Special Stage Sonic - RetroKoH/S1Fixed GitHub Wiki
| <- $08: Water Splash | Object List | $0A: Drowning Countdown -> |
|---|
Special Stage Sonic is a playable object in Sonic the Hedgehog, appearing only in the Special Stage. Unlike the Sonic object seen in the normal stages, this version stays in ball form at all times. In this form, Sonic can be made to move side to side, and jump off of blocks/walls. Beyond that, his movement is dictated by the stage itself.
Subtypes
This object has no subtypes.
Object Status Table
| x0 | x1 | x2 | x3 | x4 | x5 | x6 | x7 | x8 | x9 | xA | xB | xC | xD | xE | xF | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0x | ID | Render | Gfx | Gfx | Map | Map | Map | Map | XPos | XPos | XPos | XPos | YPos | YPos | YPos | YPos |
| 1x | VelX | VelX | VelY | VelY | ~ | ~ | Height | Width | Priority | Priority | Frame | AniFrame | Anim | PrevAnim | FrameTime | DelayTime |
| 2x | Inertia | Inertia | Status | DispWid | Routine | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ |
| 3x | SSItemID | ~ | SSItemAddr | SSItemAddr | SSItemAddr | SSItemAddr | UpDownTime | RTime | RestartTime | RestartTime | GhostStatus | ~ | ~ | ~ | ~ | ~ |
Code File
_incObj/09 Special Stage Sonic.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.
- Added variable jump height to Sonic's jumps, akin to standard Sonic's jumps.
- BUGFIX: Overflows can no longer occur when collecting rings/gaining lives.
- ELECTIVE MOD: Angle modification no longer applies to movement with Smooth Special Stage Rotation.
- ELECTIVE MOD: Left/Right input will turn the stage, instead of move Sonic, in Sonic 4 mode.
Sprite Data
- Art: _artunc/Sonic.unc (2,156 tiles; Uncompressed)
- Sprite Mappings: _maps/Sonic.asm
- DPLC Script: _maps/Sonic - DPLCs.asm
- VRAM Location: ArtTile_Sonic ($780)
- Animation Script: _anim/Sonic.asm NOTE: If users add new characters, this object should handle all cases, with different art, as opposed to new objects for each character.
Later Game Equivalents
- Obj_Sonic_RotatingSlotBonus - Sonic 3 & Knuckles (Slot Machine Bonus Stage)