Gen7Data/Scripts/Interfaces/ItemUseScript.as

10 lines
331 B
ActionScript

shared abstract class ItemUseScript {
void OnInitialize(const narray<EffectParameter@>@){};
bool IsItemUsable(){ return false; };
bool IsPokemonUseItem(){ return false; };
bool IsUseValidForPokemon(Pokemon@){ return false; };
bool IsHoldable(){ return false; };
void OnUse(Battle@){};
void OnPokemonUse(Pokemon@, bool){};
}