the cutting room mirror

iQue Debug Build

This is a sub-page of Super Mario Advance.

'This page or section details content from theJuly 2020 Nintendo Leak.'''

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:

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

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

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

Mario Bros#

There appears to be score counters present for 4 players.

BATTLE_SELECT_DEBUG / SCORE_DEBUG

  • Press Select to skip to the next level.
  • Pressing R + L seems to take you back to the Mario Bros. title screen.