Fight Safari Zone Pokémon trick: Difference between revisions

m
Line 5: Line 5:
==Cause==
==Cause==
{{Incomplete|section|needs=Specific explanation about 2x2 subtiles and how English R/B (but no other Gen I games) uses the bottom-left subtile for encounter tables but the bottom-right subtile to test if an encounter is allowed on that square. Link to explanation on Smogon forums. Explain how this leads to the Viridian Forest/Safari Zone encounters oversight where certain grass tiles will never give wild encounters (this oversight is currently undocumented on Bulbapedia). Only after all this, explain how the grass encounter table is not overwritten when entering an area that has no land wild Pokémon, and segue into how the Old man glitch works. Explain why bottom right corner tiles do not share this effect.}}
{{Incomplete|section|needs=Specific explanation about 2x2 subtiles and how English R/B (but no other Gen I games) uses the bottom-left subtile for encounter tables but the bottom-right subtile to test if an encounter is allowed on that square. Link to explanation on Smogon forums. Explain how this leads to the Viridian Forest/Safari Zone encounters oversight where certain grass tiles will never give wild encounters (this oversight is currently undocumented on Bulbapedia). Only after all this, explain how the grass encounter table is not overwritten when entering an area that has no land wild Pokémon, and segue into how the Old man glitch works. Explain why bottom right corner tiles do not share this effect.}}
The English R/B (but no other Gen I games) are made up of a group of tiles, each of which are made of 2x2 subtiles. For example, the player takes up four subtiles, one of which is the player's top left, etc. Every space the player can move into is likewise made of four subtiles. When the game is checking if an encounter is possible it uses the bottom-right subtile. Only if this is water or grass is an encounter allowed. This is why no encounters are possible on land, warp tiles, or inside a building. Due to a programming error or oversight, and for whatever reason, when checking which Pokémon is encountered it uses the bottom-left subtile instead. Because of this, shore tiles on the western and northern sides of islands cannot have wild encounters (as the bottom-right subtile is land), and southern ones are treated as water. However, the eastern ones (called left-facing shore tiles) generate wild encounters, although they are the grass encounters. This is because once it is known that an encounter exists, any bottom-left tile that isn't water is treated as grass. The programmers of the games didn't figure this out, and so only would load new grass encounters into locations that actually have them, as none are programmed into places like [[Cinnabar Island]] and the [[Seafoam Islands]]. Through this exploit, however, these can be loaded. Since during the Old Man's catching tutorial the player's name is changed to OLD MAN, the player's name is stored into wild encounter data because there is only one possible wild Pokémon during this tutorial. It is therefore possible to force encounters based on the player's name by visiting one of these locations and surfing up and down the eastern coast. This is the [[Old man glitch]]. Another exploit is caused by entering and exiting the Safari Zone to load its encounters into memory and [[Fly_(move)|Flying]] to Cinnabar Island, and then surfing up and down the eastern coast to encounter Safari Zone Pokémon.
The English R/B (but no other Gen I games) are made up of a group of tiles, each of which are made of 2x2 subtiles. For example, the player takes up four subtiles, one of which is the player's top left, etc. Every space the player can move into is likewise made of four subtiles. When the game is checking if an encounter is possible it uses the bottom-right subtile. Only if this is water or grass is an encounter allowed. This is why no encounters are possible on land, warp tiles, or inside a building. Due to a programming error or oversight, and for whatever reason, when checking which Pokémon is encountered it uses the bottom-left subtile instead. Because of this, shore tiles on the western and northern sides of islands cannot have wild encounters (as the bottom-right subtile is land), and southern ones are treated as water. However, the eastern ones (called left-facing shore tiles) generate wild encounters, although they are the grass encounters. This is because once it is known that an encounter exists, any bottom-left tile that isn't water is treated as grass. The programmers of the games didn't figure this out, and so only would load new grass encounters into locations that actually have them, as none are programmed into places like [[Cinnabar Island]] and the [[Seafoam Islands]]. Through this exploit, however, these can be loaded. Since during the Old Man's catching tutorial the player's name is changed to OLD MAN, the player's name is stored into wild encounter data because there is only one possible wild Pokémon during this tutorial. It is therefore possible to force encounters based on the player's name by visiting one of these locations and surfing up and down the eastern coast. This is the [[Old man glitch]]. Another exploit is caused by entering and exiting the Safari Zone to load its encounters into memory and {{m|Fly}}ing to Cinnabar Island, and then surfing up and down the eastern coast to encounter Safari Zone Pokémon.


==Extensions==
==Extensions==
741

edits