Before it turns into a chrysalis, the caterpillar will begin to darken. It will also cover itself with saliva. This makes the caterpillar darken even faster. Once this is done, it will look for a good place to pupate (pupate means to turn into a pupa).