Flags had been typically used as rallying features at some stage in battles; soldiers would acquire around their colours for morale
https://maps.app.goo.gl/SutkQNUWerUA3yVN8
Flags have been on occasion used as rallying aspects at some point of battles; infantrymen could accumulate around their hues for morale aid when faced with overwhelming odds.