Like Machoke or Kadabra
Raise the Pokemon to a specific Link% and battle against a Warlords and defeat it.
source