In some species temperature determines whether an egg develops into male or female. A higher temperature causes a female, a lower temperature causes a male.
In Leonardo's and Raphael's case the temperature was pretty average so they're a bit confused.
Log in to comment