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

Added a GetSpeciesPreEvolution function and updated the value of EVO_… #3696

Merged
merged 3 commits into from
Dec 11, 2023

Conversation

LOuroboros
Copy link
Collaborator

Description

After a conversation in RHH's Discord server's Species Simplifier thread, we kinda sorta somewhat decided to add a function to use by the people who use the Pokeemerald-expansion at their own convenience.
This function makes it easier to get the pre-evolution of X or Y species, which can be benefitial to certain feature branches.

Discord contact info

lunos4026

…NONE

Credits to AsparagusEduardo.

GetSpeciesPreEvolution is a new function that reads a species ID and returns the ID of its pre-evolution if there is one available.
Otherwise it'll return SPECIES_NONE aka 0.

Misc. Changes
-Assigned a unique value to EVO_NONE to set it apart from EVOLUTIONS_END so this new GetSpeciesPreEvolution can work out smoothly.
@AsparagusEduardo AsparagusEduardo merged commit ed3e944 into rh-hideout:upcoming Dec 11, 2023
1 check passed
@LOuroboros LOuroboros deleted the getPreEvos branch December 11, 2023 16:54
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