public void unapply(Pokemon p) {
if (!m_applied[p.getParty()])
return;
m_applied[p.getParty()] = false;
if (p.hasAbility("Sand Veil")) {
StatMultiplier mul = p.getMultiplier(Pokemon.S_EVASION);
mul.decreaseMultiplier();
}
if ((p.getField().getMechanics() instanceof JewelMechanics) && p.isType(PokemonType.T_ROCK)) {
p.getMultiplier(Pokemon.S_SPDEFENCE).divideBy(1.5);
}
}