Flags had been normally used as rallying factors at some point of battles; soldiers could bring together around their colors for morale
https://veloriftlabs.com/s/KFyGwyPeMTj6tYEXgeePJ
Flags were frequently used as rallying issues all through battles; soldiers would gather round their colors for morale strengthen when faced with overwhelming odds.