arm = 0; animimg = 0; xoff = 0; yoff = 0; phase = 0;