Jump to content

Submerge glitch: Difference between revisions

>Torchickens
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 4:
 
While active, the game will place the player sprite inside the grass as expected, but because the grass was defined as a water tile it will give the illusion of the player being partially submerged in the water, hence the name of the glitch.
 
The glitch while currently arbitrary code execution only, might be available with a carefully prepared extended [[Super Glitch (Generation I)|Super Glitch]].
 
<gallery>
Line 11 ⟶ 9:
File:Submerge glitch2.png|An unintended encounter sourced from last opposing Trainer data
</gallery>
 
 
==Non-ACE methods==
 
===Select glitch===
The submerge glitch is possible in Red/Green (Japanese Blue hasn't been tested yet) using the [[closed menu Select glitch]] with 187 items, as well as specific hard to obtain requirements including 1695813 experience, 0 (or a multiple of 256) HP stat experience (EVs), and anything(?) between 16384-16639 Attack stat experience (EVs). The experience and stat experience requirements are to bring normality back to D4AA W_TILESETBANK/D4AB-D4AC W_TILESETBLOCKSPTR and wMapViewVRAMPointer respectively. [[Expanded inventory (Select glitch method)]] can be used with nickname さささささ giving the exact 187 items.
 
Currently this method is not ideal and could be improved.
 
{{YouTube|1=nY1mb_C1BCM|2=Evie (ChickasaurusGL)}}
 
 
==Arbitrary code execution==
An item configuration (assuming the bootstrap code goes to item 3) to be used while Surfing on water in English versions is:
 
<pre>
Item 3: Lemonade x20
Item 4: TM34 x53 (x52 in Yellow)
Item 5: TM13 x201
</pre>
 
For enabling a 'simulation' of the [[left-facing shore tile glitch]] in Yellow, replace the Lemonade x20 with Lemonade x50 and run the code, then also run the following second code to set the grass encounter rate to 255 (keeping in mind not to swap stacks of an identical item as this merges them):
 
<pre>
Item 3: Lemonade x 255
Item 4: TM34 x 135
Item 5: TM16 x 201
</pre>
 
==Credits==
*Evie (ChickasaurusGL) (Torchickens) (documentation)
 
==Notes==
<nowiki>*</nowiki> D535/D534 is +5 (D539 or D358) in non-English European versions. In Japanese versions, it is D4B4 (Red/Green/Blue/Yellow).
 
==See also==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.