Arm won’t go down

I coded a simple program for the controlled portion of competition, just wheels moving and an arm that can rotate up. To program worked for a while, but when the arm motor overheated, and was taken off and reattached later, the arm no longer worked properly. Now, the arm will go up, if I presss R1 (correct), and jerkily go up if I press R2(the Error). I can’t seem to figure out how to correct the issue, especially since I’m Learning Vex c++ as I go.