the cutting room mirror

Debug Menus

This is a sub-page of Chameleon Twist 2.

To do:
There is still some features that needed to be documented.

Unlike the first game, Chameleon Twist 2 has a lot more features in the debug code leftover in the game. This includes a stage select, object viewer, texture viewer, sound test, and more!

Debug Menu#

Watch on YouTube

By pressing A + Start, you can access the process menu by using the following code:

Version

Gameshark code

Japan

800EAE65 0001

US/Europe

800EC399 0001

Process Menu#

Using the D-Pad, you can cycle through all the features in the process menu. This requires either the "Display Debug Message Screen" or "Display Debug Message Memory" code to fix some of the issues when loading the debug features in-game.

  • Game - Using the left or right D-Pad can cycle through the stage number. However, left and right are inverted. Pressing A will allow you to play on that level.
  • Object - Allows you to view all the game's models and animations.
  • Sprite - Allows you to view all the game's sprites.
  • Texture - Allows you to view all the game's textures.
  • Sound - Allows you to listen through the game's soundtrack and sound effects.
  • Opening - Plays the opening cutscene.
  • Ending - Plays the game's credits.
  • Title - Does not send you back to the title screen, but instead the stage select screen.
  • PackMenu - Sends you to the game pak menu.
  • FirstPack - Makes you a new save, skipping the opening cutscene and selecting Davy. However, this is kind of buggy... Meaning that it will result in the game glitching out and crashing.
  • StageClr - Clears the stage that you are in.
  • Minigame - Same thing as Game, but selects either the training or minigame stages.
  • PackTest - Sends you to another game pak menu, allowing to either read or write your game pak.
  • Game Over - Gives you the game over screen.
  • Intro - Plays the stage's intro.
  • Message - Displays the messages in the game.
  • Config - Sends you to the config menu. This can change either the chameleon, costumes, game region, etc.

Stage Select#

Pressing Z on the process menu will allow you to open up a stage selection, allowing you to go to anywhere you want. However, many of these stage names are misspelled.

Object Viewer#

This menu will allow you to view all the objects and their animations. You can also view the graphics and polygons the model uses.

Common Operations:

  • Z — Switches between normal mode and animation mode.
  • C-Pad Up and Down — Switches the animation number.
  • D-Pad Left and Right — Rotates the model left and right.
  • D-Pad Up and Down — Rotates the model up and down.
  • Control Stick — Moves the model around.
  • L / R — Tilts the model left and right.

Normal Mode Operations:

  • C-Pad Left and Right — Switches between objects.
  • A — Zooms in on the object.
  • B — Zooms out on the object.
  • Start — Reset

Animation Mode Operations:

  • A — Plays the object animation.
  • B — Inceases the animation frame counter.
  • Start — Places the object. Placing a lot of the object may cause issues, such as causing the game to freeze.

Sometimes the object viewer can get glitchy, such as glitching out the models to which some might not play any animation.

Sprite Viewer#

This allows you to see all the in-game's sprites, might get buggy where most of the sprites might get corrupted.

Common Operations:

  • Z — Switches the sprite type between 3DSPR, POLYBORD, 2DSPR, BGFILL, BG, and COPYSPR.
  • Control Stick — Moves the sprite around.
  • Start — Reset

3DSPR / POLYBORD / 2DSPR / BGFILL / BG / COPYSR:

  • C-Pad Left and Right — Switches between sprites.
  • C-Pad Up and Down — Switches the sprite number.

3DSPR / POLYBORD / 2DSPR:

  • D-Pad Left and Right — Rotates the sprite left and right.
  • D-Pad Up and Down — Rotates the sprite up and down.
  • L / R — Tilts the sprite left and right.

3DSPR / POLYBORD:

  • A — Zooms in on the sprite.
  • B — Zooms out on the sprite.

COPYSPR:

  • C-Pad Up and Down — Switches the animation number.
  • Hold A — Plays the sprite animation / Continuous sprite switching .
  • B — Inceases the sprite frame counter.
  • Start — Places the object. Placing a lot of the object may cause issues, such as causing the game to freeze.

Texture Viewer#

Views all of the texture in-game.

Controls:

  • C-Pad Left and Right — Switches between textures.
  • D-Pad Left and Right — Rotates the texture left and right.
  • D-Pad Up and Down — Rotates the texture up and down.
  • Control Stick — Moves the teture around.
  • L / R — Tilts the texture left and right.
  • Start — Reset

Sound Test#

Allows you to listen to the music and sound effects that are in the game.

Controls:

  • C-Pad Left and Right — Switches the selected sound.
  • A — Plays sound.
  • B — Stops sound.
  • Analog Up and Down — Changes the pitch of the sound.
  • D-Pad Left and Right — Switches the selected music.
  • D-Pad Up — Plays music.
  • D-Pad Down — Stops music.
  • Z — Switches between mono or stereo.

Controller Pack Test#

Controls:

  • C-Pad Left and Right — Switches controller pak data.
  • A — Load Data.
  • B — Writes the loaded data. If it's not loaded, it will erase the data.

PackMenu#

This allows you to check and erase save data on the game pak.

Message Test#

Allows you to see all and read through all the messages in-game.

Controls:

  • C-Pad Left and Right — Switches between messages.
  • C-Pad Up and Down — Switches the message numbers.
  • A / B — Change message size.
  • Control Stick — Moves the message around (Up and down are inverted.).
  • Z — Switch between normal or proportional font.
  • Start — Grows the message faster.

