A magmalyzer is rarely found attached to wild Magby. In order to encounter wild Magby, you must have already obtained the National Dex, and you must have Leaf Green plugged into your DS as well as the DP cart. When these two conditions are met, wild Magby can be found in Stark Mountain and Route 227.
Hope that cleared things up. Topic closed before it becomes a spam-vector.