-
Notifications
You must be signed in to change notification settings - Fork 7
Shield
| Dynamic Objects |
|---|
The Shield object is an object in Sonic the Hedgehog, appearing in all playable stages in the standard game mode GM_Level, along with Sonic. It is spawned when Sonic breaks open a monitor containing the shield icon. The Shield makes use of dynamic art loading via UltraDMAQueue, to load Shield art without taking up too much memory in VRAM. This is particularly useful if you have the S3K Shields elective mod enabled. It should be noted that, with said mod, this object holds code for all included variations of the shield, along with their sub-objects:
- Blue Shield
- Insta-Shield
- Flame Shield
- Bubble Shield
- Lightning Shield
- Flame Shield Dissipation
- Lightning Shield Spark
- Lightning Shield Destroy (Causes the water flash)
File: _incObj/-- Shield.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.
- Its art is dynamically loaded with DPLCs via UltraDMAQueue.
- BUGFIX: The object's sprites now appear correctly when Sonic is balancing.
- BUGFIX: The object's sprites now appear correctly when Sonic is moved by certain objects.
- ELECTIVE MOD: The object has added routines for the S3K Shields.
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 | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ | ~ |
Objects in S1Fixed
Objects by Zone | Invisible Objects | Objects with DPLCs | Animated Objects | Objects with Subsprites | Fragmented Objects | Objects with Subtypes | Objects with Solidity | Objects with Collision Hitboxes | Harmful Objects | Badniks
Tutorials
Number Systems | RegEx Basics | Editing .ASMs | Editing Art | Editing Sprites | Editing Objects | Editing Levels | Editing Special Stages | Editing Sounds And Music