Tip: Take advantage of easy to install Patches in your hack. The No More Sprite Tile Limits or SA-1 patches should be considered if you're encountering glitches where Mario and/or sprites are turning invisible.
This is a customizable version of the exploding block sprite disassembly. Also converted the cfg to json.
Uses four extra bytes which can be used to determine the following:
1. Sprite to be spawned when mario gets near the block.
2. Sprite status (more about that in the ASM file.
Make sure to read the asm file, it'll probably answer all your queries.
The main useage for this could be to make sprite spawns consistent and not have them depend on when the screen is scrolled but rather when the player comes close OR just yeet sprites.
Yeet. Messed around with some of the customization options and they all seemed to work fine from when I messed around. Definitely a useful variant of the disassembly because of these options, so it can be accepted. I will note that setting the sprite state to #$01 typically works better so that the sprite can run its initial routine first before jumping into main. Worked fine for the vanilla sprites I tested, but for custom sprites setting it to #$01 was much better.