Flags were mostly used as rallying facets all the way through battles; infantrymen could gather round their colours for morale
https://violetmetric.com/s/lVL6_SfbCtfi-D29H4Naz
Flags were generally used as rallying elements throughout the time of battles; soldiers would gather around their colours for morale assist while confronted with overwhelming odds.