Expanded item pack: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
>Torchickens
No edit summary
>Torchickens
(→‎By arbitrary code execution: The code was incorrect (ld ($xxyy),a's operands are in little endian order; not big endian). Now fixed.)
Line 69: Line 69:


=== "Dry" item underflow glitch ===
=== "Dry" item underflow glitch ===
This glitch was documented by Luckytyphlosion ([http://forums.glitchcity.info/index.php?topic=7175.0 thread]).
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.
It is a better method because it doesn't require the Saffron guards to be thirsty or a Fossil.
Line 115: Line 115:


== By arbitrary code execution==
== By arbitrary code execution==
If you can use arbitrary code execution (ACE), you may run the following code (both with 8F and ws m)
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/>
<code>
<code>
Lemonade x255
Lemonade x255
<br/>
<br/>
TM34 x211
TM34 x29 (x28 in Yellow)
<br/>
<br/>
TM11 x201
hex:1C (Earth Badge) x201
</code>
</code>
<br>
This basically changes the item counter to hex:FF
This basically changes the item counter to hex:FF.


== Using Gameshark ==
== Using Gameshark ==