This is inspired by me recently playing through Earthbound Beginnings, where I found myself getting frustrated by having a random encounter the first step after having just finished one. The Pokemon series is the only other series I've played a significant amount that had random encounters, and I don't remember ever having this frustration with them.

So, do the Pokemon games have an inbuilt mechanic that reduces the rate of consecutive random encounters, or is my memory just bad?