ItemDex/RB:115: Difference between revisions

From Glitch City Wiki
Jump to navigation Jump to search
Content added Content deleted
>Sherkel
No edit summary
(Update item effect description)
Line 4: Line 4:
|2=73
|2=73
|3=115
|3=115
|4=00:3c49 (ROM 0)
|4=3C49
|5=No
|5=No
|6=Yes
|6=Yes
|7=955081 (8#5081)
|7=955081
|8=477540
|8=477540
|9=$9d,$8c,$8f,$e3,$50}}
|9=$9d, $8c, $8f, $e3, $50}}


[[File:RBItem73.png|link=]] (hex:73) is a [[glitch item]] in {{RB}}.
[[File:RBItem73.png|link=]] (hex:73) is a [[glitch item]] in {{RB}}.
Line 15: Line 15:
Its name is taken from [[mojibake]] of Pokémon Red/Green's untranslated "マスター" (Master) string. "マスター" (Master) is also the hex:73 glitch item in Japanese versions.
Its name is taken from [[mojibake]] of Pokémon Red/Green's untranslated "マスター" (Master) string. "マスター" (Master) is also the hex:73 glitch item in Japanese versions.


Using it both in and outside of battle causes a [[glitch dialog|glitch text box]] to appear that possibly cannot be exited.
Using it both in and outside of battle causes a [[glitch dialog|glitch text box]] to appear that cannot be exited, and eventually crashes the game.

This is because the item calls function <code>00:3c49</code> (PrintText) with the address $3c49 in hl, which interprets the PrintText function itself as text commands.
After 1 or 2 sound commands, this eventually runs into the command <code>text_ram $25ea</code>, which prints $25ea to $2649 to the textbox ($c4b9 internally).

After some more sound commands it then reaches command <code>text_ram $c4b9</code>, which prints text from $c4b9 into the textbox starting from $c4ed (where the other command stopped) until it finds a terminator, which was never printed. This causes an infinite copy that overwrites memory and causes a crash.


{{clr}}
{{clr}}

Revision as of 23:38, 25 December 2022

(↑ Back to the ItemDex index.)

Name (transcribed): ;MP-

Identifier (HEX): 73
Identifier (DEC): 115
Effect pointer: 00:3c49 (ROM 0)
Unterminated name glitch item?: No
Tossable/Sellable?: Yes
Buy Price: 955081
Sell Price: 477540
Name bytes: $9d, $8c, $8f, $e3, $50

(hex:73) is a glitch item in Pokémon Red and Blue.

Its name is taken from mojibake of Pokémon Red/Green's untranslated "マスター" (Master) string. "マスター" (Master) is also the hex:73 glitch item in Japanese versions.

Using it both in and outside of battle causes a glitch text box to appear that cannot be exited, and eventually crashes the game.

This is because the item calls function 00:3c49 (PrintText) with the address $3c49 in hl, which interprets the PrintText function itself as text commands. After 1 or 2 sound commands, this eventually runs into the command text_ram $25ea, which prints $25ea to $2649 to the textbox ($c4b9 internally).

After some more sound commands it then reaches command text_ram $c4b9, which prints text from $c4b9 into the textbox starting from $c4ed (where the other command stopped) until it finds a terminator, which was never printed. This causes an infinite copy that overwrites memory and causes a crash.


This article or section is a stub. You can help Glitch City Wiki by expanding it.