Flatten do_sprite_evaluation().

Improves readability a bit.