if (rotate == false && timer > 1 && global.facing == 2 && global.flag[379] == 0) { global.interact = 1; rotate = true; timer = 0; }