|Flattery is used to confuse the target. However, this also raises the target's Sp. Atk stat.|
Flatter raises the target's Special Attack stat by one stage and confuses it. Even if the target is already confused, or cannot become confused due to Safeguard or Own Tempo, its Special Attack will still be raised.
Even if the target's Special Attack is already at +6 stages, it will still become confused. Even if the target has Contrary and its Special Attack is already at -6 stages, it will still become confused.