randoms = 0;
randomValues = [0,0.5,0.9999999999999999,0.5];
oldRandom = Math.random;
Math.random = function() {
value = randomValues[randoms];
randoms = (randoms + 1) % randomValues.length;
return value;
}
randoms = 0;
randomValues = [0,0.5,0.9999999999999999,0.5];
oldRandom = Math.random;
Math.random = function() {
value = randomValues[randoms];
randoms = (randoms + 1) % randomValues.length;
return value;
}