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

Rename wEvosMoves and get rid of MAX_EVOLUTIONS and EVOLUTION_SIZE #430

Closed
Rangi42 opened this issue Sep 26, 2023 · 0 comments
Closed

Rename wEvosMoves and get rid of MAX_EVOLUTIONS and EVOLUTION_SIZE #430

Rangi42 opened this issue Sep 26, 2023 · 0 comments
Labels

Comments

@Rangi42
Copy link
Member

Rangi42 commented Sep 26, 2023

This buffer is a misnomer. It's only used to store evolution data for drawing the evolution stone Able/Not Able within RedrawPartyMenu_ (engine/menus/party_menu.asm). It's not used to store level-up moves. Its size of 13 is a just large enough for Eevee's three 4-byte evolutions plus a 0 terminator. There's no consistent "evolution size"; for example, the current buffer would allow a mon to have four evolutions by level-up, since each of those is only three bytes.

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

No branches or pull requests

1 participant