I'm super new to this and mostly testing things out but I've run into a bit of a snag I hope someone can help me out with.
I'm working with a mapArray currently, and I'm trying to make it so that if the player gets around a certain point, a description shows up. An example is this-
[[0,0,0,0,0,0,0,0,0,0,0],
[0,1,1,1,1,1,1,1,1,1,0],
[0,1,1,1,1,1,1,1,1,1,0],
[0,1,1,1,1,3,1,1,1,1,0],
[0,1,1,1,1,1,1,1,1,1,0],
[0,1,1,1,1,1,1,1,1,1,0],
[0,0,0,0,0,2,0,0,0,0,0]]>>
I have it to where the text shows up when they get in front of the 3 (as wanted).
Now, I have something like this-
<<if $positionX is 5 and $positionY is 4>>
<<set $text to "Blah blah.">>
<</if>>
But, that leaves mutiple other spots around it open. Do I really have to do 8 different $positionX and 8 $positionY's? or is there a cleaner way?