In Pokemon Sword and Shield, the Number Battled method, and Masuda Method are both seperate Shiny Hunting methods. Masuda methoding with the 25 catch combo sould not raise or lower your chances at a shiny.
Hope I helped, and good luck getting the shiny!