public static void applyToxicSpikes(Team team) {
		Pokemon poke = team.getActivePokemon();
		if (poke.isType(Type.POISON) && !poke.getAbility().equals(Ability.LEVITATE) 
			&& !poke.isType(Type.FLYING)) {
			team.removeToxicSpikes();
		} else if (team.hasToxicSpikes() && !poke.isType(Type.STEEL)
				&& !poke.isType(Type.FLYING) && poke.isOk()) {
			if (team.getToxicSpikesCount() == 1) {
				poke.setRegPoison();
			} else {
				poke.setToxPoison();
			}
		}
	}