In Gilgamesh: A New English Version, Gilgamesh repeatedly has dreams and says, "Enkidu, dear friend, I have had a dream." What effect does this repetition have? It creates a main idea that the audience can understand, and it establishes Gilgamesh as the main character. It creates a rhythmic pattern that the audience can follow, and it signals that the audience will hear a new dream. It creates a new structure that the audience needs to hear, and it shows how long Gilgamesh’s journey has been. It creates a vivid image that the audience can see, and it establishes a more realistic way of storytelling.
I think its the last one not 100% sure though