Was the cake effect the last one you've picked up? The type of the passer-by NPC could be determined by this. I had the shadow lady, so I could have collected the lantern effect before I triggered this ending, the person below could have been collected the invisible effect, so (s)he got Yukata, and so on.