Super Mario RPG: Legend of the Seven Stars/Codes

Inventory codes
Note that you should not open the inventory screen with these codes on. The game will automatically sort your items when you open the inventory screen, thus you may end up overwriting items you hadn't intended to overwrite. A safe way to use these codes is to enable them, save at a save point, turn off the codes and reload the game from your saved file.

Special item modifier codes
Special items are key items like the Rare Frog Coin et cetera. They're stored in a separate menu (in the pause menu, select Special Item).

Hexadecimal
These codes use hexadecimal values. The digits go from 0 to F.

Little endian
These codes are little endian, meaning the least significant digit comes first. So, for example, if you want the decimal value 999, you must set the value of the first code to E7 and the value of the second code to 03.

Spells
The Spell Modifier code uses binary values. This means that not the value as a whole is significant, but the bits that make up one byte. You can use any good calculator to convert binary to hexadecimal values and back.

The binary values are as follows. Simply add them if you want a combination of these:


 * First code:
 * 00000001 = Jump
 * 00000010 = Fire Orb
 * 00000100 = Super Jump
 * 00001000 = Super Flame
 * 00010000 = Ultra Jump
 * 00100000 = Ultra Flame
 * 01000000 = Therapy
 * 10000000 = Group Hug
 * Second code:
 * 00000001 = Sleepy Time
 * 00000010 = Come Back
 * 00000100 = Mute
 * 00001000 = Psych Bomb
 * 00010000 = Terrorize
 * 00100000 = Poison Gas
 * 01000000 = Crusher
 * 10000000 = Bowser Crush
 * Third code:
 * 00000001 = Geno Beam
 * 00000010 = Geno Boost
 * 00000100 = Geno Whirl
 * 00001000 = Geno Blast
 * 00010000 = Geno Flash
 * 00100000 = Thunderbolt
 * 01000000 = HP Rain
 * 10000000 = Psychopath
 * Fourth code:
 * 00000001 = Shocker
 * 00000010 = Snowy
 * 00000100 = Star Rain

You can easily give a character a move he doesn't normally learn (like giving Mario Group Hug). The character's graphics may glitch but otherwise this will work fine. You can even have more than six spells, the screen will then allow you to scroll similar to the item screen.