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

Proto:Pokémon Ultra Sun and Ultra Moon

From The Cutting Room Floor
Jump to navigation Jump to search

This page details one or more prototype versions of Pokémon Ultra Sun and Ultra Moon.

How about a nice leek in this trying time?
This page or section details content from the April 2020 Nintendo Leak.
Check the April 2020 Nintendo Leak category for more pages also sourced from this material.
To do:
  • Investigate and document the debug menus.
  • Investigate the leaked incomplete source code archive which leaked October 17 2020 (on a Development page).
  • Determine what the client is attempting to connect to.

Four builds of Pokémon Ultra Sun were leaked on April 27-28, 2020. Upon booting these, a gray screen appears showing a client waiting to receive data. After decrypting the .cia files, the code.bin file can be patched to allow for more functionality:

File name Build date Patch info
000400000001A8A00.cia Aug 9 2016 At 0x230258, change bytes 14 D6 to D8 91
000400000001A8A00.1040.cia May 23 2017 At 0x230258, change bytes 14 E6 to D8 A1
000400000001A8A00.2080.cia Jul 25 2017 At 0x30cdc8, change bytes 4C D8 to EC 91
000400000001A8A00.3120.cia Dec 5 2017 At 0x30cdc8, change bytes 4C D8 to EC 91

After patching the file, it can be loaded as an exefs mod. The builds will now boot to the Pokédex, press B which will exit to the main debug menu.

Additionally, you can usually bring up a secondary debug menu on the bottom screen by pressing the X button which shows different options depending on the context, and pressing Select in some cases brings you back to the main debug menu.

Boot Menu

Might be waiting a long time...

When these builds are launched as-is with no patch, a client attempts to establish a connection.

Debug Menu

Many options to choose from

Many different options are available, some opening a submenu with even more options. Some options don't function in one build, but do in another, and some options do nothing or crash the emulator.


Default spawn location and debug menu opened

Selecting this option spawns the character on Route 1. Opening the debug menu with X shows various options for warping to maps, camera manipulation, executing scripts, and managing Pokémon and items. Pressing X again to close the debug menu will bring up the normal menu. Unfortunately, after getting into a battle, the game will reboot when the battle ends.

Title Screen

Fairly basic compared to final

Can be seen by selecting Uchida > タイトル in the main debug menu. Has a 3D Solgaleo model at the bottom who just idles. The title has the non-Ultra Pokémon Sun logo.

Pokémon Model Viewer

Primarina front-and-center

After decrypting 000400000001A8A00.3120.cia to .3ds, the Pokémon Model Viewer can be loaded by replacing the original value 30402DE9 in the file at 0x31AC84 with A04501EA in a hex editor. When booting, a menu to view each Pokémon in the PokéDex appears.

The translation for the controls, as well as their purpose are as follows:

Japanese Translation Description
しゅるい Type Allows the user to search a Pokémon. The red buttons on the sides allow you to go to the next Pokémon by number.
ナンバー Number Displays the Pokémon's number in the PokéDex.
フォルム Form Switches the model to a certain form of the Pokémon (ex: Mega Evolved form) when tapping the side buttons.
せいべつ Sex Displays the Pokémon's gender. Tapping the button will swap the gender. The model will correspond to the gender displayed if there are gender variants of the Pokémon.
たまご Egg Puts the Pokémon in an egg when tapped.
おおきさ Size Zooms the camera in or out when pressing the side buttons.
Yオフセット Y offset Changes the Y offset of the camera when pressing the side buttons.
回転 Rotation Rotates the model when pressing the side buttons.

(Source: Unknown who discovered the offsets and values to insert in order to access this menu)