Jump to content

Brock through walls: Difference between revisions

m
→‎Brock Fly: Capitalized stat names (Special and Attack)
>Torchickens
No edit summary
m (→‎Brock Fly: Capitalized stat names (Special and Attack))
Line 70:
==Variants==
===Brock Fly===
In order to execute Brock Through Walls, the invalid path needs to be long enough to overwrite at least the entire RAM region between $CCD3 and $CD3B. Most addresses in this region are temporary variables anyway; however, this region includes $CD2D (wEngagedTrainerClass) and $CD2E (wEngagedTrainerSet), which determines the species and level of the Pokémon encountered with the [[trainer escape glitch]] (normally the specialSpecial stat and attackAttack modifier of the last enemy Pokémon). Therefore, by doing a trainer escape, and performing this glitch before going back to the route, the player can set up a "specialSpecial stat encounter" without needing to fight a Pokémon with the appropriate specialSpecial stat and attackAttack modifier. Notably, this allows encountering a Pokémon whose level is not in the 1~13 range (the valid range for the attackAttack modifier byte).
 
This variant is named "Brock Fly" because "Trainer Fly" is a more commonly known name for the trainer escape glitch, but of course other escape methods (Teleport, Dig/Escape Rope, death-warp) can also be used.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.