|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of Pokemon in mechanics |
---|
Methods in mechanics with parameters of type Pokemon | |
---|---|
boolean |
AdvanceMechanics.attemptHit(PokemonMove move,
Pokemon user,
Pokemon target)
Return whether the move hit. |
abstract boolean |
BattleMechanics.attemptHit(PokemonMove move,
Pokemon user,
Pokemon target)
Randomly decide whether a move hits. |
abstract boolean |
BattleMechanics.attemptHit(PokemonMove move,
Pokemon user,
Pokemon target)
Randomly decide whether a move hits. |
boolean |
AdvanceMechanics.attemptHit(PokemonMove move,
Pokemon user,
Pokemon target)
Return whether the move hit. |
int |
BattleMechanics.calculateDamage(PokemonMove move,
Pokemon attacker,
Pokemon defender)
Calculate the damage done by a move. |
int |
BattleMechanics.calculateDamage(PokemonMove move,
Pokemon attacker,
Pokemon defender)
Calculate the damage done by a move. |
int |
AdvanceMechanics.calculateDamage(PokemonMove move,
Pokemon attacker,
Pokemon defender,
boolean silent)
|
abstract int |
BattleMechanics.calculateDamage(PokemonMove move,
Pokemon attacker,
Pokemon defender,
boolean silent)
Calculate the damage done by a move. |
abstract int |
BattleMechanics.calculateDamage(PokemonMove move,
Pokemon attacker,
Pokemon defender,
boolean silent)
Calculate the damage done by a move. |
int |
AdvanceMechanics.calculateDamage(PokemonMove move,
Pokemon attacker,
Pokemon defender,
boolean silent)
|
int |
AdvanceMechanics.calculateStat(Pokemon p,
int i)
|
abstract int |
BattleMechanics.calculateStat(Pokemon p,
int i)
Calculate the initial value of a stat from a pokemon's base stats and hidden stats. |
abstract int |
BattleMechanics.calculateStat(Pokemon p,
int i)
Calculate the initial value of a stat from a pokemon's base stats and hidden stats. |
int |
AdvanceMechanics.calculateStat(Pokemon p,
int i)
|
boolean |
AdvanceMechanics.isCriticalHit(PokemonMove move,
Pokemon user,
Pokemon target)
|
boolean |
AdvanceMechanics.isCriticalHit(PokemonMove move,
Pokemon user,
Pokemon target)
|
void |
AdvanceMechanics.validateHiddenStats(Pokemon p)
There are several conditions to validate. |
abstract void |
BattleMechanics.validateHiddenStats(Pokemon p)
Validate the hidden stats of a pokemon. |
abstract void |
BattleMechanics.validateHiddenStats(Pokemon p)
Validate the hidden stats of a pokemon. |
void |
AdvanceMechanics.validateHiddenStats(Pokemon p)
There are several conditions to validate. |
Uses of Pokemon in mechanics.clauses |
---|
Methods in mechanics.clauses with parameters of type Pokemon | |
---|---|
boolean |
Clause.allowsStatus(StatusEffect eff,
Pokemon source,
Pokemon target)
Does this clause allow the application of the given status effect to a particular pokemon? |
boolean |
EffectClause.allowsStatus(StatusEffect eff,
Pokemon source,
Pokemon target)
|
boolean |
EffectClause.allowsStatus(StatusEffect eff,
Pokemon source,
Pokemon target)
|
boolean |
Clause.allowsStatus(StatusEffect eff,
Pokemon source,
Pokemon target)
Does this clause allow the application of the given status effect to a particular pokemon? |
Uses of Pokemon in mechanics.moves |
---|
Methods in mechanics.moves with parameters of type Pokemon | |
---|---|
void |
MoveList.PartyEffect.activateParty(Pokemon p)
|
void |
MoveList.PartyEffect.activateParty(Pokemon p)
|
void |
MoveList.SpikesEffect.addSpikes(Pokemon p)
Adds a layer of spikes to a Pokemon's team. |
void |
MoveList.SpikesEffect.addSpikes(Pokemon p)
Adds a layer of spikes to a Pokemon's team. |
boolean |
MoveList.FixedAttackEffect.apply(Pokemon p)
|
boolean |
MoveList.SubstituteEffect.apply(Pokemon p)
|
boolean |
MoveList.TrappingEffect.apply(Pokemon p)
|
boolean |
MoveList.AttractEffect.apply(Pokemon p)
|
boolean |
MoveList.FixedAttackEffect.apply(Pokemon p)
|
boolean |
MoveList.SubstituteEffect.apply(Pokemon p)
|
boolean |
MoveList.TrappingEffect.apply(Pokemon p)
|
boolean |
MoveList.AttractEffect.apply(Pokemon p)
|
boolean |
MoveList.FixedAttackMove.attemptHit(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
boolean |
MoveList.PerfectAccuracyMove.attemptHit(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
boolean |
PokemonMove.attemptHit(BattleMechanics mech,
Pokemon user,
Pokemon target)
Attempt to hit an enemy. |
boolean |
StatusMove.attemptHit(BattleMechanics mech,
Pokemon user,
Pokemon target)
Attempt a hit. |
boolean |
WeatherMove.attemptHit(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
boolean |
WeatherMove.attemptHit(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
boolean |
MoveList.FixedAttackMove.attemptHit(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
boolean |
MoveList.PerfectAccuracyMove.attemptHit(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
boolean |
PokemonMove.attemptHit(BattleMechanics mech,
Pokemon user,
Pokemon target)
Attempt to hit an enemy. |
boolean |
StatusMove.attemptHit(BattleMechanics mech,
Pokemon user,
Pokemon target)
Attempt a hit. |
void |
HiddenPowerMove.beginTurn(BattleTurn[] turns,
int index,
Pokemon source)
|
void |
PokemonMove.beginTurn(BattleTurn[] turn,
int index,
Pokemon source)
This function is called at the beginning on a turn on which this move is about to be used. |
void |
HiddenPowerMove.beginTurn(BattleTurn[] turns,
int index,
Pokemon source)
|
void |
PokemonMove.beginTurn(BattleTurn[] turn,
int index,
Pokemon source)
This function is called at the beginning on a turn on which this move is about to be used. |
boolean |
MoveList.FixedAttackEffect.canSwitch(Pokemon p)
|
boolean |
MoveList.TrappingEffect.canSwitch(Pokemon p)
|
boolean |
MoveList.FixedAttackEffect.canSwitch(Pokemon p)
|
boolean |
MoveList.TrappingEffect.canSwitch(Pokemon p)
|
void |
MoveList.FixedAttackEffect.executeTurn(Pokemon p,
BattleTurn turn)
|
void |
MoveList.FixedAttackEffect.executeTurn(Pokemon p,
BattleTurn turn)
|
double |
PokemonMove.getEffectiveness(Pokemon user,
Pokemon defender)
Get the effectiveness of this move against a denfending pokemon. |
double |
PokemonMove.getEffectiveness(Pokemon user,
Pokemon defender)
Get the effectiveness of this move against a denfending pokemon. |
static double |
PokemonMove.getEffectiveness(PokemonType type,
Pokemon user,
Pokemon defender)
Get the effectiveness of one type of move against an arbitrary pokemon. |
static double |
PokemonMove.getEffectiveness(PokemonType type,
Pokemon user,
Pokemon defender)
Get the effectiveness of one type of move against an arbitrary pokemon. |
MoveListEntry |
MoveList.HealBlockEffect.getEnemyTransformedMove(Pokemon p,
MoveListEntry entry)
|
MoveListEntry |
MoveList.HealBlockEffect.getEnemyTransformedMove(Pokemon p,
MoveListEntry entry)
|
int |
MoveList.SpikesEffect.getLayers(Pokemon p)
Returns the number of layers of spikes that are applied to a Pokemon. |
int |
MoveList.SpikesEffect.getLayers(Pokemon p)
Returns the number of layers of spikes that are applied to a Pokemon. |
int |
MoveList.StockpileMove.getLevels(Pokemon p)
|
int |
MoveList.StockpileMove.getLevels(Pokemon p)
|
int |
RecoilMove.getRecoil(Pokemon p,
int damage)
|
int |
RecoilMove.getRecoil(Pokemon p,
int damage)
|
mechanics.moves.MoveList.StockpileEffect |
MoveList.StockpileMove.getStockpileEffect(Pokemon p)
|
mechanics.moves.MoveList.StockpileEffect |
MoveList.StockpileMove.getStockpileEffect(Pokemon p)
|
boolean |
MoveList.AttractEffect.immobilises(Pokemon p)
|
boolean |
MoveList.AttractEffect.immobilises(Pokemon p)
|
void |
MoveList.FixedAttackEffect.informDuplicateEffect(Pokemon p)
|
void |
MoveList.FixedAttackEffect.informDuplicateEffect(Pokemon p)
|
boolean |
StatusMove.isEffective(Pokemon target)
Return whether this status effect can be successfully applied. |
boolean |
StatusMove.isEffective(Pokemon target)
Return whether this status effect can be successfully applied. |
static boolean |
MoveList.PerfectAccuracyMove.isHit(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
static boolean |
MoveList.PerfectAccuracyMove.isHit(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
boolean |
RecoilMove.isProtected(Pokemon p)
|
boolean |
RecoilMove.isProtected(Pokemon p)
|
void |
MoveList.SpikesEffect.removeSpikes(Pokemon p)
Removes spikes from a Pokemon's team. |
void |
MoveList.SpikesEffect.removeSpikes(Pokemon p)
Removes spikes from a Pokemon's team. |
void |
HiddenPowerMove.switchIn(Pokemon source)
|
void |
MoveList.SpikesEffect.switchIn(Pokemon p)
|
void |
MoveList.ToxicSpikesEffect.switchIn(Pokemon p)
|
void |
MoveList.StealthRockEffect.switchIn(Pokemon p)
|
void |
PokemonMove.switchIn(Pokemon p)
This method is called when a pokemon who has this move is switched into the field. |
void |
HiddenPowerMove.switchIn(Pokemon source)
|
void |
MoveList.SpikesEffect.switchIn(Pokemon p)
|
void |
MoveList.ToxicSpikesEffect.switchIn(Pokemon p)
|
void |
MoveList.StealthRockEffect.switchIn(Pokemon p)
|
void |
PokemonMove.switchIn(Pokemon p)
This method is called when a pokemon who has this move is switched into the field. |
boolean |
MoveList.SubstituteEffect.switchOut(Pokemon p)
|
boolean |
MoveList.CoEffect.switchOut(Pokemon p)
|
boolean |
MoveList.SubstituteEffect.switchOut(Pokemon p)
|
boolean |
MoveList.CoEffect.switchOut(Pokemon p)
|
boolean |
MoveList.FixedAttackEffect.tick(Pokemon p)
|
boolean |
MoveList.LockOnEffect.tick(Pokemon p)
|
boolean |
MoveList.SubstituteEffect.tick(Pokemon p)
|
boolean |
MoveList.TrappingEffect.tick(Pokemon p)
|
boolean |
MoveList.CoEffect.tick(Pokemon p)
|
boolean |
MoveList.AttractEffect.tick(Pokemon p)
|
boolean |
MoveList.FixedAttackEffect.tick(Pokemon p)
|
boolean |
MoveList.LockOnEffect.tick(Pokemon p)
|
boolean |
MoveList.SubstituteEffect.tick(Pokemon p)
|
boolean |
MoveList.TrappingEffect.tick(Pokemon p)
|
boolean |
MoveList.CoEffect.tick(Pokemon p)
|
boolean |
MoveList.AttractEffect.tick(Pokemon p)
|
void |
MoveList.SubstituteEffect.unapply(Pokemon p)
|
void |
MoveList.SubstituteEffect.unapply(Pokemon p)
|
int |
AbsorbMove.use(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
int |
HealthBasedMove.use(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
int |
MoveList.FixedAttackMove.use(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
int |
MultipleHitMove.use(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
int |
PokemonMove.use(BattleMechanics mech,
Pokemon user,
Pokemon target)
Cause a pokemon to use this move on another pokemon. |
int |
RecoilMove.use(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
int |
StatusMove.use(BattleMechanics mech,
Pokemon user,
Pokemon target)
The rules for whether this move can hit are elaborate. |
int |
WeatherMove.use(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
int |
WeatherMove.use(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
int |
RecoilMove.use(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
int |
MoveList.FixedAttackMove.use(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
int |
AbsorbMove.use(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
int |
MultipleHitMove.use(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
int |
HealthBasedMove.use(BattleMechanics mech,
Pokemon user,
Pokemon target)
|
int |
PokemonMove.use(BattleMechanics mech,
Pokemon user,
Pokemon target)
Cause a pokemon to use this move on another pokemon. |
int |
StatusMove.use(BattleMechanics mech,
Pokemon user,
Pokemon target)
The rules for whether this move can hit are elaborate. |
boolean |
MoveList.HealBlockEffect.vetoesMove(Pokemon p,
MoveListEntry entry)
|
boolean |
MoveList.FixedAttackEffect.vetoesMove(Pokemon p,
MoveListEntry entry)
|
boolean |
MoveList.HealBlockEffect.vetoesMove(Pokemon p,
MoveListEntry entry)
|
boolean |
MoveList.FixedAttackEffect.vetoesMove(Pokemon p,
MoveListEntry entry)
|
Uses of Pokemon in mechanics.statuses |
---|
Methods in mechanics.statuses that return Pokemon | |
---|---|
Pokemon |
StatusEffect.getInducer()
Get the pokemon who induced this effect. |
Pokemon |
StatusEffect.getInducer()
Get the pokemon who induced this effect. |
Methods in mechanics.statuses with parameters of type Pokemon | |
---|---|
boolean |
AwesomeEffect.apply(Pokemon p)
|
boolean |
BurnEffect.apply(Pokemon p)
Note that fire pokemon are immune to burn. |
boolean |
ChargeEffect.apply(Pokemon p)
|
boolean |
ConfuseEffect.apply(Pokemon p)
|
boolean |
FlinchEffect.apply(Pokemon p)
|
boolean |
FreezeEffect.apply(Pokemon p)
Ice pokemon cannot be frozen. |
boolean |
MultipleStatChangeEffect.apply(Pokemon p)
|
boolean |
ParalysisEffect.apply(Pokemon p)
|
boolean |
PercentEffect.apply(Pokemon p)
|
boolean |
PoisonEffect.apply(Pokemon p)
|
boolean |
SleepEffect.apply(Pokemon p)
|
boolean |
StatChangeEffect.apply(Pokemon p)
Applies the initial effects of the status to a pokemon but does not add the status to the list of statuses the pokemon has. |
boolean |
StatusEffect.apply(Pokemon p)
Applies the initial effects of the status to a pokemon but does not add the status to the list of statuses the pokemon has. |
boolean |
ToxicEffect.apply(Pokemon p)
|
boolean |
FreezeEffect.apply(Pokemon p)
Ice pokemon cannot be frozen. |
boolean |
AwesomeEffect.apply(Pokemon p)
|
boolean |
BurnEffect.apply(Pokemon p)
Note that fire pokemon are immune to burn. |
boolean |
MultipleStatChangeEffect.apply(Pokemon p)
|
boolean |
FlinchEffect.apply(Pokemon p)
|
boolean |
SleepEffect.apply(Pokemon p)
|
boolean |
PoisonEffect.apply(Pokemon p)
|
boolean |
ChargeEffect.apply(Pokemon p)
|
boolean |
PercentEffect.apply(Pokemon p)
|
boolean |
ToxicEffect.apply(Pokemon p)
|
boolean |
ConfuseEffect.apply(Pokemon p)
|
boolean |
ParalysisEffect.apply(Pokemon p)
|
boolean |
StatusEffect.apply(Pokemon p)
Applies the initial effects of the status to a pokemon but does not add the status to the list of statuses the pokemon has. |
boolean |
StatChangeEffect.apply(Pokemon p)
Applies the initial effects of the status to a pokemon but does not add the status to the list of statuses the pokemon has. |
boolean |
StatusEffect.apply(Pokemon source,
Pokemon p)
The point of this method is to catch errors. |
boolean |
StatusEffect.apply(Pokemon source,
Pokemon p)
The point of this method is to catch errors. |
protected int |
PercentEffect.calculateChange(Pokemon poke,
double percent)
|
protected int |
PercentEffect.calculateChange(Pokemon poke,
double percent)
|
boolean |
StatusEffect.canSwitch(Pokemon p)
Return whether this status effect allows switching. |
boolean |
StatusEffect.canSwitch(Pokemon p)
Return whether this status effect allows switching. |
boolean |
ChargeEffect.deactivates(Pokemon p)
Charge prevents the pokemon from choosing a move. |
boolean |
StatusEffect.deactivates(Pokemon p)
Determine whether this effect deactivates a pokemon. |
boolean |
ChargeEffect.deactivates(Pokemon p)
Charge prevents the pokemon from choosing a move. |
boolean |
StatusEffect.deactivates(Pokemon p)
Determine whether this effect deactivates a pokemon. |
void |
FreezeEffect.executeTurn(Pokemon p,
BattleTurn turn)
|
void |
StatusEffect.executeTurn(Pokemon p,
BattleTurn turn)
This method is called when the pokemon to whom the status effect is applied is just about to execute his turn. |
void |
FreezeEffect.executeTurn(Pokemon p,
BattleTurn turn)
|
void |
StatusEffect.executeTurn(Pokemon p,
BattleTurn turn)
This method is called when the pokemon to whom the status effect is applied is just about to execute his turn. |
protected MoveListEntry |
StatusEffect.getEnemyTransformedMove(Pokemon p,
MoveListEntry move)
|
protected MoveListEntry |
StatusEffect.getEnemyTransformedMove(Pokemon p,
MoveListEntry move)
|
MoveListEntry |
StatusEffect.getMove(Pokemon p,
MoveListEntry move,
boolean enemy)
Transform a move based on this status effect. |
MoveListEntry |
StatusEffect.getMove(Pokemon p,
MoveListEntry move,
boolean enemy)
Transform a move based on this status effect. |
MoveListEntry |
ChargeEffect.getTransformedMove(Pokemon p,
MoveListEntry entry)
|
protected MoveListEntry |
StatusEffect.getTransformedMove(Pokemon p,
MoveListEntry move)
|
MoveListEntry |
ChargeEffect.getTransformedMove(Pokemon p,
MoveListEntry entry)
|
protected MoveListEntry |
StatusEffect.getTransformedMove(Pokemon p,
MoveListEntry move)
|
boolean |
AwesomeEffect.immobilises(Pokemon poke)
Awesome immobilises 40% of the time. |
boolean |
BurnEffect.immobilises(Pokemon poke)
Burn does not immobilise. |
boolean |
ChargeEffect.immobilises(Pokemon p)
|
boolean |
ConfuseEffect.immobilises(Pokemon poke)
Confusion has a 50% chance of immobolising the afflicted pokemon. |
boolean |
FlinchEffect.immobilises(Pokemon p)
|
boolean |
FreezeEffect.immobilises(Pokemon poke)
Freeze immolilises the pokemon. |
boolean |
MultipleStatChangeEffect.immobilises(Pokemon poke)
|
boolean |
ParalysisEffect.immobilises(Pokemon poke)
Paralysis has a 25% chance of immobolising the afflicted pokemon. |
boolean |
PercentEffect.immobilises(Pokemon poke)
|
boolean |
PoisonEffect.immobilises(Pokemon poke)
Poison does not immobilise. |
boolean |
SleepEffect.immobilises(Pokemon poke)
Sleep immolilises the pokemon. |
boolean |
StatChangeEffect.immobilises(Pokemon poke)
|
boolean |
StatusEffect.immobilises(Pokemon poke)
Return whether this effect immobilises the pokemon. |
boolean |
ToxicEffect.immobilises(Pokemon poke)
Poison does not immobilise. |
boolean |
FreezeEffect.immobilises(Pokemon poke)
Freeze immolilises the pokemon. |
boolean |
AwesomeEffect.immobilises(Pokemon poke)
Awesome immobilises 40% of the time. |
boolean |
BurnEffect.immobilises(Pokemon poke)
Burn does not immobilise. |
boolean |
MultipleStatChangeEffect.immobilises(Pokemon poke)
|
boolean |
FlinchEffect.immobilises(Pokemon p)
|
boolean |
SleepEffect.immobilises(Pokemon poke)
Sleep immolilises the pokemon. |
boolean |
PoisonEffect.immobilises(Pokemon poke)
Poison does not immobilise. |
boolean |
ChargeEffect.immobilises(Pokemon p)
|
boolean |
PercentEffect.immobilises(Pokemon poke)
|
boolean |
ToxicEffect.immobilises(Pokemon poke)
Poison does not immobilise. |
boolean |
ConfuseEffect.immobilises(Pokemon poke)
Confusion has a 50% chance of immobolising the afflicted pokemon. |
boolean |
ParalysisEffect.immobilises(Pokemon poke)
Paralysis has a 25% chance of immobolising the afflicted pokemon. |
boolean |
StatusEffect.immobilises(Pokemon poke)
Return whether this effect immobilises the pokemon. |
boolean |
StatChangeEffect.immobilises(Pokemon poke)
|
void |
FreezeEffect.informDamaged(Pokemon source,
Pokemon target,
MoveListEntry entry,
int damage)
|
void |
StatusEffect.informDamaged(Pokemon source,
Pokemon target,
MoveListEntry move,
int damage)
React to damage. |
void |
FreezeEffect.informDamaged(Pokemon source,
Pokemon target,
MoveListEntry entry,
int damage)
|
void |
StatusEffect.informDamaged(Pokemon source,
Pokemon target,
MoveListEntry move,
int damage)
React to damage. |
void |
ConfuseEffect.informDuplicateEffect(Pokemon p)
|
void |
StatusEffect.informDuplicateEffect(Pokemon p)
Inform that this effect was applied, unsuccessfully, a second time. |
void |
ConfuseEffect.informDuplicateEffect(Pokemon p)
|
void |
StatusEffect.informDuplicateEffect(Pokemon p)
Inform that this effect was applied, unsuccessfully, a second time. |
void |
StatusListener.informStatusApplied(Pokemon source,
Pokemon poke,
StatusEffect eff)
Called when a status effect is successfully applied to a pokemon. |
void |
StatusListener.informStatusApplied(Pokemon source,
Pokemon poke,
StatusEffect eff)
Called when a status effect is successfully applied to a pokemon. |
void |
StatusListener.informStatusRemoved(Pokemon poke,
StatusEffect eff)
Called when a status effect is remove from a pokemon. |
void |
StatusListener.informStatusRemoved(Pokemon poke,
StatusEffect eff)
Called when a status effect is remove from a pokemon. |
void |
StatusEffect.setInducer(Pokemon p)
Set the pokemon who induced this effect. |
void |
StatusEffect.setInducer(Pokemon p)
Set the pokemon who induced this effect. |
void |
StatusEffect.switchIn(Pokemon p)
Called when a pokemon with this status effect switches in. |
void |
StatusEffect.switchIn(Pokemon p)
Called when a pokemon with this status effect switches in. |
boolean |
AwesomeEffect.switchOut(Pokemon p)
Awesome stays through switching out. |
boolean |
BurnEffect.switchOut(Pokemon p)
Burn stays through switching out. |
boolean |
ChargeEffect.switchOut(Pokemon p)
|
boolean |
ConfuseEffect.switchOut(Pokemon p)
|
boolean |
FlinchEffect.switchOut(Pokemon p)
|
boolean |
FreezeEffect.switchOut(Pokemon p)
A frozen pokemon is not cured by being switched out. |
boolean |
MultipleStatChangeEffect.switchOut(Pokemon p)
|
boolean |
ParalysisEffect.switchOut(Pokemon p)
Paralysis stays through switching out. |
boolean |
PercentEffect.switchOut(Pokemon p)
|
boolean |
PoisonEffect.switchOut(Pokemon p)
Poison stays through switching out. |
boolean |
SleepEffect.switchOut(Pokemon p)
|
boolean |
StatChangeEffect.switchOut(Pokemon p)
Called when a pokemon with this status effect switches out. |
boolean |
StatusEffect.switchOut(Pokemon p)
Called when a pokemon with this status effect switches out. |
boolean |
ToxicEffect.switchOut(Pokemon p)
Poison stays through switching out. |
boolean |
FreezeEffect.switchOut(Pokemon p)
A frozen pokemon is not cured by being switched out. |
boolean |
AwesomeEffect.switchOut(Pokemon p)
Awesome stays through switching out. |
boolean |
BurnEffect.switchOut(Pokemon p)
Burn stays through switching out. |
boolean |
MultipleStatChangeEffect.switchOut(Pokemon p)
|
boolean |
FlinchEffect.switchOut(Pokemon p)
|
boolean |
SleepEffect.switchOut(Pokemon p)
|
boolean |
PoisonEffect.switchOut(Pokemon p)
Poison stays through switching out. |
boolean |
ChargeEffect.switchOut(Pokemon p)
|
boolean |
PercentEffect.switchOut(Pokemon p)
|
boolean |
ToxicEffect.switchOut(Pokemon p)
Poison stays through switching out. |
boolean |
ConfuseEffect.switchOut(Pokemon p)
|
boolean |
ParalysisEffect.switchOut(Pokemon p)
Paralysis stays through switching out. |
boolean |
StatusEffect.switchOut(Pokemon p)
Called when a pokemon with this status effect switches out. |
boolean |
StatChangeEffect.switchOut(Pokemon p)
Called when a pokemon with this status effect switches out. |
boolean |
AwesomeEffect.tick(Pokemon p)
Awesome removes 1/8 max HP multiplied by the number of active turns each round. |
boolean |
BurnEffect.tick(Pokemon p)
Burn removes 1/8 max health each round. |
boolean |
ChargeEffect.tick(Pokemon p)
|
boolean |
ConfuseEffect.tick(Pokemon p)
|
boolean |
FlinchEffect.tick(Pokemon p)
|
boolean |
FreezeEffect.tick(Pokemon p)
|
boolean |
MultipleStatChangeEffect.tick(Pokemon p)
|
boolean |
ParalysisEffect.tick(Pokemon p)
|
boolean |
PercentEffect.tick(Pokemon p)
|
boolean |
PoisonEffect.tick(Pokemon p)
Poison removes 1/8 max health each round. |
boolean |
SleepEffect.tick(Pokemon p)
|
boolean |
StatChangeEffect.tick(Pokemon p)
|
boolean |
StatusEffect.tick(Pokemon p)
Called each turn that this status effect is applied to a pokemon. |
boolean |
ToxicEffect.tick(Pokemon p)
Toxic removes 1/16, 2/16, 3/16, etc. |
boolean |
FreezeEffect.tick(Pokemon p)
|
boolean |
AwesomeEffect.tick(Pokemon p)
Awesome removes 1/8 max HP multiplied by the number of active turns each round. |
boolean |
BurnEffect.tick(Pokemon p)
Burn removes 1/8 max health each round. |
boolean |
MultipleStatChangeEffect.tick(Pokemon p)
|
boolean |
FlinchEffect.tick(Pokemon p)
|
boolean |
SleepEffect.tick(Pokemon p)
|
boolean |
PoisonEffect.tick(Pokemon p)
Poison removes 1/8 max health each round. |
boolean |
ChargeEffect.tick(Pokemon p)
|
boolean |
PercentEffect.tick(Pokemon p)
|
boolean |
ToxicEffect.tick(Pokemon p)
Toxic removes 1/16, 2/16, 3/16, etc. |
boolean |
ConfuseEffect.tick(Pokemon p)
|
boolean |
ParalysisEffect.tick(Pokemon p)
|
boolean |
StatusEffect.tick(Pokemon p)
Called each turn that this status effect is applied to a pokemon. |
boolean |
StatChangeEffect.tick(Pokemon p)
|
void |
AwesomeEffect.unapply(Pokemon p)
|
void |
BurnEffect.unapply(Pokemon p)
|
void |
ChargeEffect.unapply(Pokemon p)
|
void |
ConfuseEffect.unapply(Pokemon p)
|
void |
FlinchEffect.unapply(Pokemon p)
|
void |
FreezeEffect.unapply(Pokemon p)
|
void |
MultipleStatChangeEffect.unapply(Pokemon p)
|
void |
ParalysisEffect.unapply(Pokemon p)
|
void |
PercentEffect.unapply(Pokemon p)
|
void |
PoisonEffect.unapply(Pokemon p)
|
void |
SleepEffect.unapply(Pokemon p)
|
void |
StatChangeEffect.unapply(Pokemon p)
Unapply this status effect. |
void |
StatusEffect.unapply(Pokemon p)
Unapply this status effect. |
void |
ToxicEffect.unapply(Pokemon p)
|
void |
FreezeEffect.unapply(Pokemon p)
|
void |
AwesomeEffect.unapply(Pokemon p)
|
void |
BurnEffect.unapply(Pokemon p)
|
void |
MultipleStatChangeEffect.unapply(Pokemon p)
|
void |
FlinchEffect.unapply(Pokemon p)
|
void |
SleepEffect.unapply(Pokemon p)
|
void |
PoisonEffect.unapply(Pokemon p)
|
void |
ChargeEffect.unapply(Pokemon p)
|
void |
PercentEffect.unapply(Pokemon p)
|
void |
ToxicEffect.unapply(Pokemon p)
|
void |
ConfuseEffect.unapply(Pokemon p)
|
void |
ParalysisEffect.unapply(Pokemon p)
|
void |
StatusEffect.unapply(Pokemon p)
Unapply this status effect. |
void |
StatChangeEffect.unapply(Pokemon p)
Unapply this status effect. |
boolean |
StatusEffect.vetoesMove(Pokemon p,
MoveListEntry entry)
Returns whether this status effect vetoes the choice of a particular move. |
boolean |
StatusEffect.vetoesMove(Pokemon p,
MoveListEntry entry)
Returns whether this status effect vetoes the choice of a particular move. |
Uses of Pokemon in mechanics.statuses.abilities |
---|
Methods in mechanics.statuses.abilities with parameters of type Pokemon | |
---|---|
boolean |
IntrinsicAbility.apply(Pokemon p)
|
boolean |
IntrinsicAbility.apply(Pokemon p)
|
protected abstract void |
OpponentEffectAbility.applyToOpponent(Pokemon owner,
Pokemon p)
|
void |
TrappingAbility.applyToOpponent(Pokemon owner,
Pokemon p)
|
void |
TrappingAbility.applyToOpponent(Pokemon owner,
Pokemon p)
|
protected abstract void |
OpponentEffectAbility.applyToOpponent(Pokemon owner,
Pokemon p)
|
MoveListEntry |
CompoundEyesAbility.getTransformedMove(Pokemon poke,
MoveListEntry entry)
Compound Eyes transforms moves by giving them 30% higher accuracy. |
MoveListEntry |
CriticalTypeAbility.getTransformedMove(Pokemon p,
MoveListEntry entry)
If a pokemon has 1/3 or less health then CriticalType transforms moves of a certain type by giving them one and a half times the power. |
MoveListEntry |
CriticalTypeAbility.getTransformedMove(Pokemon p,
MoveListEntry entry)
If a pokemon has 1/3 or less health then CriticalType transforms moves of a certain type by giving them one and a half times the power. |
MoveListEntry |
CompoundEyesAbility.getTransformedMove(Pokemon poke,
MoveListEntry entry)
Compound Eyes transforms moves by giving them 30% higher accuracy. |
boolean |
IntrinsicAbility.immobilises(Pokemon p)
Intrinsic abilities generally do not immobilise. |
boolean |
IntrinsicAbility.immobilises(Pokemon p)
Intrinsic abilities generally do not immobilise. |
boolean |
TrappingAbility.isTrappable(Pokemon p)
|
boolean |
TrappingAbility.isTrappable(Pokemon p)
|
void |
OpponentEffectAbility.switchIn(Pokemon owner)
|
void |
OpponentEffectAbility.switchIn(Pokemon owner)
|
boolean |
IntrinsicAbility.switchOut(Pokemon p)
|
boolean |
OpponentEffectAbility.switchOut(Pokemon p)
|
boolean |
OpponentEffectAbility.switchOut(Pokemon p)
|
boolean |
IntrinsicAbility.switchOut(Pokemon p)
|
boolean |
IntrinsicAbility.tick(Pokemon p)
Intrinsic abilities generally do not tick. |
boolean |
IntrinsicAbility.tick(Pokemon p)
Intrinsic abilities generally do not tick. |
void |
IntrinsicAbility.unapply(Pokemon p)
|
void |
OpponentEffectAbility.unapply(Pokemon p)
|
void |
OpponentEffectAbility.unapply(Pokemon p)
|
void |
IntrinsicAbility.unapply(Pokemon p)
|
Uses of Pokemon in mechanics.statuses.field |
---|
Methods in mechanics.statuses.field with parameters of type Pokemon | |
---|---|
boolean |
HailEffect.apply(Pokemon p)
|
boolean |
RainEffect.apply(Pokemon p)
|
boolean |
SandstormEffect.apply(Pokemon p)
Increase the evasion of a Pokemon with the Sand Veil ability. |
boolean |
SunEffect.apply(Pokemon p)
|
boolean |
SunEffect.apply(Pokemon p)
|
boolean |
HailEffect.apply(Pokemon p)
|
boolean |
RainEffect.apply(Pokemon p)
|
boolean |
SandstormEffect.apply(Pokemon p)
Increase the evasion of a Pokemon with the Sand Veil ability. |
MoveListEntry |
HailEffect.getTransformedMove(Pokemon poke,
MoveListEntry entry)
1. |
MoveListEntry |
RainEffect.getTransformedMove(Pokemon poke,
MoveListEntry entry)
1. |
MoveListEntry |
SandstormEffect.getTransformedMove(Pokemon poke,
MoveListEntry entry)
1. |
MoveListEntry |
SunEffect.getTransformedMove(Pokemon poke,
MoveListEntry entry)
1. |
MoveListEntry |
SunEffect.getTransformedMove(Pokemon poke,
MoveListEntry entry)
1. |
MoveListEntry |
HailEffect.getTransformedMove(Pokemon poke,
MoveListEntry entry)
1. |
MoveListEntry |
RainEffect.getTransformedMove(Pokemon poke,
MoveListEntry entry)
1. |
MoveListEntry |
SandstormEffect.getTransformedMove(Pokemon poke,
MoveListEntry entry)
1. |
boolean |
HailEffect.immobilises(Pokemon p)
|
boolean |
RainEffect.immobilises(Pokemon p)
|
boolean |
SandstormEffect.immobilises(Pokemon p)
|
boolean |
SunEffect.immobilises(Pokemon p)
|
boolean |
SunEffect.immobilises(Pokemon p)
|
boolean |
HailEffect.immobilises(Pokemon p)
|
boolean |
RainEffect.immobilises(Pokemon p)
|
boolean |
SandstormEffect.immobilises(Pokemon p)
|
protected void |
WeatherEffect.setTypes(Pokemon p,
PokemonType[] types,
boolean apply)
Changes the types of a Pokemon (for Forecast). |
protected void |
WeatherEffect.setTypes(Pokemon p,
PokemonType[] types,
boolean apply)
Changes the types of a Pokemon (for Forecast). |
boolean |
FieldEffect.switchOut(Pokemon poke)
Generally a FieldEffect is said to be healed when a pokemon is switched out because it will be reapplied when the pokemon returns. |
boolean |
FieldEffect.switchOut(Pokemon poke)
Generally a FieldEffect is said to be healed when a pokemon is switched out because it will be reapplied when the pokemon returns. |
boolean |
FieldEffect.tick(Pokemon poke)
Tick the effect on its associated field. |
boolean |
FieldEffect.tick(Pokemon poke)
Tick the effect on its associated field. |
protected boolean |
FieldEffect.tickPokemon(Pokemon poke)
Tick the effect on a pokemon. |
boolean |
HailEffect.tickPokemon(Pokemon p)
Does 1/16 of a Pokemon's health worth of damage each turn if the Pokemon is not Ice type. |
boolean |
RainEffect.tickPokemon(Pokemon p)
|
boolean |
SandstormEffect.tickPokemon(Pokemon p)
Does 1/16 of a Pokemon's health worth of damage each turn if the Pokemon is not Ground, Rock, or Steel type, or has the sand veil ability. |
boolean |
SunEffect.tickPokemon(Pokemon p)
|
boolean |
SunEffect.tickPokemon(Pokemon p)
|
protected boolean |
FieldEffect.tickPokemon(Pokemon poke)
Tick the effect on a pokemon. |
boolean |
HailEffect.tickPokemon(Pokemon p)
Does 1/16 of a Pokemon's health worth of damage each turn if the Pokemon is not Ice type. |
boolean |
RainEffect.tickPokemon(Pokemon p)
|
boolean |
SandstormEffect.tickPokemon(Pokemon p)
Does 1/16 of a Pokemon's health worth of damage each turn if the Pokemon is not Ground, Rock, or Steel type, or has the sand veil ability. |
void |
HailEffect.unapply(Pokemon p)
|
void |
RainEffect.unapply(Pokemon p)
|
void |
SandstormEffect.unapply(Pokemon p)
Restores the evasion of a Pokemon with Sand Veil when the sandstorm ends. |
void |
SunEffect.unapply(Pokemon p)
|
void |
SunEffect.unapply(Pokemon p)
|
void |
HailEffect.unapply(Pokemon p)
|
void |
RainEffect.unapply(Pokemon p)
|
void |
SandstormEffect.unapply(Pokemon p)
Restores the evasion of a Pokemon with Sand Veil when the sandstorm ends. |
Uses of Pokemon in mechanics.statuses.items |
---|
Methods in mechanics.statuses.items with parameters of type Pokemon | |
---|---|
boolean |
ChoiceBandItem.apply(Pokemon p)
|
boolean |
ChoiceBandItem.apply(Pokemon p)
|
void |
Berry.executeEffects(Pokemon p)
Execute the effects of the berry |
void |
Berry.executeEffects(Pokemon p)
Execute the effects of the berry |
MoveListEntry |
ChoiceBandItem.getTransformedMove(Pokemon p,
MoveListEntry entry)
|
MoveListEntry |
ChoiceBandItem.getTransformedMove(Pokemon p,
MoveListEntry entry)
|
void |
ChoiceBandItem.setChoice(Pokemon p,
BattleMechanics mech,
MoveListEntry entry)
|
void |
ChoiceBandItem.setChoice(Pokemon p,
BattleMechanics mech,
MoveListEntry entry)
|
boolean |
ChoiceBandItem.switchOut(Pokemon p)
|
boolean |
ChoiceBandItem.switchOut(Pokemon p)
|
protected void |
ChoiceBandItem.transformChoice(Pokemon p,
BattleMechanics mech,
MoveListEntry entry)
|
protected void |
ChoiceBandItem.transformChoice(Pokemon p,
BattleMechanics mech,
MoveListEntry entry)
|
boolean |
ChoiceBandItem.vetoesMove(Pokemon p,
MoveListEntry entry)
|
boolean |
ChoiceBandItem.vetoesMove(Pokemon p,
MoveListEntry entry)
|
Uses of Pokemon in netbattle |
---|
Methods in netbattle with parameters of type Pokemon | |
---|---|
void |
NetBattleField.addClient(NetClient client,
Pokemon[] team)
Add a client to this battle field, along with his team of pokemon. |
void |
NetBattleField.addClient(NetClient client,
Pokemon[] team)
Add a client to this battle field, along with his team of pokemon. |
void |
NetBattleField.informPokemonHealthChanged(Pokemon poke,
int hp)
A pokemon's health was changed. |
void |
NetBattleField.informPokemonHealthChanged(Pokemon poke,
int hp)
A pokemon's health was changed. |
void |
NetBattleField.informStatusApplied(Pokemon poke,
StatusEffect eff)
Inform that a status effect was applied to a pokemon. |
void |
NetBattleField.informStatusApplied(Pokemon poke,
StatusEffect eff)
Inform that a status effect was applied to a pokemon. |
void |
NetBattleField.informStatusRemoved(Pokemon poke,
StatusEffect eff)
Inform that a status effect was removed from a pokemon. |
void |
NetBattleField.informStatusRemoved(Pokemon poke,
StatusEffect eff)
Inform that a status effect was removed from a pokemon. |
void |
NetBattleField.informSwitchInPokemon(int trainer,
Pokemon poke)
A pokemon was switched in. |
void |
NetBattleField.informSwitchInPokemon(int trainer,
Pokemon poke)
A pokemon was switched in. |
void |
NetBattleField.informSwitchInPokemon(int trainer,
Pokemon poke,
boolean silent)
A pokemon was switched in. |
void |
NetBattleField.informSwitchInPokemon(int trainer,
Pokemon poke,
boolean silent)
A pokemon was switched in. |
void |
NetBattleField.informUseMove(Pokemon poke,
java.lang.String name)
Inform that a pokemon used a move. |
void |
NetBattleField.informUseMove(Pokemon poke,
java.lang.String name)
Inform that a pokemon used a move. |
Uses of Pokemon in netbattle.messages |
---|
Methods in netbattle.messages that return Pokemon | |
---|---|
Pokemon[] |
AcceptChallengeMessage.getPokemon()
|
Pokemon[] |
AcceptChallengeMessage.getPokemon()
|
Pokemon[] |
FinaliseChallengeMessage.getTeam()
|
Pokemon[] |
FinaliseChallengeMessage.getTeam()
|
Constructors in netbattle.messages with parameters of type Pokemon | |
---|---|
AcceptChallengeMessage(java.lang.String opponent,
Pokemon[] pokemon)
Creates a new instance of AcceptChallengeMessage |
|
AcceptChallengeMessage(java.lang.String opponent,
Pokemon[] pokemon)
Creates a new instance of AcceptChallengeMessage |
|
FinaliseChallengeMessage(int fid,
Pokemon[] team)
Creates a new instance of FinaliseChallengeMessage |
|
FinaliseChallengeMessage(int fid,
Pokemon[] team)
Creates a new instance of FinaliseChallengeMessage |
Uses of Pokemon in shoddybattle |
---|
Fields in shoddybattle declared as Pokemon | |
---|---|
protected Pokemon[][] |
BattleField.m_pokemon
|
protected Pokemon[][] |
BattleField.m_pokemon
|
Methods in shoddybattle that return Pokemon | |
---|---|
Pokemon[] |
BattleField.getActivePokemon()
Get the active pokemon. |
Pokemon[] |
BattleField.getActivePokemon()
Get the active pokemon. |
Pokemon |
Pokemon.getOpponent()
Get the Pokemon that this Pokemon is fighting in a battle. |
Pokemon |
Pokemon.getOpponent()
Get the Pokemon that this Pokemon is fighting in a battle. |
Pokemon |
BattleField.getOpponent(Pokemon p)
Get the opponent of the Pokemon passed in. |
Pokemon |
BattleField.getOpponent(Pokemon p)
Get the opponent of the Pokemon passed in. |
Pokemon[] |
BattleField.getParty(int idx)
Get a party. |
Pokemon[] |
BattleField.getParty(int idx)
Get a party. |
static Pokemon |
Pokemon.getRandomPokemon(ModData data,
BattleMechanics mech)
Get a random Pokemon object. |
static Pokemon |
Pokemon.getRandomPokemon(ModData data,
BattleMechanics mech)
Get a random Pokemon object. |
Pokemon[] |
Pokemon.getTeammates()
Get this pokemon's teammates, including this pokemon. |
Pokemon[] |
Pokemon.getTeammates()
Get this pokemon's teammates, including this pokemon. |
Methods in shoddybattle with parameters of type Pokemon | |
---|---|
StatusEffect |
Pokemon.addStatus(Pokemon source,
StatusEffect eff)
Add a status effect to this pokemon. |
StatusEffect |
Pokemon.addStatus(Pokemon source,
StatusEffect eff)
Add a status effect to this pokemon. |
boolean |
BattleField.allowsStatus(StatusEffect eff,
Pokemon source,
Pokemon target)
Check whether the clauses present on this battle field permit the application of the given status effect to the given pokemon. |
boolean |
BattleField.allowsStatus(StatusEffect eff,
Pokemon source,
Pokemon target)
Check whether the clauses present on this battle field permit the application of the given status effect to the given pokemon. |
static int |
BattleField.PokemonWrapper.compareSpeed(Pokemon p1,
Pokemon p2)
Compare based on speed. |
static int |
BattleField.PokemonWrapper.compareSpeed(Pokemon p1,
Pokemon p2)
Compare based on speed. |
static double |
PokemonMass.getMass(Pokemon species)
Get the mass of a given pokemon. |
static double |
PokemonMass.getMass(Pokemon species)
Get the mass of a given pokemon. |
PokemonMove |
BattleTurn.getMove(Pokemon poke)
Get the PokemonMove that this object refers to. |
PokemonMove |
BattleTurn.getMove(Pokemon poke)
Get the PokemonMove that this object refers to. |
Pokemon |
BattleField.getOpponent(Pokemon p)
Get the opponent of the Pokemon passed in. |
Pokemon |
BattleField.getOpponent(Pokemon p)
Get the opponent of the Pokemon passed in. |
int |
BattleField.getPokemonTrainer(Pokemon p)
Get the index of a trainer from one of his pokemon. |
int |
BattleField.getPokemonTrainer(Pokemon p)
Get the index of a trainer from one of his pokemon. |
abstract void |
BattleField.informPokemonHealthChanged(Pokemon poke,
int change)
Inform that a pokemon's health was changed. |
abstract void |
BattleField.informPokemonHealthChanged(Pokemon poke,
int change)
Inform that a pokemon's health was changed. |
abstract void |
BattleField.informStatusApplied(Pokemon poke,
StatusEffect eff)
Inform that a status was applied to a pokemon. |
abstract void |
BattleField.informStatusApplied(Pokemon poke,
StatusEffect eff)
Inform that a status was applied to a pokemon. |
abstract void |
BattleField.informStatusRemoved(Pokemon poke,
StatusEffect eff)
Inform that a status effect was removed from a pokemon. |
abstract void |
BattleField.informStatusRemoved(Pokemon poke,
StatusEffect eff)
Inform that a status effect was removed from a pokemon. |
abstract void |
BattleField.informSwitchInPokemon(int trainer,
Pokemon poke)
Inform that a pokemon was switched in. |
abstract void |
BattleField.informSwitchInPokemon(int trainer,
Pokemon poke)
Inform that a pokemon was switched in. |
abstract void |
BattleField.informUseMove(Pokemon poke,
java.lang.String name)
Inform that a pokemon used a move. |
abstract void |
BattleField.informUseMove(Pokemon poke,
java.lang.String name)
Inform that a pokemon used a move. |
protected void |
BattleField.setPokemon(Pokemon[][] pokemon)
|
protected void |
BattleField.setPokemon(Pokemon[][] pokemon)
|
static int[] |
BattleField.PokemonWrapper.sortMoves(Pokemon[] active,
BattleTurn[] move)
Sort pokemon and moves in descending order. |
static int[] |
BattleField.PokemonWrapper.sortMoves(Pokemon[] active,
BattleTurn[] move)
Sort pokemon and moves in descending order. |
int |
Pokemon.useMove(int i,
Pokemon target)
Use one of this pokemon's intrinsic moves. |
int |
Pokemon.useMove(int i,
Pokemon target)
Use one of this pokemon's intrinsic moves. |
int |
Pokemon.useMove(MoveListEntry move,
Pokemon target)
Use a a move from the move list (so its name is known and displayed). |
int |
Pokemon.useMove(MoveListEntry move,
Pokemon target)
Use a a move from the move list (so its name is known and displayed). |
int |
Pokemon.useMove(PokemonMove move,
Pokemon target)
Check for accuracy and then use an arbitrary move. |
int |
Pokemon.useMove(PokemonMove move,
Pokemon target)
Check for accuracy and then use an arbitrary move. |
Constructors in shoddybattle with parameters of type Pokemon | |
---|---|
BattleField(BattleMechanics mech,
Pokemon[][] pokemon)
Creates a new instance of BattleField |
|
BattleField(BattleMechanics mech,
Pokemon[][] pokemon)
Creates a new instance of BattleField |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |