Mario must save the princess and her friends, who were in the cell. And for the salvation he needs to perform all the tasks, opening up each time a new secret passage.