I can not get my 4runner to pass smog test on 1990 Toyota 4Runner

i have replaceed the fuel filter spark plug cap and rotor and oil i check my timing after the test and it was 2" from the marks and now it lack power going up long grades

Asked by for the 1990 Toyota 4Runner