facing_timer += 1; if (facing_timer <= 6) { if (rem_facing >= 0) global.facing = rem_facing; }