Gen7Data/Scripts/Utilities/SpecialStates.as

14 lines
318 B
ActionScript

namespace Gen7 {
namespace SpecialStates {
bool IsRaised(const Pokemon@ pokemon){
if (pokemon.HasType("flying")){
return true;
}
if (pokemon.HasVolatile("RaisedUp")){
return true;
}
return false;
}
}
}