So..I guess the comic itself is kinda lost on you too, then, eh? Well, there's no given reason that these npc's are running around in a circle or back and forth in a line. One could speculate that, as mentioned by some of the other comments here, that they're trying to get a random Pokemon encounter. I'm offering a silly alternative explanation is all.
Also...I know jhall's comics are made of awesome, but if you've never played any of the pokemon games (and most of jhall's comics are solely pokemon related), why are you watching him? It seems to me it would ruin the fun of watching his comics if you didn't understand the jokes