2021-03-28 18:22:46 +00:00
|
|
|
shared abstract class ItemUseScript {
|
2021-10-23 12:20:18 +00:00
|
|
|
void OnInitialize(const narray<EffectParameter@>@){};
|
|
|
|
bool IsItemUsable(){ return false; };
|
|
|
|
bool IsPokemonUseItem(){ return false; };
|
|
|
|
bool IsUseValidForPokemon(Pokemon@){ return false; };
|
|
|
|
bool IsHoldable(){ return false; };
|
2022-02-19 14:59:27 +00:00
|
|
|
void OnUse(Battle@){};
|
|
|
|
void OnPokemonUse(Pokemon@, bool){};
|
2021-03-28 18:22:46 +00:00
|
|
|
}
|