shortened that.currMapData.tilesets[i] to tsdata because II hate to read