Jump to content

Brock through walls: Difference between revisions

Added Brock Through Walls from a wall. Also $CD38 -> $CD3B (facepalm).
>Sherkel
mNo edit summary
>Bbbbbbbbba
(Added Brock Through Walls from a wall. Also $CD38 -> $CD3B (facepalm).)
Line 8:
However, the player can manipulate certain values in the RAM to spell out the player's coordinates, (0x10, 0x24). The coordinates need to appear at address xxx2, xxx6, xxxA, or xxxE to "align" with the lookup table. When this happens, the game will use the next two bytes as a path pointer. (Otherwise, the aforementioned softlock occurs.)
 
Certain paths may overwrite the memory address $CD38CD3B, which allows the player to override the scripted movement by holding down a button, and walk through walls in whatever path he or she chooses, similar to what happens when using the [[walk through walls trick (museum guy method)|museum guy method]].
 
==Setup==
Line 62:
 
==Explanation==
As mentioned above, the glitch works by tricking the game into loading an invalid path for the player to follow, which overwrites $CD38CD3B.
 
The game never seems to intentionally set $CD38CD3B to any nonzero value, but its effect is to allow certain joypad inputs to override scripted movement. It is very generous: As long as the player is holding down any of the specified buttons, the entire joypad input is accepted. For example, if the B button is able to override, then the player can simple hold down the B button to be able to walk in any direction or to stay put.
 
Of course, the point of this whole setup is that the player will be able to walk through walls and NPCs, just like in any scripted movement (except for the [[Get stuck in a wall|last]] [[Walk on water through Surf|step]]).
 
==Variants==
==Guide music in a building sub-glitch==
===Brock Through Walls from a wall===
It is possible to trigger this glitch from the ''top'' of the Youngster, as long as the player can reach there using another glitch (e.g. [[Rival's effect]]). The principle of setup is similar, but instead of "0x10 0x24", the player needs to set up "0x0F 0x23" at an appropriate address, since that is the coordinates of the tile above the Youngster.
 
Notably, this variant is used in the [[Pokémon Yellow reverse badge acquisition no underflow route]], where an HP Up (ID 0x23) picked up on Route 2 is used as part of the setup.
 
===Guide music in a building sub-glitch===
If the player walks into Pewter Museum with this glitch active, it is possible for the guide music to remain playing.
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.