(also i found one of the super secret endings, the one about the secret move but is putting enemies to sleep part of the other one? i;m losing my mind here and not in the good way >.<)
Im not sure about the exact conditions, but i think the ending with the 'Zzz' icon is not necessarily related to the sleep effect. For me it triggered while I had tons of different effects active (more than can be displayed at once)