For y = 0 while y < document height
Select active layer row y copy to clibboard, Paste in new layer. Transform current layer layer rotate 180 about center, merge down.
y = y+9
Where should be the rotation point?
They wrote flip, 180 I would think that would mean rotate about the center of the row. If you make a layer then the layer center.
180% should be 180°