To get the legendary Master Sword in Animal Crossing: Wild World, you'll need a bit of patience and a lucky break from Tom Nook.
The trick is to wait until Tom Nook stocks it as a spotlight item in his shop. These special rotating items appear only occasionally, so keep checking his store regularly. When the Master Sword finally shows up as the featured item, grab it before it rotates out again.