In a series of recent papers, we investigated the effect of dynamical electron correlation on the potential energy curves and spectroscopic constants of several diatomic molecules, including the simple diatomic hydrides (AH) and the more complex diatomic fluorides (AF) and homonuclear diatomic molecules (A2) with A = B-F (AF) or A = C-F (A2), respectively. Our goal was to understand the dependence of the dynamical electron correlation energy, EDEC, on the internuclear distance, R, and quantify how dynamical electron correlation influences the spectroscopic constants (De, Re, and ωe) of these molecules. At large R, we found that the magnitude of EDEC(R) had a simple dependence on R, with EDEC(R) increasing nearly exponentially with decreasing R. However, as R continued to decrease, there were significant variations in EDEC(R). These variations led to differing changes in the predicted spectroscopic constants of the molecules. In many molecules, the changes in EDEC(R) could be correlated with changes in the underlying spin-coupled generalized valence bond wave function, either in the orbitals or the spin-coupling coefficients. In the current paper, we extend these studies to higher main group elements, comparing the effects of EDEC(R) on P2 and As2 versus N2, and on Cl2 and Br2 versus F2. We find that there are significant differences between the effects of dynamical electron correlation on the molecules in the first and subsequent rows of the periodic table.