Monte Carlo simulation of the effects of adsorption on interparticle forces