Went out laning a few weeks ago, bike started to run rough, would not idle, then came right, then backfired after a while started up then after about a minute died and would not restart. Took it to one of the top enduro specialists, after cleaning carb and tank, replacing spark plug. He discovered that the bike had taken in a bit of water and some debris as well which had damaged a valve and the piston and rings, these have all been replaced with new, compression is back up to normal where previously it was apparently only getting up to about 75 psi. Problem now is it starts first time but as soon as the engine gets hot it dies and refuses to start, the gap at the rings is apparently correct, Yamaha says there was an issue with the generator on this model, I dont see if it is getting spark it could be the generator, they are trying to eliminate a broken wire. Has anyone else had a similar problem, or can anyone shed some light as to where to look next?