attack should work, might have to rename bd.getOpponentPokemon to bd.getMyPokemon