Flags have been in many instances used as rallying issues at some stage in battles; troopers may collect round their colors for morale
https://maps.app.goo.gl/YRTCu6Kia2JNfCf9A
Flags have been often times used as rallying factors for the period of battles; soldiers would accumulate round their colors for morale aid while faced with overwhelming odds.