Forum:Memory

In Ocarina of Time, does Link retain his memory when going back and forth between the past and the future? I know it's kind of a stupid question considering it won't really have any impact on the game, but I'm curious. It's very vague since Link is unable to speak.