When you turn the key off it probably grounds the coil, and if it was backwards it might ground the coil when you turn it on,lol. I hate the wiring on these bikes. I have to work on my X18 wiring, the rear running light stays on all the time,lol.
Ill tell ya what you need to do,,,Go to Zmons x15 thread and print my schematics
Mark the plugs on both sides with a sharpie and make a small ledger to keep track of the markings are connected to
Pull all the wiring,,switches ,,fuse holder,, charging port and gauges off of the bike...Unwrap the harness then lay the harness out on the ground and hook up the gauges clutch handle and all as it would be on the bike ,,,hook up the battery and make sure the frame grounds are grounded to the battery and turn on the key......you can trace all the input hot leads with a multimeter for the gauges,,turn signal ,horn/high/lowbeam switch so when you cut it out of the harness you know what rewires it back in as a seperate fused circuit...
Cut out the rectifier box connector with as much wiring as you can,,add length where needed...hook up the charging system as per schematic with an inline fuse tree of atleast 5 fuses coming off of the keyswitch to balance the system loads from aswell as add better protection....
After the charging system,,keyswitch,,battery and fuse tree have been installed back onto the bike............
Cut the CDI connector plug out with as much equal length wire as possible,,,,,I use bullet connectors to connect the stator to the CDI and the rectifier boxes to keep the two systems clearly seperated..You need to ground the CDI to the frame and engine good aswell as hookup the kkillswitch side of the keyswitch to the black wire with white stripe just like the schematic shows...
The starter side of the whole thing is quite simple to follow the schematic,,,all my wires are coded to the same wires as the wires in your harness for all......
After you get the charging system harness made wrapped and installed,,,Ignition side made,wrapped and installed,,starter side made,wrapped and installed aswell as remaking the headlight,taillight and blinker circuit custon as per 1988 Honda hurricane600 schematics youll have a very sweet operating bike thats super customized.......
After tackling bthat mod youll be wanting to wire up the whole clan......