The total number of candies Shelley had before eating some is 50 + 20 = <<50+20=70>>70 candies.
When her friend came over, she brought 2*70 = <<2*70=140>>140 candies.
The total number of candies in the bowl is now 140+50= <<140+50=190>>190 candies.
When they divide this equally between them, each gets 190/2 = <<190/2=95>>95 candies.
When Shelly’s friend eats 10 of her candies, she still has 95-10 = <<95-10=85>>85 candies.
#### 85