A Pokémon with Telepathy avoids damaging moves used by its allies. This includes attacks with multiple targets (such as Discharge), as well as attacks exclusively targeting an ally with Telepathy (such as Thunderbolt). However, it is not protected from its allies' status moves (such as Teeter Dance or Confuse Ray).
Relevant Code Points
We should update the accuracy check function for moves which would affect an ally.
Documentation
https://bulbapedia.bulbagarden.net/wiki/Telepathy_(Ability)
Relevant Code Points
We should update the accuracy check function for moves which would affect an ally.