Does Potential Energy Decrease In A Cooling Curve?

Does Potential Energy Decrease In A Cooling Curve? During the phase changes of a cooling curve the KE remains constant while PE decreases (heat is lost during cooling) to allow the molecules to move closer together and IMF increases. Does energy decrease when cooling is done? Explanation: This is because temperature is a measurement of