File Name: | Sprite Activated On Off Block |
---|---|
Submitted: | by KKapital |
Authors: | KKapital |
Act As: | 130 |
Includes GFX: | No |
Description: | If a sprite collides with this block while alive It changes the on-off status. Sorry for the low-quality gif |
Tags: | on off, on off block, sa-1 |
Screenshots: |
Quote
6. Blocks created using Blockreator must be optimized ...
This block, on the other hand, has identical code for the SpriteV: and SpriteH: labels.
More seriously, this has been incorrectly converted to sa-1 hybrid code. For example,
Code
LDA $74AF|!addr
is incorrect -- it should be $14AF|!addr instead.
Also, this block will continue to toggle the ON/OFF state every frame while a sprite is in contact with it, including just walking across it or into it, which doesn't seem intended.
Finally, I'm not sure what this offers beyond the vanilla ON/OFF blocks or other similar blocks already in the section.