Jump to content

Expanded item pack: Difference between revisions

no edit summary
>Torchickens
No edit summary
>Torchickens
No edit summary
Line 50:
 
== Item underflow glitch ==
{{main|Item underflow glitch (event method)}}
This method was discovered by MrWint.
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 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.
 
=== "Dry" item underflow glitch ===
{{main|Dry underflow glitch}}
This glitch was documented by Luckytyphlosion ([http://forums.glitchcity.info/index.php?topic=7175.0 thread]).
 
It is a better method because it doesn't require the Saffron guards to be thirsty or a Fossil.
<br />
Also, it can be done with the PC items, allowing one to edit more RAM addresses that could only be manipulated with [[arbitrary code execution]] or [[Map_254_(Yellow)|map FE]].
 
You will need 2 different tossable items, and a stack of 255 items.
 
Refer to below for methods of obtaining a x255 item quantity slot for this glitch:
 
== Expanded inventory methods ==
 
==== Methods to obtain x255 stack ====
{{MissingNo. underflow}}
 
'''Method 1 (MissingNo.):'''
 
1) Encounter a [[MissingNo.]] (e.g. with [[old man glitch]], [[Trainer escape glitch]]) to add 128 to the sixth item quantity (if less than 127).
 
'''For Pokémon Yellow:'''
 
Unstable MissingNo. will not freeze the game if encountered for the first time after a wiped save file with Up+Select+B and if no other glitch Pokémon sprite was viewed. More reliably, the double Trainer escape glitch with Level 80 Starmie can be used ([https://www.youtube.com/watch?v=73fAlzIbi9k&t video]) to encounter a Fossil/Ghost MissingNo., which will not freeze the game. Alternatively though more difficult, the player may perform the Ditto glitch sub-glitch of the Trainer escape glitch by having Ditto Transform into a Pokémon with 182, 183, 184 Special.
 
2) Either encounter MissingNo. again or catch it with the sixth item quantity as x127 to get the x255 stack. Note this will not work when catching the MissingNo. if the item used to catch it was the sixth and a Poké Ball x127, therefore items like X Special are more desirable (also in this case, because X Special can be used for [[Celadon looping map glitch]])
 
 
==== Steps to reproduce dry underflow glitch ====
# Order your items so that your 2 tossable items are in slots 1 and 2 and the item x255 is in slot 3.
# Toss everything below the item x255.
# Toss the top two items so you have three items x255 (item count=1)
# Toss 253 of the first item x255.
# Swap item 1 with item 2.
# Swap item 1 with item 2, again.
 
You can also do this with items below the third (and initial) 255 stack. You need to count how many items you have, then after step 3 toss the top item x255 the number of items you initially had -2.
 
== Expanded inventory methods ==
 
=== By save corruption ===
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.