Fireball - RetroKoH/S1Fixed GitHub Wiki

Dynamic Objects
S1Fixed_003

The Fireball is an object in Sonic the Hedgehog, present in Marble and Star Light Zone. It is spawned from a Fireball Maker, and can be launched up, down, left, or right. If it collides with a wall tile, it will crash into said wall, and disappear. It damages Sonic if it hits him, and its location and movement can sometimes make it tricky to avoid, especially when multiple fireballs are present.

Code

File: _incObj/13 Fire Ball Maker.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.

Subtypes

This object has subtypes that determine its movement speed and direction.

Object Status Table

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 ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
⚠️ **GitHub.com Fallback** ⚠️