I'm having trouble with Arrays. What I want to do is have it so that for every element, the value of the element is either one or two. The game then spawns a different block depending on if it is one or two. Currently, this doesn't really work--the game spawns 50 of the first block (there are 50 X values) and none of the second. Take a look at this.
What is wrong with this, and how do I fix it? Sorry, I'm just a bit frustrated right now.