You use the PokeBall to bump around the pinball area. In Pokemon Pinball Ruby and Sapphire, there is a Wailmer and a Sharpedo standing by at one side where you can aim your ball to go in their mouths. If the PokeBall goes in successfully, a window might appear that says "Catch 'Em Mode" and you have around a minute to solve a Pokemon Sillhouette puzzle. If you finish it on time, a Pokemon appears and you can use your PokeBall to catch it by bumping it three times.
Question answered.