Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

new glitch found: springboard plays SFX for multiple frames #9

Open
GhbSmwc opened this issue May 2, 2021 · 2 comments
Open

new glitch found: springboard plays SFX for multiple frames #9

GhbSmwc opened this issue May 2, 2021 · 2 comments

Comments

@GhbSmwc
Copy link

GhbSmwc commented May 2, 2021

When the game is lagging, and you bounce on a springboard, the SFX is being played multiple times each frame, during the animation.

This even happens in the GBA remake, but without the need of a lag (sounded noticeably different than the wall springboard).

Proof: set a breakpoint at $01E6A9, jump on the spring board, the breakpoint should fire, and press “run” and the breakpoint should fire again on the next frame.

When the game is NOT lagging, and a SFX port is being written every frame, each sound gets replaced by another on the next, this does not happen on the GBA as SFX are handled differently.

fix: https://www.smwcentral.net/?p=section&a=details&id=26912

@rodamaral
Copy link
Contributor

@GhbSmwc
Copy link
Author

GhbSmwc commented May 2, 2021

Something like this happened with that layer 2 on/off switch controlled generator, which I also fixeed, that should already be documented. When a different SFX plays, it gets replaced by the bullet bill SFX and it is audible. Looks like two different SFX breaks the SFX from overwriting itself.

It rapidly plays the bullet bill SFX every frame, unnoticeable if the game isn't lagging, but sounded like a machine gun if it was. Interestingly enough, the GBA half-fixed this by removing the SFX, but the quake effect is still written every frame.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants