An apply function for FIXED_BATTLE challenges. Derived classes should alter this.
Number The current wave index.
FixedBattleConfig The battle config to modify.
boolean Whether this function did anything.
An apply function for AI_LEVEL challenges. Derived classes should alter this.
Utils.IntegerHolder The generated level.
Number The current level cap.
Boolean Whether this is a trainer pokemon.
Boolean Whether this is a non-trainer boss pokemon.
boolean Whether this function did anything.
An apply function for MOVE_ACCESS. Derived classes should alter this.
Pokemon What pokemon would learn the move.
MoveSourceType What source the pokemon would get the move from.
Moves The move in question.
Utils.IntegerHolder The level threshold for access.
boolean Whether this function did anything.
An apply function for AI_MOVE_SLOTS challenges. Derived classes should alter this.
Pokemon The pokemon that is being considered.
Utils.IntegerHolder The amount of move slots.
boolean Whether this function did anything.
An apply function for MOVE_WEIGHT. Derived classes should alter this.
Pokemon What pokemon would learn the move.
MoveSourceType What source the pokemon would get the move from.
Moves The move in question.
boolean Whether this function did anything.
An apply function for PASSIVE_ACCESS challenges. Derived classes should alter this.
Pokemon The pokemon to change.
Utils.BooleanHolder Whether it should have its passive.
boolean Whether this function did anything.
An apply function for POKEMON_IN_BATTLE challenges. Derived classes should alter this.
Pokemon The pokemon to check the validity of.
Utils.BooleanHolder A BooleanHolder, the value gets set to false if the pokemon isn't allowed.
boolean Whether this function did anything.
An apply function for STARTER_CHOICE challenges. Derived classes should alter this.
PokemonSpecies The pokemon to check the validity of.
Utils.BooleanHolder A BooleanHolder, the value gets set to false if the pokemon isn't allowed.
DexAttrProps The dex attributes of the pokemon.
boolean If true, allow it if it could become a valid pokemon.
Optional
checkEvolutions: booleanboolean If true, check the pokemon's future evolutions
boolean Whether this function did anything.
An apply function for STARTER_COST challenges. Derived classes should alter this.
Species The pokemon to change the cost of.
Utils.NumberHolder The cost of the starter.
boolean Whether this function did anything.
An apply function for STARTER_POINTS challenges. Derived classes should alter this.
Utils.NumberHolder The amount of points you have available.
boolean Whether this function did anything.
Static
loadClones a challenge, either from another challenge or json. Chainable.
The source challenge or json.
This challenge.
Implements a mono generation challenge.