I have started working on a game called "The Cave". You are a snake that took refuge from the rain in a cave. You wake realizing you are lost, and have no idea how to get out. That's the basis of my game. I put it on the home screen for portability issues, as I use a TI-84 CSE, and have no way to test on other devices. However, I'm new to the TI-Basic language so I need a little help here and there. Here is my question.
I want to check for a specific 'tile' loaded from Matrix[A]. I then want a number to be added to Str0 that will later be used to display the number of keys collected. Here's what I have came up with, but it has a "DATA TYPE" error when I step on the tile.
"20->Str0 //Representing lvl 2, 0 keys //Some Code If [A](E,F)=4:expr(Str0)+(1+expr(sub(Str0,2,1->Str0
Thanks in advance for any help or even attempt to help, anything is much appreciated! :)