if (movement == 1 || movement == 2) { if (confuse == 0) { x -= global.sp; if (control_check(1) == 1) x += (global.sp / 2); } if (confuse == 1 && x < (global.idealborder[1] - 8)) { x += global.sp; if (control_check(1) == 1) x += (global.sp / 2); } }