Press X, Y, and B to change the icons in the first, second, and third boxes respectively at the vs. match-up screen. The numbers in the following list indicate the number of times each button is pressed. After the icons have been changed, press the D-pad in the indicated direction to enable the code.