Update to work for latest builds.

This commit is contained in:
2021-11-05 14:04:17 +01:00
parent eb8c0caea4
commit 175fc37be9
5 changed files with 10 additions and 7 deletions

View File

@@ -171,6 +171,7 @@ namespace PkmnLibAI {
case CreatureLib::Library::AttackTarget::RandomOpponent: return GetOppositeIndex(user);
case CreatureLib::Library::AttackTarget::Self: return user->GetBattleIndex();
}
return {};
}
SimulatedResult SimulateTurn(PkmnLib::Battling::Battle* originalBattle, u8 sideIndex, u8 pokemonIndex, u8 index,