Sounds like the flywheel keyway is broken.
Yes pull the flywheel
That is what the key is supposed to look like. + if you a good blue spark then ignition isn't your issue. Wise to look at the 'last thing you worked on' first though. I'd look at a fuel issue or check compression. Any history on top end service? Low compression is a no-no on a 2 stroke starting
There's alot of dirt on that main bearing seal and possibly oil. The dirt can damage the seal lips, causing an air leak. Is there any up / down movement in the crank bearings ?
Yellow wires are your 12V. If all you have done is something with the green wire then try and undo it. I went through the wiring on mine not long ago and I think I recall the same on mine. I unplugged a wire that I thought went nowhere. I'm sure it only resulted in the kill switch not working until I earthed it again. I think..
www.gasgasmotos.es - download the manual for your year and pull up the wiring diagram. It helps!
Sounds like what my 200 was doing. Just a shout in the dark but my wires were not plunged all the way in on CDI it looked like they were but weren't.
I would say if you have spark it is good. Have you tried unplugging the kill switch and starting it?