It is the third Mario RPG , after Super Mario RPG for the SNES and Paper Mario for the Nintendo 64 . However , it is the first game out of three that stars both Mario and Luigi . The game is the third Mario role-playing game , following Super Mario RPG : Legend of the Seven Stars for the SNES , and Paper Mario for the Nintendo 64 .