public void switchIn(Pokemon p) {
BattleField field = p.getField();
FieldEffect eff = field.getEffectByType(WeatherEffect.class);
if (eff != null) {
eff.unapply(p);
eff.unapply(p.getOpponent());
}
}
public boolean switchOut(Pokemon p) {
p.setAbility(null, true);
BattleField field = p.getField();