The valves shouldn't be opening and closing if the timing gear isn't intact, but it could be damaged. The distributor gear could also be be damaged or the distributor may not be seated properly.