From the Super Mario Wiki
Ads keep the MarioWiki independent and free :)
Prior to the start of the level, Ludwig summons the other Koopalings, and decides that if Captain Goomba is indeed the one who led his minions this far due to his indispensable loyalty to Bowser, then he and his squad should prove his worth against the Koopalings. The Goomba Squad battles Mechakoopas, Lakitus, Fly Guys, all Magikoopa colors, and all of the Koopalings themselves. After the test battle, Ludwig, though hesitant to admit it, confirms that his test was indeed a success, and that Captain Goomba had indeed been an effective leader. Together, the Koopalings and the Goomba Squad go out to face Fawful.