getComparatorOutputWorkaround

Computes the comparator output based on the screen's inventory.