Expanded item pack: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>Torchickens
No edit summary
>Bbbbbbbbba
(Section headings cleanup.)
Line 38: Line 38:
Note that this equation does not apply for items 129 (0x81) through to 256 (0x00) because those items represent items 1-128 again.
Note that this equation does not apply for items 129 (0x81) through to 256 (0x00) because those items represent items 1-128 again.


= Returning a bag of 255 items back to normal (Generation I) =
== Returning a bag of 255 items back to normal (Generation I) ==
This is very simple : you need to buy three items to return your menu to normal.
This is very simple : you need to buy three items to return your menu to normal.
<br/>
<br/>
Line 53: Line 53:
</code>
</code>


= Generation I activation =
== Generation I activation ==


== Item underflow glitch ==
=== By underflow ===
There are two known ways of tricking the game into decrementing the item count when it is already 0, which causes the it to underflow to 255. Both methods require an item stack of something x255:
{{main|Item underflow glitch (event method)}}
* [[Item underflow glitch (event method)]]

=== "Dry" item underflow glitch ===
* [[Dry underflow glitch]]
{{main|Dry underflow glitch}}

== Expanded inventory methods ==


==== Methods to obtain x255 stack ====
==== Methods to obtain x255 stack ====
Line 91: Line 88:
This glitch may stop working later in the game due to FF values appearing in the memory before the bag addresses.
This glitch may stop working later in the game due to FF values appearing in the memory before the bag addresses.


== By arbitrary code execution==
=== By arbitrary code execution===
If you can use [[arbitrary code execution]] (ACE), you may run the following code for the English games (both with 8F for {{RB}} and ws m for {{Y}}).
If you can use [[arbitrary code execution]] (ACE), you may run the following code for the English games (both with 8F for {{RB}} and ws m for {{Y}}).
<br/>
<br/>
Line 104: Line 101:
This basically changes the item counter to hex:FF.
This basically changes the item counter to hex:FF.


== Using Gameshark ==
=== Using Gameshark ===
Using a cheating device is not needed, however, the code 01FF1CD3 (Yellow) or 01FF1DD3 (Red/Blue) will give the player 255 items.
The Gameshark code 01FF1CD3 (Yellow) or 01FF1DD3 (Red/Blue) will give the player 255 items.


== By [[Glitch City RAM Manipulation]] ==
=== By [[Glitch City RAM Manipulation]] ===
By having 50 slots filled in the PC, GCRM can turn this number to 109 ; it is then possible to retrieve a stack of 255 items, and perform either method of item underflow (see above).
By having 50 slots filled in the PC, GCRM can turn this number to 109 ; it is then possible to retrieve a stack of 255 items, and perform either method of item underflow (see above).


Line 114: Line 111:
However, since the PC has 109 items accessible, storing items is likely to corrupt game data instead of returning the PC to normal. The best solution is [[Arbitrary code execution]], although retrieving 59 items from the PC will also work (but it's difficult).
However, since the PC has 109 items accessible, storing items is likely to corrupt game data instead of returning the PC to normal. The best solution is [[Arbitrary code execution]], although retrieving 59 items from the PC will also work (but it's difficult).


= Generation II activation =
== Generation II activation ==
{{incomplete}}
{{incomplete}}
One can access an expanded Poké Balls pocket through [[duplicate key items glitch]] abuse.
One can access an expanded Poké Balls pocket through [[duplicate key items glitch]] abuse.


= Notes =
== Notes ==
*In Red, Blue and Yellow, when scrolling down the list, the cursor may seem to freeze ; in that case hit B until the cursor responds again. (If A is used, and is pressed while a long-name item is selected the game will crash and save data may be partially overwritten.) This happens when the game prints a large name which spans multiple lines.
*In Red, Blue and Yellow, when scrolling down the list, the cursor may seem to freeze ; in that case hit B until the cursor responds again. (If A is used, and is pressed while a long-name item is selected the game will crash and save data may be partially overwritten.) This happens when the game prints a large name which spans multiple lines.
*In Pokémon Crystal, the glitch description of item hex:00 will usually freeze the game. This can be avoided if the player presses Select on another item to bring up the text "Where should this be moved to?" before scrolling down.
*In Pokémon Crystal, the glitch description of item hex:00 will usually freeze the game. This can be avoided if the player presses Select on another item to bring up the text "Where should this be moved to?" before scrolling down.