Gen7Data/Scripts/Interfaces/BattleSide.astypedef

15 lines
563 B
Plaintext

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>@ 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;
}