Just noticed that it actually attempts to emulate the NES's 8 sprites per scanline limit, except IIRC on NES the ones pruned will always be the ones on the farthest right and the pruning is done line-by-line instead of entire sprites. So B- for effort I guess.