Thank youA bad coil can give you fits finding the problem sometimes.
Way back in time...I had a 1977 Yamaha YZ100 I raced MX with. It ran fine until it got very hot. Winter...no problem...hot summer day....shut down and not run until cool. That was my first experience with coils of this nature. Started many races and DNF.
Parts for our engines now are so cheap I'd change just about all electrical to eliminate those potential problems. Then save the old stuff and sort out the good and bad later.