Flags were generally used as rallying features at some point of battles; soldiers could assemble round their colorations for morale
https://maps.app.goo.gl/izr7pjimGdS52VB1A
Flags were on occasion used as rallying factors throughout the time of battles; squaddies might collect round their hues for morale improve when confronted with overwhelming odds.