dannye/pokered-crysaudio

Sound effect priority issues

Opened this issue · 0 comments

In Crystal, the rules for sfx priority are simple: A new sfx can be played if there is no sfx currently playing or if the new sfx has a lower ID than the sfx already playing.

In Red, it is more complicated. There are different rules for the noise channel than there are for the non-noise channels.
Requests to play sound effects are also ignored if the music is fading out.

For now, there are no priority checks. A sound effect will always be played if requested.
This results in some sound effects being played which are ordinarily ignored in Red.
For example, warping from the Game Corner to the Rocket Hideout plays two transition sound effects back to back because the player warps into the Hideout standing on the stairs. The second transition sound effect is usually ignored because the Game Corner theme is still fading out.