if (global.debug == 1) room_speed = round(room_speed * 2);