GameShark: Difference between revisions

810 bytes removed ,  15 February 2009
Undo revision 673621 by DarkStorm (Talk) Codes, no
No edit summary
(Undo revision 673621 by DarkStorm (Talk) Codes, no)
Line 7: Line 7:
===In Generations {{gen|I}} and {{gen|II}}===
===In Generations {{gen|I}} and {{gen|II}}===
A GameShark code is made up of three parts. The first part is the code type, which is commonly represented as 01. The second is the quality digits, which are the digits that will go into that space in memory. This is usually represented by XX, as these numbers can be modified at any time to change what will be received. All values are in [[wp:Hexadecimal|hexadecimal]] code, instead of decimal (for example, the number 88 is represented by 58, or 58<sub>16</sub> in mathematics). The third and final part is the address in memory, represented in [[wp:Little Endian|Little Endian]] notation. This means that if the address C000 is to be modified, the end of the code would need to be 00C0. The code 010100C0 would tell the GameShark that the code type is 1, and that the value 01 will be put into the address C000.
A GameShark code is made up of three parts. The first part is the code type, which is commonly represented as 01. The second is the quality digits, which are the digits that will go into that space in memory. This is usually represented by XX, as these numbers can be modified at any time to change what will be received. All values are in [[wp:Hexadecimal|hexadecimal]] code, instead of decimal (for example, the number 88 is represented by 58, or 58<sub>16</sub> in mathematics). The third and final part is the address in memory, represented in [[wp:Little Endian|Little Endian]] notation. This means that if the address C000 is to be modified, the end of the code would need to be 00C0. The code 010100C0 would tell the GameShark that the code type is 1, and that the value 01 will be put into the address C000.
====Useful Gameshark Codes (for Red/Blue)====
*'''0010138CD''' Commonly known as "Walk Through Walls", allows the player to walk through anything (walking into places that are "out of bounds" will freeze the game)
*'''01--D8CF''' Allows the player to encounter the Pokémon of their choice by walking in tall grass (to use, replace the -- with the [[List of Pokémon by index number (GB)|hex identifier]] of the desired Pokémon)
*'''01--7CCF''' Allows the player to buy the item of their choice from the Pokémart (replace the -- with the [[List of items by index number (GB)|hex identifier]] of the desired item)
*'''010157D0''' Allows the player to capture a Pokémon during a trainer battle (to use, only activate this code after the desired Pokémon is sent out, and turn it off right away after capture)


==Consequences==
==Consequences==
2,273

edits