This is easy but very time consuming
Get 2 of any kind of ds.
Have at less 2 copies of either of Diamond, Pearl, or Platinum or one of each.
Build secret bases right next to each other for easy access and keep a straight way path to the flag.
Steal the flag 50 times and your done.
This took me sometime but in the end its worth it I guess
Source did this couple of times