Water Surface - RetroKoH/S1Fixed GitHub Wiki
| Dynamic Objects |
|---|
The Water Surface is a dynamic object in Sonic the Hedgehog, appearing in Labyrinth Zone, as well as Scrap Brain Zone Act 3. It is purely a visual object, having no manner of interaction with Sonic whatsoever. It's likely that the main purpose of this object is to mask CRAM artifacts that may appear as a result of the water overlay effect performed by the game's engine.
File: _incObj/-- Water Surface.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.
- Removed from the Static Object Pointer List due to its dynamic nature.
- The object now utilizes subsprites, requiring only one instance instead of two.
- ELECTIVE MOD: The object can utilize sprites and animation from Sonic 2's Chemical Plant Zone instead of the default sprites and animation.
This object has no 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 | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | Priority | Priority | Frame | ~ | ~ | ~ |
| 2x | ~ | ~ | ~ | DispWid | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ |
| 3x | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ |