When a substance is changing state, its temperature remains constant. This is because energy is used to increase/decrease kinetic energy of the molecules of the substance, increasing/decreasing the inter-molecular distance and overcoming the energy bonds present between the molecules. Therefore, no energy is used to raise the temperature of the substance and therefore it remains constant