Changing the game's region through the config menu can change the language between English and Japanese.

Config#

To do:
There are still features that are left undocumented. Find out what these features do.

This changes the game's settings, allowing you to change chameleons, costumes, game region, etc. D-Pad Left and right are inverted though.

  • Chame - Changes the player's chameleon.
  • Costume - Changes the chameleon's costume.
  • Lang - Changes the game region. It even allows you to play the international version early in the Japanese version.
  • Pause Non - When enabled, the pause menu will be gone. Instead will freeze the game until unpaused.
  • Komaokuri - When enabled with "Pause Non", pressing R will allow you to advance the game's frames.
  • CameraRot - ???
  • InitStage - ???
  • InitArea - Specify the area number at the start of the stage (Kind of Buggy).
  • Info Disp - Display the game's info.
  • Rcp Meter - ???
  • Area Box - ???
  • Hit Box - ???
  • Timer Disp - Displays a timer at the bottom.
  • No Sound - Removes the game's sound.
  • Ninjin - Have all the carrots.
  • MemCheck - ???
  • Area Warp - Enables / Disables area warp mode.

Area Warp Mode#

This can be enable in "Config" found in the process menu. It's pretty useful for exploring through the entire game's stages.

Controls:

  • Control Stick — Moves the player around the area.
  • D-Pad Up and Down — Changes the player's y-coordinates.
  • D-Pad Right — Teleports the player to a different area in a stage.
  • L — Switches the game's camera.

Debug Message Screen Display#

This prints debug messages in the screen by using the following code:

Version

Gameshark code

Japan

810C16B8 0000
D1207448 4947
8120744A 0000
D1206BDC 756D
80206BDF 0000
D1206BB2 616D
80206BB5 0000
D1206C02 6E67
81206C04 0000
D1206DE4 696E
81206DE6 0000
D1206E0E 636B
81206E10 0000
810D4080 3C02
810D4082 8018
810D4084 2401
810D4086 0008
810D4088 00A1
810D408A 0019
810D408C 0000
810D408E 2812
810D4090 00C1
810D4092 0019
810D4094 0000
810D4096 3012
810D4098 AC45
810D409A 579C
810D409C AC46
810D409E 57A0
810D40A0 3C01
810D40A2 3F00
810D40A4 AC41
810D40A6 57B4
810D40A8 AC41
810D40AA 57B8
810D40AC 2401
810D40AE 0004
810D40B0 A441
810D40B2 5794
810D40B4 2401
810D40B6 0001
50000404 0000
810D40B8 A441
810D40BA 57A6
810D40BE 5796
810D40C2 57B0
810D40C6 57B2
810D40C8 A440
810D40CA 57E0
810D40CC A440
810D40CE 57BC
810D40D0 8041
810D40D2 57A8
810D40D4 5020
810D40D6 0003
810D40D8 2001
810D40DA FFFF
810D40DC 03E0
810D40DE 0008
810D40E0 0000
810D40E2 0000
810D40E4 AC41
810D40E6 57A8
810D40E8 03E0
810D40EA 0008
810D40EC 0000
810D40EE 0000
810D6050 0005
810D6052 2021
810D6054 0801
810D6056 4368
810D6058 0000
810D605A 0000
810D68E0 0800
810D68E2 8C00
810D68E4 2402
810D68E6 0080
81023000 3C04
81023002 8018
81023004 2001
81023006 FFFF
81023008 AC81
8102300A 57A8
8102300C AC81
8102300E 57AC
5000040C 0000
81023010 30A1
81023012 0008
8102301E 0004
8102302A 0002
81023036 0001
5000040C 0000
81023014 5420
5000040C 0000
81023016 0001
5000040C 0000
81023018 A082
8102301A 57A9
81023026 57AB
81023032 57AD
8102303E 57AF
81023040 03E0
81023042 0008
D1201A66 CD1F
81201A6E 8C12
D1206436 CCE4
8120643E 8C12
D1200B9A A6A4
81200BA2 8C12
D12025EA CCE4
812025F2 8C12
81023048 27BD
8102304A FFF0
8102304C AFBF
8102304E 000C
81023050 0C00
81023052 A627
81023058 0C00
8102305A 9DCC
8102305C 2404
8102305E 0013
81023060 3C04
81023062 8020
81023064 0C00
81023066 9FE6
81023068 8C84
8102306A AAE8
8102306C 8FBF
8102306E 000C
81023070 03E0
81023072 0008
81023074 27BD
81023076 0010
81051540 0800
81051542 8C1E
81023078 9426
8102307A AF60
5000030C 0000
8102307C 2407
8102307E 0003
8102308A 0006
81023096 000C
81023080 10C7
81023082 0008
81023084 2402
81023086 0070
8102308C 50C7
8102308E 0005
81023098 50C7
8102309A 0002
8102309C 2402
8102309E 00A0
810230A0 0801
810230A2 4552
810230A4 8C87
810230A8 A4E2
810230AA 0002
810230AC 0801
810230AE 4552

Just because this is forced, it may result into the game freezing.

Debug Message Memory Display#

Fixes the debug messages that are printed in the memory, making it easier to read. This can be enabled by using the following code:

Version

Gameshark code

Japan

810D6FE2 0000
810D690A 00FF
D1202A20 2405
81202A22 003D
D1202C04 2405
81202C06 003D

Although it's a hassle, this method is less likely to cause the game to freeze.