A buyer and seller's real estate agents will be able to fill them in on the laws in their particular state, but in general, a seller is responsible for paying to fix severe water damage or mold issues, to replace missing or broken smoke detectors, and to remedy building code violations, among other things.