^ There was only one line that was changed between the male and female protagonists with Lillie in Sun and Moon, which was the Exeggutor Island rain cutscene. If the protagonist is male, she say that when she becomes a trainer, she'd like to travel together with them. While if the protagonist is female, she simply says that she wants to learn all of the things they know.
That said, all of the other scenes remained the same so it's really not that big of a deal in my opinion.