When you get to the big tree at the end don't give it a berry instead, in the top left hand corner is Return to home, press that, go back home and run it again. Do this 3 times, after that, no more pokemon or items will show up, so then just give the tree your berry and pick one of the pokemon...