They also use up the resources you get by doing the various actions in the game.Is for recollect memories to do the happy ending, you have to pass the crystals to reach to the final of the cave and then active the first memory, there are four. Make sure to touch the least crystals because they are obstacles that just pass time.
So touch the least amount of crystals, or the ones you have most resources of.