Technically, Magcargo CAN get Heat Wave through breeding (see White Cat's 'Dex), but there's no possible legal breeding chain for getting Heat Wave onto it. So technically, that Magcargo set is illegal. Obviously the programmers overlooked that fact when creating the character movesets.