The skeleton waves a hand in front of you, grabbing your attention. "Hey Frisk, you spaced a little. Heh, I thought you were day-dreaming for a moment."
Apparently him forgetting you was a terrible daydream. He's been here all along, and still hasn't forgotten who you were.