Okay, the game uses the [A] matrix and each level a new component is added (for instance, the first level all you have to do is move a "+" to the "*", but later on there are "O"s that you can't step on, walls (Xs), trigger switches that turn certain "O"s on or off, teleport spaces, and now I'm trying to add in blocks that you can push. I'm setting the blocks that you can push to "10" spaces (Walls are one). G=the Getkey. A,B is the location of the +, and the matrix is an 8 by 16. My calculator is an old TI-82 one (it got rented to me for school).
So, this is the part I need help on. The first line, last part is the part that gets the error. (I know its not optimized):
:If G=26 and [A](A,B+(B<15)=10 and abs ([A](A,B+2(B<15))-5.5)≠4.5:Then :10→[A](A,B+2):0→[A](A,B+1) :Output(A,B+1," B :End
This gets repeated with minor changes to account for moving up/down and moving left.