Flags have been normally used as rallying issues throughout the time of battles; squaddies might gather around their shades for morale
https://troynvgr831.moderncairn.com/posts/a-collector-s-dream-the-fascinating-world-of-civil-war-flags-3
Flags have been routinely used as rallying aspects at some stage in battles; soldiers would assemble around their colorations for morale make stronger while confronted with overwhelming odds.