Tempt your slot 1 cobblemon into swapping balls by holding a sugar in your main hand, a new ball in the off-hand, and then crouching.
A single sugar and a single ball will be consumed.
Have fun!
Thanks to TheBlindBandit6 for updating it to CM 1.5 for me!
And thanks to PinotTheCorsky for making the Gravelmon version!