There seems to be an error with updating arrays/initialization in Game Maker studio. I have run into this problem before, so it is not just a weird one-off bug.
I created an array in a creation event of an object a while ago. I initialized values for variable_name through variable_name. Today, I initialized values for variable_name and onwards in normal fashion (variable_name = val).
My object uses variable_name and on in the draw event, but gives me an array out of bounds error, saying the variable is only defined from 0 to 6. I can circumvent this error if I initialize the array in the draw code before using it instead of in the create event, and my code is correct.
What is the issue here?