have these avocados gone bad?
Your friend is right. The avocado is not spoiled or in any way dangerous, just changed during storage. You can eat it without any ill effects.
There are people who would throw food out for cosmetic reasons, you can do that too, if you prefer.