if (room == room_board_2) { if (camera == 0) { with (obj_mainchara_board) { if (camera == 1) other.camera = 1; } } }