If you appreciate the work done within the wiki, please consider supporting The Cutting Room Floor on Patreon. Thanks for all your support!

Super Mario Advance/iQue Debug Build

From The Cutting Room Floor
Jump to navigation Jump to search

This is a sub-page of Super Mario Advance.

A build of Super Mario Advance for the iQue GBA can be compiled from the partial source code leaked in 2020. According to the readme file, flags can be set to enable debug builds:

set MARIO_USA_DEBUG = 1 in m_game.h.
set COSU_SEL_DEBUG = 1 and YOSHI_DEBUG = 1 in um_select.c.

In addition, other flags can be set such as:

client_main.h - DEBUG = 1
m_main.h - DEBUG = 1
m_classic_play.c - CLASSIC_SELECT_DEBUG = 1
m_game_sub.c - BATTLE_SELECT_DEBUG = 1
m_score.c - SCORE_DEBUG = 1
ua_game.c - DEBMETER = 1

An xdelta patch to enable these features can be found here:

Download.png Download Super Mario Advance iQue Debug Patch
File: Super Mario USA Chaoji Maliou 2 (China) Full Debug xdelta Patch.zip (info)


World Select Menu

Allows you to select a level to start on. Highlighting different levels seems to leave a "X" next to the menu entries.

COSU_SEL_DEBUG
Super Mario Advance (China) Full Debug - COSU SEL DEBUG.png

Controls

After selecting a file, when the background turns to black and before Birdo winks:

  • Press and hold Select to unlock all levels.
  • Press and hold Start + Select to unlock all levels and Yoshi eggs.

NOTE: Keep holding until the character select appears.

YOSHI_DEBUG
Super Mario Advance (China) Full Debug - YOSHI DEBUG.png

While in a level:

  • Press L + R to enable Frame Advance mode. The sky should turn a solid color. Press R to advance 1 frame.
  • Press Select to instantly heal as well as enable Free Movement mode.
  • Hold R or L to show an overlay which acts as a performance meter.

While in Free Movement mode:

  • Press R to pull a key from the ground.
  • Press L to pull a potion from the ground.

NOTE: Doing this can sometimes "dig through" and destroy tiles of the terrain when items spawn.

MARIO_USA_DEBUG DEBMENU
Super Mario Advance (China) Full Debug - MARIO USA DEBUG.png
Super Mario Advance (China) Full Debug - DEBMENU.png

Mario Bros

There appears to be score counters present for 4 players.

BATTLE_SELECT_DEBUG / SCORE_DEBUG
Super Mario Advance (China) Full Debug - BATTLE SELECT DEBUG, SCORE DEBUG.png
  • Press Select to skip to the next level.
  • Pressing R + L seems to take you back to the Mario Bros. title screen.