Gen7Data/Scripts/Interfaces/ItemUseScript.as

10 lines
318 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(){};
void OnPokemonUse(Pokemon@){};
}