Map distortion glitch type

From Glitch City Wiki
(Redirected from Type 0x20 corruption glitch)
Jump to navigation Jump to search
This article is a summary page for different variations of a glitches, etc. when talked about as a whole.

Map distortion glitch types are glitch types capable of map corruption due to a buffer overflow.

The effects are similar to those caused by map distortion glitch items.

In Italian Yellow

As documented by Enrico Pinton, the Italian version of 4 4 (BF) has a type 2 which is capable of corrupting the map at certain locations, such as filling the map with grass tiles and enabling a form of walk through walls until the next encounter.

YouTube video by ChickasaurusGL


In Red/Green

Map corruption caused by this glitch

The type 0x20 corruption glitch occurs in Pokémon Red and Green and is caused by three glitch Pokémon; ヲイ゙マ゙ヅパ (0xE2), をイ゙ビぱパ (0xE5), and ゃアジさイ゙(0xE8).

This glitch is caused by those glitch Pokémon's first type which has an index number of 0x20. This type is type 1 for all glitch Pokémon in family 245.

Effects

If you view the type 1 of one of the applicable glitch Pokémonn, the game may corrupt the map when its type is '9999999.....'. If you view the stats of a normal Pokémon before viewing this glitch Pokémon its type may be different and won't corrupt the map, however, it may be '9999999....' again after saving and restarting.

With type 20h's map corruption, you may be able to walk through walls, but it often traps you. You can work around this by encountering a wild Pokémon by walking around or with 5かい.


Acquisition

These glitch Pokémon are available with the fossil conversion glitch (Japanese) or arbitrary code execution.

Arbitrary code execution

The following code for arbitrary code execution (e.g. with 5かい or てへ (0x7B) redirected to item slot 3 will work for obtaining ゃアジさイ゙(0xE8) as an unstable hybrid Pokémon of party Pokémon 1.

3E E8 EA 24 D1 C9

ld a, E8 ld [D124], a ret

X Accuracy x232 TM34 x36 TM09 x201

If you want to change the recipient byte so the DayCare Center gives you back an 0xE8 (you won't see a glitched type immediately though), just change TM34's quantity to 43 (hex: 2B).

YouTube video

YouTube video by ChickasaurusGL


Credits

  • Kazblox (discovery) (Japanese version)
  • Enrico Pinton (discovery) (Italian version)
  • ChickasaurusGL (research, description, YouTube video)