The condition is evaluated before you perform the ability. So if during the move something negates X, you still get the +2 move bonus.