Jump to content

Item underflow glitch (event method): Difference between revisions

m
Text replacement - "Category:Speed runner glitches" to "Category:Speedrunner glitches"
>ISSOtm
(This page was wanted, but I actually created it under another name : redirected the flow to the correct page.)
 
m (Text replacement - "Category:Speed runner glitches" to "Category:Speedrunner glitches")
 
(10 intermediate revisions by 2 users not shown)
Line 1:
[[File:Item underflow old.png|thumb|right|160px|The [[expanded items pack]], accessed straight after performing the glitch]]
#REDIRECT [[Expanded item pack]]
 
The '''item underflow glitch (event method)''' was discovered by MrWint. It allows the player to obtain an inventory of 255 items (see [[expanded items pack]]). This method will only work with the main inventory and not the stored PC inventory (unlike the later documented [[dry underflow glitch]]).
 
To activate this glitch, the player needs, in their first two item slots :
<br/>
(Any cheap item)x any qty
<br/>
(Any item)x 255
 
Moreover, the player must have an item removable by an event (a drink for the Saffron guards, a fossil, etc.)
''NOTE'' : it is not recommended to have other items than these in your bag.
 
The player should open their item inventory, and toss their first item until the Item menu stops "responding".
<br/>
Then the player should remove an item from their inventory with an event. Then, opening the item pack allows the player to scroll past slot 20. This allows the player to edit unrelated portions of the memory as if they were items.
 
=== Explanation ===
When the first item stack is tossed, the game decreases the owned item counter (located at hex:D31C) by 1. It then makes the item x255 erase the item tossed. But because dec:255 equals hex:FF and the game considers FF as the ending marker, the 255 items aren't overwritten, nor the following ones.
<br/>
The process repeats until the item counter reaches 0, which makes the first item act as the Cancel button. Then giving out an item makes the game decrease the item counter once more, which underflows to hex:FF. The player can then access 255 items, which is far beyond the normal limit.
 
== Methods to obtain x255 stack ==
 
===Using MissingNo.===
{{MissingNo. underflow}}
 
===Other methods===
*[[Dry underflow glitch]]
*See [[expanded items pack]]
 
[[Category:Generation I glitches]]
[[Category:Major glitches]]
[[Category:Speedrunner glitches]]
[[Category:Speedrunner glitches (Red/Blue/Yellow)]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.