Thread:Sylvandyr/@comment-5619126-20121014124324/@comment-5619126-20121108141929

altered:

if ($count == 2 && $parents["Diamond"] == "Diamond" && $color31 == $parents[$color31] ) { echo "two color pool with diamond"; $valid = true; } toif ($count == 2 && $parents["Diamond"] == "Diamond" && $color31 == $parents[$color31] && $color31 != "Diamond" ) { echo "two color pool with diamond"; $valid = true; } So if there are only two colors in the pool and one of the colors in the pool is a Diamond and the single resulting offspring color is also in the pool but not a diamond, then it's a valid match.