If the timer runs out the son will catch you and you'll get ending 0, but if you complete the puzzles in time you'll get a different ending depending on what you did with the ring and the bear!