The altimeter is corrected for pressure changes as you adjust it for altimeter settings to obtaine true altitude. The trainspnder only records pressure altitude and transmit pressure altitude to ATC. ATC computers knows also what the altimeter setting is and applies it to the transponder it...