Gen7Data/Scripts/Interfaces/Battle.as

14 lines
509 B
ActionScript
Raw Normal View History

shared interface Battle {
const BattleLibrary@ Library { get const; }
bool CanUse(BaseTurnChoice@ choice);
bool CanFlee { get const; }
BattleRandom@ Random { get const; }
ChoiceQueue@ TurnQueue { get const; }
2021-03-28 18:22:46 +00:00
ref AddVolatile(const constString &in name);
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);
}