Starting in Generation VI, the Poké Ball of the female Pokémon will be passed down to its offspring. Genderless and male Pokémon, as well as Ditto, have no impact on the Poké Ball passed down. The Master Ball and Cherish Ball cannot be passed down.
Electrode is genderless, therefore the Dusk Ball wasn't passed down.
Same goes with Pokemon like Metagross and Magnezone.