Adds function to set IsEgg on Pokemon
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2021-06-27 12:21:02 +02:00
parent 733c1d0ce4
commit 4633c6beef
2 changed files with 2 additions and 0 deletions

View File

@@ -62,6 +62,7 @@ namespace PkmnLib::Battling {
return _effortValues.SetStat(stat, value);
}
inline bool IsEgg() const noexcept { return _isEgg; }
inline void SetIsEgg(bool value) noexcept { _isEgg = value; }
inline ArbUt::BorrowedPtr<const PkmnLib::Library::PokemonSpecies> GetPokemonSpecies() const noexcept {
return _species.As<const PkmnLib::Library::PokemonSpecies>();