Does this engine use the spring contacts under the shell?
I recently lost headlights after I flipped the engine upside down to oil things, all other lights were working fine. Turns out some of wires going up to the lights were holding the housing for those contacts up just enough to keep the headlights from getting power. An easy fix once I figured out what was happening.