Text this: The Intrinsic Correlations between Prompt Emission and X-ray Flares of Gamma-Ray Bursts