oh, i forgot to add this earlier: it gives you held items back after the battle in most facilities. in the pike, they don't give it another of the item until after you finish all 14 rooms of a challenge, and in the pyramid, once the item is used it's gone forever.
While this is about the facilities like that. Why is it that on Serebii, in the berrydex it says the petaya is avalible in the battle tower on Ruby and sapphire? because I was told you can't keep items you steal at the facilities or is that just for emerald?