2021-10-23 12:20:18 +00:00
|
|
|
type Pokemon {
|
|
|
|
const Species@ Species { get const; };
|
|
|
|
const Forme@ Forme { get const; };
|
|
|
|
uint8 Level { get const; };
|
|
|
|
uint Experience { get const; };
|
|
|
|
Gender Gender { get const; };
|
|
|
|
uint8 Coloring { get const; };
|
|
|
|
bool Shiny { get const; };
|
|
|
|
const Item@ HeldItem { get const; };
|
|
|
|
uint CurrentHealth { get const; };
|
|
|
|
const constString& ActiveAbility { get const; };
|
|
|
|
bool IsFainted { get const; };
|
|
|
|
uint MaxHealth { get const; };
|
|
|
|
const Species@ DisplaySpecies { get const; };
|
|
|
|
const Forme@ DisplayForme { get const; };
|
|
|
|
Battle@ Battle { get const; };
|
|
|
|
BattleSide@ BattleSide { get const; };
|
|
|
|
const constString& Status { get const; };
|
|
|
|
const narray<LearnedMove@>@ Moves { get const; };
|
2021-10-30 16:45:42 +00:00
|
|
|
float Weight { get const; set; };
|
|
|
|
float Height { get const; set; };
|
2021-10-23 12:20:18 +00:00
|
|
|
bool HasHeldItem(const constString &in name) const;
|
|
|
|
void SetHeldItem(const constString &in name);
|
|
|
|
void SetHeldItem(const Item@ item);
|
|
|
|
string Nickname { get const; };
|
|
|
|
bool HasType(uint8 type) const;
|
|
|
|
void Damage(uint type, DamageSource source);
|
|
|
|
void Heal(uint type);
|
|
|
|
void OverrideActiveAbility(const string &in ability);
|
|
|
|
void ChangeStatBoost(Statistic stat, int8 amount);
|
|
|
|
uint GetFlatStat(Statistic stat) const;
|
|
|
|
uint GetBoostedStat(Statistic stat) const;
|
|
|
|
uint GetBaseStat(Statistic stat) const;
|
|
|
|
int8 GetStatBoost(Statistic stat) const;
|
2021-10-24 14:34:58 +00:00
|
|
|
bool HasVolatile(const constString &in name);
|
2021-10-23 12:20:18 +00:00
|
|
|
ref@ AddVolatile(const constString &in name);
|
|
|
|
void RemoveVolatile(const constString &in name) const;
|
|
|
|
void ClearStatus() const;
|
|
|
|
void SetStatus(const constString &inout name);
|
|
|
|
}
|