I have a 1998 Yamaha XL 760 that just died while using it one afternoon!

I noticed that I wasnt getting any spark so I replaced the coil and the relay but still no spark?

The fuses are all good?

Appreciate any help..

Dubl-z