Issues Driving Forward Autonomously Using Encoders

My partner and I are having issues getting a drive function to work using encoders, more specifically line 257, everything else works just fine. When we try to call on this function, it simply doesn’t move. More specifically, when we call on it on line 401.
What it should do is drive forward until the encoders have reached the specified angle (int angle), but as stated previously, it doesn’t move at all.
Using the debug menu, I’ve found that the left drive encoder reads a positive value when moving our robot forward, and our right drive encoder reads a negative value when moving our robot forward.
Our team is pretty much self-taught on RobotC, so our knowledge of Natural Language and sensors are extremely lacking (this is the exact reason the motor encoders on our claw aren’t doing anything right now), but to our knowledge our only issue is this specific function. If images of the robot would help, feel free to ask.

If this is a red quadrature encoder then you can make it count the other way by swapping the connections to the cortex, that is, swap the ports the two cables are plugged in to. Without seeing the code, I can’t add much more.