Here is a list of all the cheats of SMBX.
While in the game, type one of these codes to apply it. The level window must be activated, so if the cheat won't work, try clicking inside the Level Window. Please remember that cheating will disable saving.
Debug cheats
These cheats are good for debugging levels and episodes.
- shadowstar - Turns you into Black Mario, you can go through walls in this state.
wherearemycarkeys - Spawns a Key in your hands (use in a Keyhole).
stickyfingers - You can grab any NPC with this (enables Grab All).
moneytree - Coins cound go up very quick, giving you a lot of 1-UPs.
donthurtme - Makes you invincible (enables God Mode).
stophittingme - Hits the player. Can kill you. Useful when you want to be hit or killed without turning the donthurtme cheat off temporarily.
wingman - Makes flying power-ups (Raccoon, Tanooki, Fairy Link, Gold Link) and Yoshis fly without limits.
sonicstooslow - Makes the player run really fast.
ahippinandahoppin - Unlimited jumping, you can jump in the air.
framerate - Shows your framerate on the top-left part of the game's screen. This doesn't turn off the ability to save.
istillplaywithlegos - Resets all Blocks/Tiles in the level.
speeddemon - sets Max FPS on (fast forward).
These cheats spawn the item in question in your Item Stock (the item box). You'll have to catch the grabbable items in the air after dropping them from the box.
- needashell - Spawns a green Koopa Shell in your Item Stock.
needaredshell - Spawns a red Koopa Shell in your Item Stock.
needablueshell - Spawns a blue Koopa Shell in your Item Stock.
needayellowshell - Spawns a yellow Koopa Shell in your Item Stock.
needaturnip - Spawns an SMB2 turnip in your Item Stock.
needa1up - Spawns a 1-up (Extra life) in your Item Stock.
needatanookisuit - Spawns a Tanooki Suit in your Item Stock.
needahammersuit - Spawns a Hammer Suit in your Item Stock.
needamushroom - Spawns a Mushroom in your Item Stock.
needaflower - Spawns a Fire Flower in your Item Stock.
needaleaf - Spawns a Leaf Power-up in your Item Stock.
needanegg - Spawns an empty Yoshi Egg in your Item Stock.
needaplant - Spawns a Toothie in your Item Stock.
needagun - Spawns a Billy Gun in your Item Stock.
needaswitch - Spawns a P-Switch in your Item Stock.
needaclock - Spawns a green Stopwatch in your Item Stock.
needabomb - Spawns an SMB2 Bomb in your Item Stock.
needashoe - Spawns Kuribo's Shoe in your Item Stock.
needaredshoe - Spawns Podoboo's Shoe in your Item Stock.
needablueshoe - Spawns Lakitu's Shoe in your Item Stock.
needaniceflower - Spawns an Ice flower in your Item Stock.
These cheats spawn the item in question in your hands. If you're not holding the run/alt run key, the player will release the item in one second.
- boingyboing - Spawns an SMW Springboard in your hands.
bombsaway - Spawns an SMB2 Bomb in your hands.
firemissiles - Spawns a Bullet Bill in your hands.
powhammer - Spawns a Pow Block in your hands.
hammerinmypants - Spawns a Hammer Brother in your hands, that throws hammers to kill enemies.
rainbowrider - Spawns a rideable Rainbow Shell in your hands.
upandout - Spawns a Propeller Block in your hands.
burnthehousedown - Spawns a Flamethrower in your hands.
These cheats spawn the Yoshi Egg in question in your hands.
- greenegg - Spawns a Green Yoshi Egg in your hands.
blueegg - Spawns a Blue Yoshi Egg in your hands.
yellowegg - Spawns a Yellow Yoshi Egg in your hands.
redegg - Spawns a Red Yoshi Egg in your hands.
blackegg - Spawns a Black Yoshi Egg in your hands.
purpleegg - Spawns a Purple Yoshi Egg in your hands.
pinkegg - Spawns a Pink Yoshi Egg in your hands.
coldegg - Spawns an Ice Yoshi Egg in your hands.
These are the player based cheats.
- 1player - Enables 1-player mode. (Also kills all your clones if used supermario2, supermario4 and up, if there are clones alive).
2player - Enables 2-player mode.
itsamemario - Changes your character to Mario if you're playing as someone else.
itsameluigi - Changes your character to Luigi if you're playing as someone else.
anothercastle - Changes your character to Toad if you're playing as someone else.
ibakedacakeforyou - Changes your character to Peach if you're playing as someone else.
iamerror - Changes your character to Link if you're playing as someone else.
These cheats will make clones of you.
- supermario128 - Makes 128 clones of the player.
supermario64 - Makes 64 clones of the player.
supermario32 - Makes 32 clones of the player.
supermario16 - Makes 12 clones of the player.
supermario8 - Makes 8 clones of the player.
supermario4 - Makes 4 clones of the player.
supermario2 - You can control 2 different characters with this, hold down and press the "Drop item" assigned key to switch playing character.
These cheats only work on the world map.
- imtiredofallthiswalking - Shows you all paths and levels.
illparkwhereiwant - Lets you walk anywhere you want.
Most of these cheats were made just for fun.
- wetwater - The level you're in becomes a water level, meaning you can swim everywhere.
wariotime - Turn all enemies in screen into coins.
captainn - Allows you to stop time by pressing the pause button (Does not work if "Pause" is set on the "Esc" key).
flamethrower - Fire Flower, Ice Flower and Hammer Bro Suit shoots much faster.
fairymagic - Makes your character turn into a fairy.
iceage - Freezes all surrounding enemies.
itsrainingmen - 1-UPs rain.
donttypethis - Just don't.
These cheats have been claimed to exist on some SMBX cheat threads, but they really don't.
- lavaplayer - Makes the player able to swim in lava.
thedoorsunlockednow - Unlocks all the doors.
How to use: add the wanted codes with their values on their own lines. Create a .txt file in the graphics folder for the level and name it after the NPC (if you want to apply codes to Goomba, name the .txt file as npc-1). Example:
playerblocktop=0
nofireball=1
jumphurt=1
score=6
The player would be able to walk on the Goomba, the Goomba would be invulnerable to fireballs, the Player would get hurt on top of it and the Goomba would add 1000 points to the player's total points when killed.
Here's the list of possible NPC codes. When applying 1 or 0, 1 means yes and 0 means no.
gfxoffsetx=[+/- numbers] (moves the graphic in the x direction)
gfxoffsety=[+/- numbers] (moves the graphic in the y direction)
width=[+ numbers] (NPC's width)
height=[+ numbers] (NPC's height)
gfxwidth=[+ numbers] (graphics width)
gfxheight=[+ numbers] (graphics height)
score=[1-12] (score you get by killing: 10 100 200 400 800 1000 2000 4000 8000 1up 2up 5up)
playerblock=[1,0] (makes NPCs act like blocks to the players)
playerblocktop=[1,0] (makes the player able to stand on the NPC)
npcblock=[1,0] (makes the NPC act like a block to other NPCs)
npcblocktop=[1,0] (makes NPCs able to stand on the NPC)
grabside=[1,0] (gives the player the ability to grab NPCs from the side)
grabtop=[1,0] (gives Mario the ability to grab NPC's like shy guys)
jumphurt=[1,0] (if set to 1, the player gets hit from landing on the enemy)
nohurt=[1,0] (if true the NPC doesn't hurt you)
noblockcollision=[1,0] (if true the NPC doesn't interact with blocks)
cliffturn=[1,0] (if true enemy turn on a cliff)
noyoshi=[1,0] (if true you can't eat the NPC)
foreground=[1,0] (if true the NPC is in front of everything)
speed=[+/- numbers] - how fast the NPC moves (the number is what the speed is multiplied by: 0 = no speed, 1 = default, 2 = twice as fast as default, 3 = thrice as fast etc.* Negative values make it move backwards.)
nofireball=[1,0] (if true the NPC can't be killed by fireballs)
nogravity=[1,0] (if true the NPC walks in the air)
frames=[+ number] (sets the number of frames the NPC should have)
framespeed=# - how fast the NPC animates (1-7 is faster than the default speed of ~8 frames per second, 8 is the default speed and 9 or bigger is slower**)
framestyle=[0,1,2] (names the style the frames should switch***)
noiceball=[1,0] (if true enemy can't freeze when an ice ball touches it)
*Speed value clarification:
- Most SMB2 enemies can be made vulnerable to fireballs by applying nofireball=0.
- The donut block and conveyor belt NPCs can be made hurtful by applying nohurt=0.
HIDDEN "THE LAKITUS ARE THROWING LAKITUS!" TAB
This secret The Lakitus are throwing Lakitus! Level Editor tab was one of the new things in the last update of SMBX. It has all the NPCs that the editor couldn't access before, like the NPC projectiles and other miscellaneous stuff. It also has this lesser known ridable airship piece that, while a skillful user may be able to use really creatively, is really glitchy.
Here's a picture of the hidden tab:

The way to find this tab was first revealed to beta testers only, but it was soon found by a regular SMBX user. His way to find the tab is complicated, and I'm going to reveal the actual way now.
- 1. Test the level. You can also do it after you've done the following steps, but it takes less time if you do step 5 in the real time level editor (in the testing mode).
2. Open the NPCs window.

Also, here's what the secret NPCs do (in order):