Most Nintendo DS games, including Animal Crossing: Wild World, don't have built-in cheat codes.
To enter cheats, you'd typically need an Action Replay device. That said, I wouldn't recommend it, since using one can potentially damage your game or your DS. It's usually safer to enjoy the game as intended rather than risk your hardware for a shortcut.