From the Super Mario Wiki, the Mario encyclopedia
The game's purpose is to tilt the moon to make the devil fall. If done so, the player wins the game. However, if the boy and/or the girl fall(s), the player loses the game.
Names in other languages