Add this in at the beginning:
C=0
FOR I=1 TO LEN(INV[])-1
INC C,INV[I]
NEXT
IF C==0 THEN ?"Nothing in your inventory."
So that it shows a message when your inv is empty.
Add this in instead of ?"1-WOOD :";blahblah[blah]
IF INV[1]>0 THEN ?"1-WOOD :"INV[1]
so that it only shows up when you have anything of that material.
Equations MUST always, no matter what, be equal. Otherwise, they are inequations, which are never equal.
12 = 12
What you mean is a comparison.
Comparisons include both equations and inequations.
They can be true or false.
[12 = 12](12 Equals 12)TRUE
[12 < 13](12 is Less than 13)TRUE
[12 < 12](12 is Less than 12)FALSE
[12 != 13](12 Doesn't equal 13)TRUE
[12 != 12](12 Doesn't equal 12)FALSE
I then check while the screen is not touched if elements are those in any recipe, and if they are, I check if they are colliding. If so, I delete both and make a new sprite with the resulting element type.
I check for ONLY the first frame of when the screen is touched, then in that frame I get the first sprite that contains the cursor coords.
After that, I get the offset between my cursor and the sprite position.Then for the rest of the time that the screen is touched, I move the sprite to the cursor plus the offset I collected before.When I lift the stylus from the screen, I reset everything.