Skip to content

sPlayerAvatarGfxToStateFlag structure documentation#2223

Merged
GriffinRichards merged 1 commit intopret:masterfrom
estellarc:pret/avatar-to-state
Jan 4, 2026
Merged

sPlayerAvatarGfxToStateFlag structure documentation#2223
GriffinRichards merged 1 commit intopret:masterfrom
estellarc:pret/avatar-to-state

Conversation

@estellarc
Copy link
Contributor

Description

Add structure documentation for sPlayerAvatarGfxToStateFlag.

While studying the player avatar code found this two functions, GetPlayerAvatarStateTransitionByGraphicsId and GetPlayerAvatarGraphicsIdByCurrentState, which are kinda hard to read.

Thanks to both RavePossum and mudskipper for helping me figure out an issue with them member padding.

Discord contact info

estellar.cheese

@GriffinRichards GriffinRichards merged commit 6eb6888 into pret:master Jan 4, 2026
1 check passed
github-actions bot pushed a commit to GriffinRichards/pokeemerald that referenced this pull request Jan 10, 2026
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