ItemDexJP/RG:123

From Glitch City Wiki
Jump to navigation Jump to search

(↑ Back to the ItemDex index.)

Name (transcribed): てへ

Identifier (HEX): 7B
Identifier (DEC): 123
Effect pointer: D806
Unterminated name glitch item?: Yes
Tossable/Sellable?: Yes
Buy Price: 999999 (#8#9##)
Sell Price: 499999
Name bytes: {{{9}}}

(hex:7B) is a glitch item in Pokémon Red and Green.

It is an unterminated name glitch item, hence is applicable for glitches such as Yami Shop glitch or Japanese unterminated name glitch item instant encounter glitch, and has different effects depending on what is on the screen.

However, it may be a bad idea if the player wants a more normal inventory; since a 0x50 sub-tile is required for both its use, handling and depositing/withdrawing it at the PC; which PC maps usually don't have. If these requirements are not met, the game will freeze. Instead, another method such as 5かい may be preferred, as it doesn't have an unterminated name/cause those side effects and it is ideal if the player intends to remove the expanded inventory after obtaining it.

When a 0x50 sub-tile is early enough in the saved screen data (such as when the player uses it near the old man), using it will cause arbitrary code execution at WRAM region D806.

The region at D806 in WRAM is particularly useful as it contains the beginning of the grass encounter table. This data can be changed to the player's name by watching the old man's demonstration, in which a bootstrap code to elsewhere can be used. For example, the name "[any character]てルめ" makes the game run $C3 $A6 $D2 which in ASM is 'jp D2A6' (jump to third inventory item).

YouTube video by ChickasaurusGL