In my more detailed answer to a related question I mention how the correlations have to match the outcome of the equation $\sin^2(A-B)$ where A is the alignment of Alice's analyser and B is the alignment of Bob's analyser, in order to match the predictions of Quantum Mechanics.
Notice that the quantum prediction $\sin^2(A-B)$ does not include a variable for the polarisation of the incoming photon quantum so its polarisation is not important other than its assumed to be random. Any theory that is local and uses hidden variables only has the information about the angle of the incoming photon and the angle of the local analyser, so it cannot reproduce the $\sin^2(A-B)$ correlation, as it does not know both A and B. It does not matter if the incoming photon has a constant polarisation all along its route or if it is constantly changing. Either way it does not help determine $\sin^2(A-B)$.
In my other answer, I set up a game and a device that only uses local information and manage to produce the correct correlations when the analysers have the same orientation, the opposite orientation and when they are 45 degrees apart, but it fails, (as any local theory will always fail) at the angles in between.
Clarification note: In the other answer I used the $\cos^2(A-B)$ correlation equation, because I was using the example that the entangled photons were orientated the same way while in this answer I used the $\sin^2(A-B)$ equation which is the most often used and assumes the entangled photons are orientated at 90 degrees to each other. The orientations of entangled photons to each, depends on the method used to prepare them.