MZ Lava Spawner - RetroKoH/S1Fixed GitHub Wiki

<- $4B: Giant Ring Object List $4D: SYZ Spikebar ->
4C_LavaSpawn

The Lavafall/Lava Geyser Spawner is an object in Sonic the Hedgehog, appearing in the lower areas of Marble Zone. It functions in one of two ways:

Lava Geyser Spawner

It usually lays dormant, with no signs of its presence, but when Sonic pushes a pushable green block into the lava, and it floats toward this object, it will spawn a lava geyser which erupts, shooting the block, and Sonic, into the air.

Lavafall Spawner

The actual spawner object lies below, in the lava. When loaded, it spawns the lavafall object up above, which falls as a stream of lava into the pooled lava below.

Code

File: _incObj/4C Lava Geyser 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.

Subtypes

This object has subtypes dictating what it should spawn.

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 ~ ~ ~ ~ RespawnAddr RespawnAddr ~ ~ Priority Priority Frame ~ ~ ~
2x ~ ~ ~ DispWid ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
3x ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
⚠️ **GitHub.com Fallback** ⚠️