Lift up the playfield and check out the mech. Make sure you can actuate it by hand by moving the solenoid. You may find something mechanically binding that happened coincidentally when you were messing with code. On a B/W gate I've had the spring/mech flipover causing it to no longer work. Perhaps something similar has happened to yours.