Skip to content

Conversation

@JedGrabman
Copy link
Contributor

@JedGrabman JedGrabman commented Jul 18, 2025

Reopening per request, this is actually PR #735

Renaming player sound_effects to triggers and documenting them. This is a bitflag object for each player and they mostly indicate that a certain effect should be triggered. For example, if a player is hit by a green shell, the trigger for starting a low tumble is activated. However, if the player cannot actually be hit by the shell (e.g. they are in a star state), then the tumble will not happen. In that sense, the object mostly represents triggers and not the actual effects (which are mostly set in the player->effects attribute. The separation between the two attributes isn't perfect at categorizing triggers vs. effects though.

May be wise to wait until the effects PR is done, since it's now clear the two are fairly closely related.

@MegaMech MegaMech changed the title Sound effects Document Sound Effects Jul 18, 2025
@MegaMech MegaMech merged commit 4f63d17 into n64decomp:master Jul 21, 2025
1 check failed
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

Successfully merging this pull request may close these issues.

2 participants