My sister has been breeding a bunch of Popplio because I want to FINALLY have a female. She started with breeding my male Primarina and a Ditto I traded her. After hatching around 20 eggs, she finally got a girl and put it with the Ditto instead of my male Primarina. Now, she's gotten 5 females out of 8 eggs.
So my question is: if being bred with another female Pokémon, do Ditto and that Pokémon have a higher chance of getting female offspring? Or is it just luck? I'll be trying this method with other Pokémon.