if (global.phasing == 0) { x = xprevious; y = yprevious; moving = 0; }