Name: | Switch Pack |
Author: | MarioE |
Added: | |
Version History: | View |
Act As: | Any |
Includes GFX: | No |
Description: | This is a large pack of various switch-based blocks such as p-switch and on/off. Read the included readme for more information. |
Tags: | hurt kill lorom on-off p-switch sa-1 shatter switch |
Comments: | 18 (jump to comments) |
Rating: |
Download
2.05 KiB | 4,038 downloads
Comments (18)
Thank you
By default, the blocks will change state based on the Blue P-Switch state. If you want them to behave based on the ON/OFF switch, open the "switch-act.asm" file and, on the second line, change the value of "!switch" to "$14AF".
This submission doesn't come with grapics included, so you have to get the graphics yourself, by either making them, or finding them elsewhere, like in the Graphics Section.
Also, keep in mind blocks and graphics aren't directly related, the block doesn't control the graphic change by itself, you have to set up the ExAnimation for it to change.
It's all in the graphics that you have to make.
Still don't understand
It's all in the graphics that you have to make.
any help?
The first update, the one by Biob, is simply the added wallrun update.
The second one had been made by me and is the added SA-1 support but I also have fixed the conditions for the ON/OFF flag.
In case you didn't know, when a RAM address is used as a flag then zero usually means "off" and non-zero "on". For the ON/OFF switch, hower, it's different: Non-zero means "off" and zero is such "on". As such, the reversed flag is flipped for the ON/OFF switch. Or rather, it is supposed to: Due to some weird tricks, it didn't assemble as the creater wanted and used the wrong comparison. This version fixes it or at least cleaned up a bit of the code.
Edit: And the screenshot wasn't there too.