Each serves a niche.
Pyrodex leaves a protective oily residue upon ignition.
... not great for flintlocks.
777 gives about 12% more pressure with same volume so load accordingly.
It also prefers 209 primers but shotshell reloading should be fine.
Personally 777 is my go-to unless a #11 primer is needed

