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

Changing EVO_NONE from 0xFFFE to 0 #5547

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

GhoulMage
Copy link

Changing EVO_NONE because index 0 is unused, matching it with SPECIES_NONE, ITEM_NONE, etc.

Feature(s) this PR does NOT handle:

I thought about adding a EVO_COUNT define but if it isn't already in the expansion is because the base code doesn't need it, and adding it is sure easy for anyone who wants it.

Things to note in the release changelog:

There could be a case for out of bounds errors if arrays or iterations are happening where you're using + 1 or - 1, as EVO_FRIENDSHIP used to be the first index although it started with 1.

Discord contact info

@GhoulMage

@AsparagusEduardo AsparagusEduardo merged commit d11fd21 into rh-hideout:master Oct 21, 2024
1 check passed
@GhoulMage GhoulMage deleted the evoNoneFix branch October 21, 2024 14:21
@AsparagusEduardo AsparagusEduardo added category: pokemon Pertains to Pokémon data and functionality type: cleanup labels Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: pokemon Pertains to Pokémon data and functionality type: cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants