OT friendship isn't changed when it is transferred between generations, so it will be the previous game's value. Generations 3-5 used only one byte for Friendship, so it wasn't really only updated by only the original trainer. There's nothing to flag because it can be legally any value; refer to Bulbapedia if you have questions on how game mechanics like Friendship work.
Generations 6+ have separate stored values for friendship. Hence why only the currently relevant one is displayed (current friendship depends if the OT is handling, or it was transferred to a new handling trainer that is not the OT).