For those who haven't played Dream Team yet you should know...
THE X AND Y BUTTONS SERVE NO PURPOSE WHATSOEVER
because they were used to control younger mario and luigi in Partners in time
to control Bowser in Bowser's inside story
But in Dream Team, they're nothing but secondary A and B buttons!