Jump to content

Glitch sound bank: Difference between revisions

no edit summary
>Torchickens
No edit summary
No edit summary
Line 6:
 
Glitch sound banks can be accessed as a side effect of encountering regular [[MissingNo.]] in Yellow, or with the GameShark codes 01xxEFC0, 01xxF0C0 where xx is to be replaced with the bank.
==Sound bank arbitrary code execution==
 
{{main|Sound bank arbitrary code execution}}
Arbitrary code execution is possible in Pokémon Red and Blue with sound bank 0A. The code at 0A:58EA will run some instructions which corrupt the stack. F55B (D55B, stored PC item 17) will become the stack, so can be changed to somwhere easier such as 22 D3 (inventory item 3). As the stack was corrupted, it may be more convenient to write to use arbitrary code execution to write to the save file (SRAM) rather than writing to RAM. This can be done by calling 1C:778C (SaveSAVtoSRAM0) without the complications of save file checksums.
{{YouTube|nO0nEoQgQlE|ChickasaurusGL}}
[[Category:Glitch audio]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.