编辑以下短文，使其语法更加正确。
原文：Me and him went to the park and played basketball, but he tripped over the ball and hurt he's leg pretty bad.
He and I went to the park and played basketball, but he tripped over the ball and hurt his leg pretty badly.