Name: Super Mario Bros. 3 Console: Nintendo Version 2.1 05/July/2025 Written by: samurai goroh samuraigoroh@gmail.com ******************************************************************************* ___ _ _ ___ ___ ___ _____ __ ___ _ ___ | __) | | | | | . | | __) | _ | | | / \ | _ | | | | | |__ | | |_| | | __| | _) | _| | | | | | ^^ | | _| | | | | | (___| \___/ |_| |___) |_\_\ |_|_|_| |_/\_| |_\_\ |_| |___| ___ ___ ___ ___ ____ | . ) | _ | | | | __) (___ | | < | _| | | | |__ | _ (__ | |___) |_\_\ |___| (___| |_| (____| ******************************************************************************* 1.0 Flags 2.0 Hex Numbers 3.0 Bitwise Values 4.0 Lists 4.1 Power Up 4.2 Icon ------------------------------------------------------------------------------- SORTED CODES ------------------------------------------------------------------------------- 000A XX Temp. used to adjust main character sprite vertical position 0012 XX Screen - X coord (high byte) 2.0 0013 XX Screen - Y coord (high byte) 2.0 0014 XX Flag - Returns to map (beats level); will NOT break locks or build bridges 0015 XX Timer - Card Timer 2.0 0016 XX Flag - Black & White mode 1.0 0017 XX Controller 1 input 01 Right 02 Left 04 Down 08 Up 10 Start 20 Select 40 B 80 A 0075 XX Mario - Y coord (high byte) Also horizontal position in levels measured in units of 8 blocks wide. 0076 XX Enemy 5 - coord X (high byte) 0077 XX Enemy 4 - coord X (high byte) 0078 XX Enemy 3 - coord X (high byte) 0079 XX On map screen horizontal position. Multiples of 20, unless in boat. If multipaged, E0 shifts screen right, then 60, then D0, then 50. Shifting back to the left occurs at 20, then A0, then 20, then A0. 007A XX Enemy 1 - coord X (high byte) 0083 XX Koopalings Hp? 0087 XX Mario - X coord (high byte) 0090 XX Mario - X coord 0091 XX Enemy 5 - coord X 0092 XX Enemy 4 - coord X 0093 XX Enemy 3 - coord X 0094 XX Enemy 2 - coord X 0095 XX Enemy 1 - coord X 00A2 XX Mario - Y coord 00AB XX Mario - Relative X coord 00B0 XX Enemy # - Relative X coord? 00BD XX Mario - X speed (signed) 00BE XX Enemy # - X speed (signed) 00CF XX Mario - Y speed (signed) 00D0 XX Enemy # - Y speed (signed) 00D8 XX In the air flag 00E5 XX Type of block Mario is standing on 00EC XX Mario - Sprite frame number? 00ED XX Mario's Power Up 4.1 00EE XX Mario - Sprite frame offset? 00FC XX Screen - Y coord 00FD XX Screen - X coord 0100-01FF CPU Stack 0200-02FF Sprite Data 0376 XX Pause flag 03DD XX P meter (0x7F = Full) 03E8 XX Item selector - X coord 03E9 XX Item selector - Y coord 03F2 XX Overworld - Starman flag 03F3 XX Mario's Icon in overworld 4.2 0435 XX Card Matching game - Misses Remaining 0515 XX Countdown timer for P-meter? 0516 XX Countdown timer for multi-coin blocks 051B XX Countdown timer for enemies? 051C XX Countdown timer for enemies? 0552 XX Invulnerable Frames after getting hit 0553 XX Star Power invincibility frames 0559 FF Auto-control Character 055A XX Auto-control Mode 055D XX 8 Frame Timer 056E XX Flight Timer? 0575 XX Swimming flag 0577 XX Kuribo's Shoe flag 0578 XX Mario's form (low byte=power, high byte=special power) 0588 XX Backstage timer 05EE XX Timer - X00 05EF XX Timer - 0X0 05F0 XX Timer - 00X 05F1 XX Clock timer 05F3 XX Item Menu flag? 05F4 XX Stomp counter 0715 XX Score x10 0727 XX World (0 based) 0736 XX P1 - Lives 0737 XX P2 - Lives 073A XX World (0 based) duplicate? 0746 XX Mario's Icon in overworld? 4.2 074D XX Mario - X coord subpixel 075F XX Mario - Y coord subpixel 0781 XX RNG (72 bits LFSR) 7CFA XX Boss HP 7D00-? World Completition 7D80-7D9B P1 - Inventory 7D9C XXXXXX P1 - Cards 7D9F XXXXXX P1 - Score x10 7DA2 XX P1 - Coins 7DA3-7DBE P2 - Inventory 7DBF XXXXXX P2 - Cards 7DC2 XXXXXX P2 - Score x10 7DC5 XX P2 - Coins -------------------------------------------------------------------------------- Description -------------------------------------------------------------------------------- 1.0 Flags +--+---+ |00|Off| |01|On | +--+---+ 2.0 Hex Numbers +----+----+-----+ +--------+----+-----+ +----------------+----+-----+ | Bin| Hex| Dec | | Bin | Hex| Dec | | Bin | Hex| Dec | +----+----+-----+ +--------+----+-----+ +----------------+----+-----+ |0000| 0| 0| |00000000| 00| 0| |0000000000000000|0000| 0| |0001| 1| 1| |00010000| 10| 16| |0001000000000000|1000| 4096| |0010| 2| 2| |00100000| 20| 32| |0010000000000000|2000| 8192| |0011| 3| 3| |00110000| 30| 48| |0011000000000000|3000|12288| |0100| 4| 4| |01000000| 40| 64| |0100000000000000|4000|16384| |0101| 5| 5| |01010000| 50| 80| |0101000000000000|5000|20480| |0110| 6| 6| |01100000| 60| 96| |0110000000000000|6000|24576| |0111| 7| 7| |01110000| 70| 112| |0111000000000000|7000|28672| |1000| 8| 8| |10000000| 80| 128| |1000000000000000|8000|32768| |1001| 9| 9| |10010000| 90| 144| |1001000000000000|9000|36864| |1010| A| 10| |10100000| A0| 160| |1010000000000000|A000|40960| |1011| B| 11| |10110000| B0| 176| |1011000000000000|B000|45056| |1100| C| 12| |11000000| C0| 192| |1100000000000000|C000|49152| |1101| D| 13| |11010000| D0| 208| |1101000000000000|D000|53248| |1110| E| 14| |11100000| E0| 224| |1110000000000000|E000|57344| |1111| F| 15| |11110000| F0| 240| |1111000000000000|F000|61440| +----+----+-----+ |11111111| FF| 255| |1111111111111111|FFFF|65535| +--------+----+-----+ +----------------+----+-----+ 3.0 Bitwise Values 4.0 Lists 4.1 Power Up +--+----------------+ |00| Normal | |01| Super | |02| Fiery | |03| Leaf | |04| Frog Suit | |05| Tanooki Suit | |06| Hammer Suit | +--+----------------+ 4.2 Icon +--+----------------+ |00| Normal | |01| Super | |02| Fiery | |03| Leaf | |04| Frog Suit | |05| Tanooki Suit | |06| Hammer Suit | |07| Cloud | |08| P-Wing | +--+----------------+ |09| Star | |0A| Anchor | |0B| Hammer | |0C| Whistle | |0D| Music Box | +--+----------------+