Gen7Data/Scripts/Interfaces/BattleSide.astypedef

15 lines
563 B
Plaintext
Raw Permalink Normal View History

2021-10-23 12:20:18 +00:00
type BattleSide {
bool SwapPositions(uint8 a, uint8 b);
uint8 SideIndex { get const; };
2021-10-30 16:45:42 +00:00
bool IsDefeated { get const; };
bool HasFled { get const; };
Battle@ Battle { get const; };
2021-11-20 10:00:48 +00:00
narray<Pokemon>@ Pokemon { get const; };
2021-10-23 12:20:18 +00:00
uint8 GetPokemonIndex(const Pokemon@ pokemon) const;
Pokemon@ GetPokemon(uint8 index) const;
2021-10-30 16:45:42 +00:00
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;
2021-10-23 12:20:18 +00:00
}