type BattleSide { bool SwapPositions(uint8 a, uint8 b); uint8 SideIndex { get const; }; bool IsDefeated { get const; }; bool HasFled { get const; }; Battle@ Battle { get const; }; narray@ Pokemon { get const; }; uint8 GetPokemonIndex(const Pokemon@ pokemon) const; Pokemon@ GetPokemon(uint8 index) const; ref@ AddVolatile(const constString &in name); ref@ GetVolatile(const constString &in name); void RemoveVolatile(const constString &in name) const; bool HasVolatile(const constString &in name) const; }