RE: YS 170 DZ CDI
For sure try a new plug, and on the pump, there is only one diaphragm either the black or the orange. The orange did not do so well so they did not used it anymore, stay with the black one or the one in best shape.
I do not remember where did I posted it, but look for a post that says to all YS users, and consider buying those two little and cheap tools, it will help you find ignition related problems easily.
Regards
Alejandro Pereira