Skip to content

Introduce a new song group ID to track the most recent local song loaded#448

Open
KungFuFurby wants to merge 3 commits intomasterfrom
0444-failure-to-change-to-different-level-music-after-starman-pswitch
Open

Introduce a new song group ID to track the most recent local song loaded#448
KungFuFurby wants to merge 3 commits intomasterfrom
0444-failure-to-change-to-different-level-music-after-starman-pswitch

Conversation

@KungFuFurby
Copy link
Owner

There is a situation where the level music can change during a Starman or P-Switch effect, and then the music can fail to switch over to the new local song upon the effect expiring. Since song groups are coming out in the future and this is one of the cases where it is critical that the correct song group is loaded, the variable is named to reflect its upcoming purpose.

This commit closes #444.

There is a situation where the level music can change during a Starman or
P-Switch effect, and then the music can fail to switch over to the new local
song upon the effect expiring. Since song groups are coming out in the future
and this is one of the cases where it is critical that the correct song group is
loaded, the variable is named to reflect its upcoming purpose.

This commit closes #444.
@KungFuFurby KungFuFurby added the snes-side Involves the 65816 code. May or may not be specific to Super Mario World. label Sep 19, 2024
This user define was created in order to give AddmusicK compatibility with
patches that allow P-Switch, star and directional coin timers to persist between
rooms. Without this user define, the patches would be rendered incompatible,
even after removing the conflicts with AddmusicK outside of AddmusicK's own
code.
The regression in question is caused by the Starman/P-Switch songs retriggering
on a death because of the timers being non-zero. The filter has been modified to
instead remove a check for game mode $0F, which handles room transitions.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

snes-side Involves the 65816 code. May or may not be specific to Super Mario World.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Level music fails to change after Starman and/or P-Switch Timer expires after a room transition

1 participant