Denial
formerly Lunala
idk if thats how this move is supposed to work, but i just tested it and it seems like the move will first target your allie pokèmon, and if they have the same typing the move works. It says so in your replay toohttps://replay.pokemonshowdown.com/gen7doubleshackmonscup-898058794 Theres a bug at Turn 8 at where Synchronoise didnt affect Yanmega.
Pineco used Synchronoise!
It doesn't affect Machamp...