Bad sprite: Difference between revisions

From Glitch City Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 8: Line 8:
Certain glitch Pokémon including Yellow [[MissingNo.]], {{gdex|Y:191|4 4 (hex:BF)}} and {{gdex|Y:237|4(h4? (hex:ED)}} can corrupt the current battle (an effect known as a [[glitch battle]] not to be confused with a [[glitch encounter system]]) in ways such as corrupting what is on the screen or causing [[glitch audio|glitch music]]. Occasionally, they will corrupt bytes in memory that will lead to freezes; such as C0EF/C0EF (the audio ROM bank and the saved copy of it, where the only valid sound banks are 02, 08, 1F, 20 (Yellow only)/28 (Japanese Yellow) and any other sound bank will lead to [[glitch sound command]]s which typically freeze the game; though some corruption is possible with bank 20 as well).
Certain glitch Pokémon including Yellow [[MissingNo.]], {{gdex|Y:191|4 4 (hex:BF)}} and {{gdex|Y:237|4(h4? (hex:ED)}} can corrupt the current battle (an effect known as a [[glitch battle]] not to be confused with a [[glitch encounter system]]) in ways such as corrupting what is on the screen or causing [[glitch audio|glitch music]]. Occasionally, they will corrupt bytes in memory that will lead to freezes; such as C0EF/C0EF (the audio ROM bank and the saved copy of it, where the only valid sound banks are 02, 08, 1F, 20 (Yellow only)/28 (Japanese Yellow) and any other sound bank will lead to [[glitch sound command]]s which typically freeze the game; though some corruption is possible with bank 20 as well).


[[GlitchDex/Y:244|♂ p ゥ (0xF4)]] and [[GlitchDex/Y:236|?/ (0xEC)]] are also known for bad sprite corruptions. The [[Rhydon trap]] also takes place in the status screen at [https://github.com/pret/pokeyellow/blob/14555dde3618a7f2b8a4ce054f321fb9b04599ab/home/pokemon.asm LoadFrontSpriteByMonIndex], and effectively Pokédex numbers 152-255 and 0 sprites do not load, except for these (and other) glitch Pokémon because they are Pidgeotto [[hybrid glitch Pokémon|hybrids]].
[[GlitchDex/Y:244|♂ p ゥ (0xF4)]] and [[GlitchDex/Y:236|?/ (0xEC)]] are also known for bad sprite corruptions. The [[Rhydon trap]] also takes place in the status screen at [https://github.com/pret/pokeyellow/blob/14555dde3618a7f2b8a4ce054f321fb9b04599ab/home/pokemon.asm LoadFrontSpriteByMonIndex], and effectively Pokédex numbers 152-255 and 0 sprites do not load, except for these (and other) hybrid glitch Pokémon. p ゥ (0xF4) and ?/ (0xEC) are both Pidgeotto [[hybrid glitch Pokémon|hybrids]].
==YouTube video==
==YouTube video==
{{YouTube|UbiYeciV_LE|Krauser912}}
{{YouTube|UbiYeciV_LE|Krauser912}}

Revision as of 07:55, 28 July 2022

Bulbapedia also has an article about Bad sprite.

A bad sprite (named after bad clone) is a glitch Pokémon with a sprite that causes memory corruption when it is viewed.

Most commonly in Pokémon Red, Blue, and Yellow the sprite will affect the SRAM and possibly corrupt the Hall of Fame.

A bad sprite that causes a glitch battle is typically due to bad sprite dimensions. A dimension of x0 (apparently it is effectively x256) in width or height will result in the game unpacking a huge sprite. As part of unpacking the sprite, data is temporarily stored in bankless portions of SRAM but it is possible for a buffer overflow when later areas of SRAM are touched (the reason encountering MissingNo. corrupts the Hall of Fame/results in a saving message on Stadium Game Boy Tower etc.). Furthermore, glitch Pokémon sprites of both width 0 and height 0 will typically corrupt the memory even further; exceeding the end of SRAM in the memory map (SRAM ranges from A000-BFFF) and touching C000 and beyond; the beginning of WRAM.

Certain glitch Pokémon including Yellow MissingNo., 4 4 (hex:BF) and 4(h4? (hex:ED) can corrupt the current battle (an effect known as a glitch battle not to be confused with a glitch encounter system) in ways such as corrupting what is on the screen or causing glitch music. Occasionally, they will corrupt bytes in memory that will lead to freezes; such as C0EF/C0EF (the audio ROM bank and the saved copy of it, where the only valid sound banks are 02, 08, 1F, 20 (Yellow only)/28 (Japanese Yellow) and any other sound bank will lead to glitch sound commands which typically freeze the game; though some corruption is possible with bank 20 as well).

♂ p ゥ (0xF4) and ?/ (0xEC) are also known for bad sprite corruptions. The Rhydon trap also takes place in the status screen at LoadFrontSpriteByMonIndex, and effectively Pokédex numbers 152-255 and 0 sprites do not load, except for these (and other) hybrid glitch Pokémon. ♂ p ゥ (0xF4) and ?/ (0xEC) are both Pidgeotto hybrids.

YouTube video

YouTube video by Krauser912

YouTube video by Nick Delia