Jump to content

Debugging features within Pokémon Gold/Silver/Crystal: Difference between revisions

no edit summary
>Torchickens
>Torchickens
No edit summary
 
(10 intermediate revisions by the same user not shown)
Line 1:
{{Debugging summary pages}}
{{Summary page}}
{{Outdated|Missing Pokémon Crystal debug menu information}}
{{Factcheck}}
[[Image:GSCDebug menu2.png|270px|thumb|right|The unused text "Now on DEBUG..." used for MR. CHRONO. It remains in Pokémon Crystal.]]
 
Several unused features have been found within the coding of the final versions of {{GSC}} related to debugging.
 
==Error codes==
{{main|Error codes (Generations I and II)}}.
Error codes from {{RBY}} re-appear in Gold, Silver but in the English versions they are untranslated from the Japanese version.
 
They appear in the form of '(x)エラー' (read as 'erā') in the Japanese versions, but as '(x)Df-' in the English versions.
 
This is because the index numbers of 'エ', 'ラ' and 'ー' in the Japanese versions are hex:83, hex:A5 and hex:E3 respectively, but in the English versions, 'D', 'f' and '-' use these values. If a hex:00 character is forced in the middle of a text string in {{Crystal}}, '?' appears instead of '(x)Df-'.
 
==MR. CHRONO RT/DF display==
Line 18 ⟶ 27:
A dialogue string "Test event XX?" exists within the coding of Pokémon Gold/Silver, where XX is any integer between 0 and 255, for example; "Test event 04?". XX is from a memory address related to the Real-Time Clock data.{{clarify}}
 
==Pokémon/ and Trainer color test menu and TM/HM compatabilitycompatibility checker==
{{main|Pokémon and Trainer color test menu and TM/HM compatibility checker}}
 
[[Image:GSbColorDebug.png|270px|thumb|right|Altering the palette of Bulbasaur using the color test menu in Japanese Pokémon Gold and Silver.]]
 
Line 25 ⟶ 34:
 
The interface still exists in translated versions of the game, but in the English versions [[mojibake]] appears due to the screen not being localized.
 
In the Japanese version of Gold/Silver; the code for the menu is apparently located at three byte pointer 3F:54F1 (v1.0 and v1.1).
 
Whether the player will be editing Pokémon or Trainers depends on the memory address CF21, where an identifier of 00 activates 'Pokémon mode' and any other identifier activates 'Trainer mode'.
 
In the English versions, the menu is located at 3F:52C9, and the equivalent address for Pokémon/Trainer mode is CEED.
 
===Instructions===
Save states for the color test menus can be found [https://mega.co.nz/#!dhsQBJ4C!l8qxU9aOKDsw63WF6LnGrZpGRWsvBeNDTOnkT4QQzdo here].
 
Use up/down to move the right facing cursor to point to either the red, green or blue scale.
 
When it points to the red, green or blue scale, the amount of that color can be adjusted by adjusting another cursor with left/right. The cursor positions further to the right mean much color, and cursor positions further to the left mean less color.
 
The colors will mix, for example, maximum red, maximum green and minimum blue will give the color yellow.
 
At the top-right corner of the screen there are two color areas, colored based on different areas of the sprite. Below the color areas are hexadecimal color codes.
 
A cursor points to what color area of the sprite will be changed from adjusting the color scales, and the cursor can be moved with left/right when there is no right-pointing cursor pointing to the color scales. This occurs after pressing up a few times.
 
If the A button is pressed the color alterations are lost, and either shiny (the first, third, fifth, etc. time A is pressed) or regular colors (the second, fourth, sixth, etc. time A is pressed) are applied to both color areas.
 
If the select button is pressed the next Pokémon or Trainer (by index number) will be displayed, but glitch Pokémon #252-255 and #000 cannot be accessed; the test menu starts at Bulbasaur and ends at Celebi, then loops around.
 
===TM/HM compatibility checker===
The TM/HM compatibility checker can be accessed with B. On the first line is red text. Next to 'v w?' (Japanese: おわりますか?) is the name of a TM/HM move, which can be adjusted with up/down.
 
On the second line is green text. Next to s...A (Japanese: はい...A) is either 'v u üs' (Japanese: おぼえられない) or just 'v u' (Japanese: おぼえられる). 'v u üs' means the Pokémon can't be taught the move on the line above by TM/HM. 'v u üs' means it can.
 
===Accessing it with the Coin Case glitch===
Using TheZZAZZGlitch's [[Coin Case glitch]] payload to the quantity of stored item 2, and the same basic method as in his Celebi trick, the following code can be used to activate the test menu:
 
====Code====
 
Pokémon menu:
 
*inc b
*ld a, 3F
*inc b
*ld hl, 52C9
*rst $08 (CF)
 
04 3E 3F 04 21 C9 52 CF
 
Trainer menu:
 
*inc b (04)
*ld a, $3F
*inc b
*ld h, $CE
*ld l, $ED
*ld (hli), a
*dec b
*ld hl, 52C9
*rst $08
 
04 3e 3f 04 26 ce 2e ed 22 05 21 c9 52 cf
 
====Items====
 
Pokémon menu:
 
In stored PC items starting from item 2:
 
*(ANYTHING)x 4
*PP Up x63
*Great Ball x33
*TM10 x82
 
 
Trainer menu:
 
In stored PC items starting from item 2:
 
*(ANYTHING)x4
*PP Up x63
*Great Ball x38
*TM15 x46
*TM45 x34
*Poké Ball x33
*TM10 x82
*TM16 x(ANYTHING)
 
 
===Japanese text strings===
Line 113 ⟶ 39:
The following Japanese text strings are used for this menu:
 
#Aきりかえ▶ ("A switches (to)")
#ノーマル ({{Explain|normal|palette}})
#レア ({{Explain|rare|shiny palette}})
Line 134 ⟶ 60:
[[Image:Object event.png|270px|thumb|right|Object event.]]
 
The event data messages are debuggingunused messages in Gold, Silver and Crystal that may have been used for debugging. They can appear in a text box through hacking or glitching. What they are meant to be for is undocumented.
 
#The window save area was exceeded.
Line 144 ⟶ 70:
 
==Other debugging text==
*[[N/A]] - Possibly for an invalid map location (unused).
#[[ERROR!]] - Used for an invalid [[bp:field move|field move]].
#[[?????]] - Used for an invalid Pokémon species.
Line 152 ⟶ 77:
 
#[http://tcrf.net/Pokemon_Gold_and_Silver The Cutting Room Floor article about unused content in Pokémon Gold and Silver].
[[Category:Debugging summary pages]]
[[Category:Debugging features]]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.