Adds Pokemon class registry for WASM
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2022-05-28 12:35:31 +02:00
parent bc975aba53
commit 66fb9f5bd6
9 changed files with 318 additions and 20 deletions

View File

@@ -62,7 +62,7 @@ CreatureLib::Battling::Creature* PkmnLib::Battling::Pokemon::Clone() const {
c->_status = _status.GetValue()->Clone(c);
}
_volatile.Clone(c, c->_volatile);
c->_types = std::vector<u8>(_types);
c->_types = ArbUt::List<u8>(_types);
c->_friendship = _friendship;
c->RecalculateFlatStats();