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

Commits on Dec 11, 2023

  1. Added a GetSpeciesPreEvolution function and updated the value of EVO_…

    …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.
    LOuroboros committed Dec 11, 2023
    Configuration menu
    Copy the full SHA
    40afae4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4972dfb View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ebc150b View commit details
    Browse the repository at this point in the history