I believe it to be the masks that merge the timelines,
Or rather link's actions and healing of the world that was stored in these masks.
If you do not have all the masks by the end of the game certain cutscenes do not play.
I'm not saying that you only see the endings of the masks that you...