This sprite will spawn another sprite and lock it to Mario's X or Y position.
Extra bit: clear = vanilla, set = custom.
Extra byte 1: sprite number to spawn.
Extra byte 2: X/Y offset from Mario to keep the sprite at. For example, use $F8 with the Hammer Brother's platform to have Mario centered on the platform.
Extra byte 3: if the lowest bit is not set, the sprite will target the X position, otherwise it'll target the Y position. Additionally, if the highest bit is set, it'll set the extra bit for the spawned sprite.
Extra bytes 4-7: these 4 values set the 4 extra bytes for the spawned sprite (if custom).
Updates:
- v1.1: added Y follow setting.
- v1.2: now the sprite uses 7 extra bytes so you can set the extra bytes for the spawned sprite. Also added an option to set the extra bit for the spawned sprite.
Cool update to utilize extra bytes beyond the standard four! Nothing seemed too drastically different and I tested with some custom sprites that made use of the 4 extra bytes, so it's accepted. Note that some sprites can have some wonky interaction with the player when it's constantly being x or y updated, but that's not really a fault of this sprite itself. Rather, it's just how some sprites behave (such as y-locking a spring board at a specific offset).
Follow Us On