Support for finding the previous evolution step of a Pokemon.

This commit is contained in:
2020-08-11 21:46:22 +02:00
parent 9274b675e9
commit 5e917b7047
3 changed files with 33 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
#include "../../src/Library/Species/SpeciesLibrary.hpp"
#include "../Core.hpp"
using namespace PkmnLib::Library;
export const PokemonSpecies* PkmnLib_PokemonLibrary_FindPreEvolution(const SpeciesLibrary* p,
const PokemonSpecies* species) {
return p->FindPreEvolution(species).GetRaw();
}