here's the snippet of my function:
float4 PixelShaderFunction(float2 coords: TEXCOORD0) : COLOR0
{
float4 colour = tex2D(input, coords);
int index = 0; //doesn't matter what value i put, it always return the first pixel of my palette
float4 lookUp = tex1D(Palette2Sampler,index);
//float4 lookUp = tex1D(Palette2Sampler,coord);
// when I run the above and move the sprite, it cycles through the colours, but always
// displays the colour of the first pixel when stationary.
return lookup;
}