I have an inventory system set-up with an Array where X = Item Amount & Y = Item ID.
There is 50x and 2y.
The problem is I don't want to have to make 50 events to check each and every slot in the Array on the Y axis to just find one id.
I know currently I could do it like
inventory compare at X Y (1,1) = 1 DO such and such
inventory compare at X Y (1,2) = 1 DO such and such
But that is extremely tedious does anyone know of a better way to find IDs inside an array?