Someone buying an older mobile home in South Carolina would have to ensure it has working smoke detectors under a bill advanced by legislators.