/Super-Mario-Maker-2

A Scratch Extension getting Super Mario Maker 2 data. Unofficial.

Primary LanguageJavaScriptMIT LicenseMIT

Super Mario Maker 2

A Scratch Extension getting Super Mario Maker 2 Course World data. Unofficial.

Getting Started

Here's how to get started with the Super Mario Maker 2 Extension. This full documentation will contain most information about the Extension and it's uses.

First, you go to the Official Code and click copy!
Next, go to TurboWarp -> Add an Extension and you should see this screen: image
You want to click on TurboWarp and click Custom Extension: image
Once clicked, go to the Text tab and paste the code. NOTE: Make sure you click the "Run Extension without Sandbox" or else it won't work! image
If you see the tab in the left toolbar, it means that the extension worked!



Now let's move onto the blocks!

Blocks

There are many blocks to play around with, but let's go over some things first!
If you ever get this message, Click Allow.
image

Level Data Blocks

The first block you'll most likely see is this block:
image
If you click on it, you'll get the data of the Level by its Level ID. Check out MakerCentral and put any code you want to see!

Secondary Blocks

Here are the list of booleans that will return true or false depending on the level ID
image

Level Status Code is Successful? Block

The block will return true if the Level has been fetched. It will return false if it's an invalid Level ID.

Level has Clear Condition? Block

The block will return true if the Level has a Clear Condition e.g. Reach the goal after grabbing X coins.

Level is Uncleared? Block

The block will always return false unless the Level has no World Record, making it uncleared.

Get Level Reporter

image
This reporter will return a value depending on the dropdown. Here are all the dropdowns and their descriptions:

title - Get's the level title
description - Get's the level description
author - Get's the level author
courseid - Get's the Level's ID.
uploaded - Upload Date of the Level
gamestyle - Gets the Level Gamestyle. LIST OF GAMESTYLES: SMB, SMB3, SMW, NSMBU, SM3DW
theme - Get's the Level's theme.
difficulty - Get's the Level's difficulty. LIST OF DIFFICULTIES: Easy, Normal, Expert, Super Expert
tags - Get's the level's tags.
comments - Get's the amount of comments in the level
likes - Get's the amount of likes in the level
clearrate - Get's the clear rate percentage. Note: If the level returns 0%, that doesn't mean it's uncleared!
image - Get's the image URL of the Level
worldrecord - Get's the World Record holder of the Level
clear condition - Get's the level's clear condition. If there is none, it will return nothing.

Note

The Reporter will return false for everything when an Invalid Level ID is set.

When Level ... hat

This hat block works similarly to the booleans but in a hat block. Note that this block is only supported in unsandboxed extensions

User Data Blocks

The blocks act similar to the Level Data Blocks but they have more usage. Similar to the Level Data Blocks, to get the data, click on the block below:
image
If you want to search for users, please visit MakerCentral

Secondary Blocks

List of Blocks in the Category

User Status Code is Successful? Block

image
This block acts similarly to the Level Status Code block but for Maker IDs!

Get User Reporter

Similar to the Get Level reporter, it will return a value depending on the dropdown. Here are all the dropdowns and their descriptions:

Important

This list is very long. If you do not want to read it, please skip it.

region - Get the Maker's region
country - Get the Maker's country
name - Get the Maker's name
last active - Get the Maker's last online date
mii image - Get the Maker's Mii Image
pose name - Get the Maker's pose name
hat name - Get the Maker's hat name
shirt name - Get the Maker's shirt name
pants name - Get the Maker's pants name
courses played - Get the Maker's amount of Courses that they Played
courses cleared - Get the Maker's amount of Courses that they Cleared
courses attempted - Get the Maker's amount of Courses that they Attempted
courses deaths - Get the Maker's amount of Courses that they died
likes - Get the Maker's total amount of likes
maker points - Get the Maker's Maker Points
endless easy highscore - Get the Maker's Endless Easy Highscore
endless normal highscore - Get the Maker's Endless Normal Highscore
endless expert highscore - Get the Maker's Endless Expert Highscore
endless super expert highscore - Get the Maker's Endless Super Expert Highscore
versus rating - Get the Maker's Versus Rating
versus rank - Get the Maker's Versus Rank (Max: S+)
versus won - Get the Maker's Versus levels they won
versus lost - Get the Maker's Versus levels they lost
co-op plays - Get the Maker's Co-Op plays
co-op clears - Get the Maker's Co-op Clears
first clears - Get the Maker's amount they First Cleared on a stage
world records - Get the Maker's amount they hold the World Record on a Stage.
super world clears - Get the amount of Super World Clears the Maker has.
uploaded levels - Get the number of levels the Maker uploaded
tags enabled - See if tags can be edited on their Stages
comments enabled - See if they have comments enabled
employee - See if the Maker is a Nintendo Employee

Level Image Render

This block gets the Level Thumbnail and puts it as a costume in your sprite!
image
The block can be a bit buggy. If there is a problem with the conversion, please send an issue.

Ninji Speedruns Data

DISCLAIMER: The Ninji Speedruns by Nintendo have been discontinued - The data will be the same.
This category gets Ninji Speedruns Data.

Get Latest Ninji Speedruns Block

This block gets the latest Ninji Speedruns.
image

Ninji Speedruns Status Code is Successful? Block

This block acts similarly to the User and Level Status Block.
image

Get Ninji Speedrun by Index Block

image
This block gets the Ninji Speedrun by Index. There are 22 Ninji Speedruns currently.
Index Number 1 will give you the latest Ninji Speedrun.
Here are all the dropdowns for the reporter:

name - Get the Speedrun Name
description - Speedrun Description
upload date - Speedrun's Upload Date
game style - Speedrun's Game Style
theme - Speedrun's Theme
end date - Speedrun's End Date
clear condition - Speedrun's Clear Condition

Beta Blocks

These are currently experimental blocks and may not be in the future update. Please do not use them in your projects as they might be hidden forever in the palette.

That's a wrap!

That's it for the Super Mario Maker 2 Extension Documentation. If you liked the Extension, please give it a star and follow me on Scratch!

Next Updates...

There will be updates, betas, and more in the official Scratch Forum

Bugs, Improvements, Feedback?

You can share your reports on this GitHub repository or the Scratch Forum.