Forgot that usually both parents have half of their genes inherited, not random- I struggled with coding this so much because how the hell do you make a x / 50% something formula in scratch when you cant use %
You can use the code i geuss but i doubt anyone is making games with creatures and gene mixing-