When I have higher speed than Gloomer, it leaves multiple marks behind at the moment it's out of sight. Here's a video:
This doesn't happen with chester.
-Get the Gloomer flower
-Get a walking cane or anything that gives you enough speed to leave Glommer behind
-Run in a straight line