The amplitude of the wave, An is perpendicular to both λn and aψn. If there are forces changing λn and aψn, these forces will have no effect on An.
So, because there is no force acting on An, An remains unchanged and the system loses energy as the particle transit from a higher aψ to a lower aψ.
λn and aψn changes when we set ni→nf, but this by itself does not change An.