06 400ex electrical issue

Ok so basically I ran into to an electric fence while riding on my 400ex one day (couldn’t see very well cuz of how bright it was outside) and went through the fence and I got banged up a lil but the bike is pretty much fine. The only problem is that the ignition button won’t work and when I turn the key, the neutral light nor the headlights come on. However the trx starts when you do the whole solenoid screwdriver method so ik the starter isn’t bad so what could it be?