Yeah, this is basically stupid, but hey, it's important to never apologize for the dumb stuff you're into. Everyone has their stupid. For the ones who played the Pokémon games while watching old episodes of Dragon Ball Z, this means something, alright? We all know that Pokémon's probability system is madness, but assuming Goku isn't holding a quick claw or something that lets him sneak in a senzu bean, this looks like it holds up.
Hold on, does quick claw provide enough of a stat buff to override the priority of quick attack? Whatever.
But hold on, would Goku's instant transmission be fast enough to end the fight before it even began?
Either way, there's no argument that Rattata could beat Yamcha with no strategy.