this is the stuff I want to learn someday but always feel like it's cheating lmao
if I remember correctly, there's a calculator that tells you what Pokemon in an outbreak to catch, defeat, scare away etc to get a shiny. I never tried it, but I do know it exists.