ItemDex/RB:109

From Glitch City Wiki
Jump to navigation Jump to search

(↑ Back to the ItemDex index.)

Name (transcribed): il
RB item 6D inventory.png

Identifier (HEX): 6D
Identifier (DEC): 109
Effect pointer: 433E
Unterminated name glitch item?: No
Tossable/Sellable?: No
Buy Price: 509594 (508#8#)
Sell Price: N/A
Name bytes: $1b,$a8,$ab,$0c,$50

RBItem6D.png (hex:6D) is a glitch item in Pokémon Red and Blue.

The name of this glitch item is mojibake from from Red/Green's untranslated ブロンズ (Bronze) string. "ブロンズ" is also the name of the hex:6D glitch item in the Japanese versions.

Effects

The effect pointer of this glitch item points to the banked section of the ROM at $03:433E, in the middle of the function ClearVariablesOnEnterMap. When using this glitch item, the register a is set to 0x3E, so many variables that are usually set to 0 when entering a map are set to 0x3E instead.

Some visible effects of this glitch item include:

  • Using this glitch item outside of battle forces the next battle to use the Gym Leader battle music. This is because [wLoneAttackNo] (alias of [wGymLeaderNo]) is set to 0x3E. This value is usually cleared on entering a map (including after a battle), and set when talking to an undefeated Gym Leader.
    • After using this glitch item, if the player fights a trainer who is not a Gym Leader but has a "special" party (meaning that the level of each Pokémon in the party is defined individually, instead of all Pokémon having the same level), then the trainer's first Pokémon will have Swords Dance as the third move. As an example, Prof. Oak has three (unused) valid parties defined in the game, all of which starting with a level 66 Tauros. If the player uses this glitch item before triggering a fight with Prof. Oak, then the Tauros will have Swords Dance instead of Rage, which it normally has as its third move. This is because the game gives each Gym Leader a special move according to [wLoneAttackNo], hardcoded to be the third move[1]. The index 0x3E is out of range, but the table lookup happens to give "00 0E"[2], which is interpreted as the first Pokémon having Swords Dance (ID 0x0E).
  • Using this glitch item outside of battle will set the number of steps until the player takes poison damage to 2 if a Pokémon is poisoned. This is because [wStepCounter] is set to 0x3E. This step counter counts down (wrapping around from 0x00 to 0xFF), and poison damage is only applied when this counter is a multiple of 4.
    • If the player's party is fully fainted, using this glitch item will set the number of steps required to black out to 2. This can be repeated to avoid having to save and reset the game to work around the black out (see poison step avoidance glitch).

References