It is not allowed to move a piece back and forth endlessly and after 3 steps one has to move another piece. What if the first of those steps was an attack of another piece instead of a move?
Example
1st) red general from A (E4) takes a piece on B (F4)
2nd) red general from B moves back to A due to threat on left flank
3rd) red changes mind and moves general from A again to B due to threat on right flank
4th) Marshall attacks, is red allowed to move the general from B back again to A? (a 4th move but not if we don't count the first move where a piece was taken.)
Example
1st) red general from A (E4) takes a piece on B (F4)
2nd) red general from B moves back to A due to threat on left flank
3rd) red changes mind and moves general from A again to B due to threat on right flank
4th) Marshall attacks, is red allowed to move the general from B back again to A? (a 4th move but not if we don't count the first move where a piece was taken.)