This is a custom version of the Pipe Dwelling Lakitu (sprite 4B), based on the disassembly by Mathos and Nekohdot. The main feature is the possibility to change which sprite is thrown by Lakitu with the extra bytes:
- Extra byte 1: sprite number to throw.
- Extra byte 2: sprite state to spawn the sprite in (useful to spawn carryable/kicked items).
- Extra byte 3: X speed to throw it at.
- Extra byte 4: Y speed to throw it at.
Additionally the extra bit set will make it spawn a custom sprite instead.
By default it will throw silver coins when the silver P-Switch is active, but it can be disabled in the file. Also a few smaller improvements were added (shared subroutines stuff, change .cfg to .json with custom sprite list entries, made it use the palette from the json file instead of being hardcoded, added defines for the tilemap).
nice sprite, but i have problems, i inserted this sprite, when i test my hack, the game crashes
Probably is a patch or another thing. If the game crashes when the lakitu throw a sprite, it's because the extra bit is set , and you forgot to change the custom sprite that lakitu spawns in the ASM file.