all it is doing is checking the variable in the array. there are 28 variables in the array isMap. it only checks if the value is 1 or 0, if it is 0 object is hidden, if variable in isMap is 1, that object is visible. the display["label"+i] is looked as display.label1 which would the object it will make visible or hidden. so all of the objects are from 1-28 at the end. If that makes things more clear.
Recent posts by Degraiver on Kongregate