What it would happened if a hacked genderless or legendary pokémon used attract to a normal pokémon ?
Attract fails if used by/on a genderless Pokemon.
Source: Experience