Adds Arena Trap ability
This commit is contained in:
14
Scripts/Utilities/SpecialStates.as
Normal file
14
Scripts/Utilities/SpecialStates.as
Normal file
@@ -0,0 +1,14 @@
|
||||
namespace Gen7 {
|
||||
namespace SpecialStates {
|
||||
bool IsRaised(const Pokemon@ pokemon){
|
||||
if (pokemon.HasType("flying")){
|
||||
return true;
|
||||
}
|
||||
if (pokemon.HasVolatile("RaisedUp")){
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user