Name: | Flag Controlled Slower Music |
Author: | Kevin |
Added: | |
Type: | Level, Game Mode |
Includes GFX: | No |
Includes Hijack: | No |
Featured: | No |
Description: | This UberASM will make the music go slower when a certain flag is set, and go back to normal when it's reset. By default it uses the P-Balloon flag (like in SMA2), but you can change it to whatever you want (like ON/OFF switch, ...). Make sure to check the readme for instructions and info. It uses 1 byte of freeram. |
Tags: | lorom music sa-1 |
Comments: | 7 (jump to comments) |
Rating: |
Download
2.65 KiB | 158 downloads
Comments (7)
If not, though, here's what's happening:
I'm using the on/off switch as the flag; but when I hit the switch to go back to the normal tempo after the slowdown, it doesn't actually go back to normal, but is slower than usual. This effect is obviously exacerbated on further hits + reverts. [Edit: Should $0B be the reset counterpart of the slowdown value ($F4), instead of $0A?]
Also, for me the normal tempo wasn't being reverted on retry if you die when it's slow. (As a quick fix, I had added the normal tempo to load
The correct value is $F4 = $-0C.
When restoring the tempo in reset_tempo.txt, $0A is being written, which is the cause of the slowdown.
As a countermeasure, rewrite line 5 of reset_tempo.txt as follows
Also, if you want to make it closer to SMA2, rewrite the fifth line of slowdown_tempo.txt and reset_tempo.txt as follows
slowdown_tempo.txt
reset_tempo.txt
The correct value is $F4 = $-0C.
Oopsie
- Lunar Magic v3.31
- SA-1 Pack v1.40
- UberASM v1.5
- AddmusicK v1.0.8
- BSNES v115
It would have been preferable if you could control the speed with $1DFA but since that one is hard to easily modify, a simple dummy sound effect is supplied instead.It does come with some issues, such as how the music will be played at the wrong speed should either sound effect be skipped (such as entering a door) as the sound effect will also overwrite all existing sounds (e.g. a coin suddenly stops playing). But it is as good as it is, accepted.
I believe the issue with the sound being overwritten should be fixed with AMK 1.0.9's new SFX priority feature
- Lunar Magic v3.31
- SA-1 Pack v1.40
- UberASM v1.5
- AddmusicK v1.0.8
- BSNES v115
It would have been preferable if you could control the speed with $1DFA but since that one is hard to easily modify, a simple dummy sound effect is supplied instead.It does come with some issues, such as how the music will be played at the wrong speed should either sound effect be skipped (such as entering a door) as the sound effect will also overwrite all existing sounds (e.g. a coin suddenly stops playing). But it is as good as it is, accepted.
This may not be caused by this sfx, but it started happening right after I inserted it, so if you can fix it, please do.
Thank you very much!