During the Brock boss fight with his first pokemon steelix, i was setting up curses on it with my ferrothorn but as he used "Dig" the Curse would not proc, show text showing your def/atk rose. So Curse was trying to target the steelix before the check of the type of pokemon using the move. As it had no target the move failed without saying it did.