Name: | ON/OFF Double Hit Fix v1.1 |
Author: | Kevin |
Added: | |
Version History: | View |
Type: | Level, Game Mode |
Includes GFX: | No |
Includes Hijack: | No |
Featured: | No |
Description: | This code will add a short cooldown to the ON/OFF switches to prevent Mario or sprites to trigger two of them at the same time. Unlike the patch version, this will also work with custom ON/OFF switches. You can increase the cooldown in the asm file, up to $7F frames (you may want it higher if used in a water level or if you want switches triggered by cape twirls). Use it in specific levels or in gamemode 14 (for all levels). It requires 1 byte of freeram. Update v1.1: - Rewritten the code so it only uses 1 byte of freeram instead of 2. As a consequence, the cooldown can only go up to $7F instead of $FF. |
Tags: | lorom on-off sa-1 timer |
Comments: | 4 (jump to comments) |
Rating: |
Download
586 bytes | 594 downloads
Comments (4)
- Lunar Magic v3.33
- SA-1 v1.40
- UberASM Tool v1.5
- BSNES v115
One thing to note is that this only works when the On/Off state is set to 0 and 1 only which may break some resources which use other values.Accepted.