Flags were commonly used as rallying aspects at some point of battles; soldiers could bring together round their colorings for morale
https://maps.app.goo.gl/izr7pjimGdS52VB1A
Flags were once in a while used as rallying points all over battles; infantrymen would gather around their colours for morale make stronger when confronted with overwhelming odds.