This lightsaber is an extremely powerful weapon that the player can pick up and use. It swings with the L/R buttons but can also be thrown. A special cyclone attack can by used by pushing A on the ground. If the player catches the lightsaber during a spin jump, they can do a special spinning attack. The lightsaber will kill most sprites in a single hit. Setting the extra bit will cause the lightsaber to replace a mushroom or flower in a block. It can also break blocks from a custom list. See .asm file for more info.
Requested for the Strongest Sprite Workshop 2020 by crm0622
Unfortunately, there are too many issues for this to be accepted.
-Tile collision is inconsistent, as demonstrated in the screenshot.
-Lightsaber changes it's frame when 9D is set, and also appears on screen if it's stored in yoshi's mouth.
-Simply spinjumping if lighsaber haven't been picked up will make it act as if the player's using it, meaning it'll destroy blocks and enemies (and this quirk can be transported by yoshi)
-Can be pressed like P-switch if sliding on top of it
-Invisible lightsaber (when it's supposed to come out of a block on extra bit) can be stored in yoshi's mouth
-Lightsaber pushes the player but not when on yoshi is odd (and of course it acts solid when hit from below like a springboard)
-Priority doesn't change when taking it inside of a pipe
A couple suggestions:
-Make lightsaber act like any other SMW power-up when inside of an item block so it can be used with e.g. custom ?-blocks instead of having to replace a power-up when it comes out.
-Add a way to make exceptions for certain sprites that can't be killed, since some of them can show glitchy graphics.