Jump to content

ItemDex/Y:114: Difference between revisions

No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 12:
[[File:YItem72.png|link=]] (hex:72) is a [[glitch item]] in {{Yellow}}. Its name is taken from the untranslated string "プチマスター" (Petit Master) from the Japanese versions, resulting in [[mojibake]].
 
Although this glitch item's effect pointer is sourced from the ROM, using this glitch item will result in a range of behaviors that are not well understood, however its pointer is in the middle of VBlankCopyBgMap, which is supposed to be run from the start at 1BB5, will pop de (touching the stack) and may execute an unintended pointer from the stack.<ref>[https://pastebin.com/emrFZUmU Pokémon Yellow a little analysis of QMP (0x72) glitch item - Pastebin by Torchickens]</ref> If for whatever reason the program counter lands in RAM, it is technically possible to perform [[arbitrary code execution]] but there is no definitive method as of present.
 
==Execution==
[[File:YItem72.png|link=]]'s pointer is in the middle of VBlankCopyBgMap at 1BCD, which is supposed to be run from the start at 1BB5, will pop de multiple times (touching the stack) and may eventually execute an unintended pointer from the stack.<ref>[https://pastebin.com/emrFZUmU Pokémon Yellow a little analysis of QMP (0x72) glitch item - Pastebin by Torchickens]</ref> If for whatever reason the program counter lands in RAM, it is technically possible to perform [[arbitrary code execution]] but there is no definitive method as of present, and various scripts which typically work such as [[List of arbitrary code execution programs|Wack0's trigger Hall of Fame script]] may freeze but sometimes work if the corruption didn't affect its functioning.
 
Some of the effects include game freezes, and rarer effects such as (but not limited to) continuous changes to the memory addresses nearby the items pack ([[:User talk:Lucan Pera|example]]).
 
{{clr}}
 
==References==
<references/>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.