2020-09-19 15:44:06 +00:00
|
|
|
shared interface Battle {
|
|
|
|
const BattleLibrary@ Library { get const; }
|
|
|
|
bool CanUse(BaseTurnChoice@ choice);
|
|
|
|
bool CanFlee { get const; }
|
2021-08-25 19:18:41 +00:00
|
|
|
uint CurrentTurn { get const; }
|
2020-09-19 15:44:06 +00:00
|
|
|
BattleRandom@ Random { get const; }
|
|
|
|
ChoiceQueue@ TurnQueue { get const; }
|
2021-03-28 18:22:46 +00:00
|
|
|
ref AddVolatile(const constString &in name);
|
2020-09-19 15:44:06 +00:00
|
|
|
void RemoveVolatile(const constString &in name) const;
|
|
|
|
void SetWeather(const constString &in name) const;
|
|
|
|
void ClearWeather(const constString &in name) const;
|
|
|
|
const constString& GetWeatherName() const;
|
2021-03-28 18:22:46 +00:00
|
|
|
BattleSide@ GetBattleSide(uint8 index);
|
2021-05-13 12:32:56 +00:00
|
|
|
BattleParty@ GetParty(uint8 index);
|
|
|
|
BattleParty@ FindPartyForPokemon(Pokemon@ pokemon);
|
2020-09-19 15:44:06 +00:00
|
|
|
}
|