I think I am going to swear

So – my 1999 Polaris Sportsman 500 has done it again……Grrrrrrr

so first it was the cam shaft, then rocker/compression relief, then starter bendix, now the stupid thing wont get any spark – drove fine last night, parked it, daughter went to start it just now and cranks and cranks, has fuel and I pulled the plug and grounded it to the chassis and no spark, so got another plug and grounded it and still no spark so – where do I start and what do I check to see where the spark might have failed to get from where it comes from and goes to the plug.

I do remember a small rectangular box under the front rack that had a yellow/yellow red wire coming out of it and of course there is what I presume is some kind of coil that the actual spark plug wire comes out of.

its molded in so I presume no connection issue there.