Guides:Wrong Pocket TM ACE setup (non-EN): Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
mNo edit summary
No edit summary
Line 1: Line 1:
{{Guides header|Wrong pocket TMs and HMs}}
{{Guides header|Wrong pocket TMs and HMs}}


This page serves as a repository for a Wrong Pocket TM ACE setup for the French, German, Italian and Spanish versions of Pokémon Gold & Silver.
This page serves as a repository for a Wrong Pocket TM ACE setup for the French, German, Italian and Spanish versions of Pokémon Gold & Silver. It is part of the [[Guides:TimoVM's_gen_2_ACE_setups|Guides:TimoVM's gen 2 ACE setups]] set of guides.


'''Please make sure to fully read every step of the guide before executing them.'''
'''Please make sure to fully read every step of the guide before executing them.'''
Line 11: Line 11:
In the generation 2 games, items are stored in their own dedicated compartiments. All TMs and HMs are stored in their own pocket, all key items are kept in their own pocket, etc..
In the generation 2 games, items are stored in their own dedicated compartiments. All TMs and HMs are stored in their own pocket, all key items are kept in their own pocket, etc..


By glitching an item into a pocket that it's not supposed to be, we can use the item to get various glitchy effects. In particular, using TMs from the wrong pocket will confuse the game, causing it to treat the TM as a "normal" items and execute invalid item effects, some of which can lead to arbitrary code execution.
By glitching an item into a pocket that it's not supposed to be, we can use the item to achieve various glitchy effects. In particular, using TMs from the wrong pocket will confuse the game, causing it to treat the TM as a "normal" item and execute invalid item effects, some of which can lead to arbitrary code execution.


TM25, in particular, executes code starting from $FA6A, a copy of address $DA6A. This region corresponds to party pokémon #2's stat experience. In this guide, we'll go through the process of obtaining TM25 outside the TM/HM pocket, along with how to obtain a pokémon that can redirect TM25's effect to the start of box names ($D8BF).
TM25, in particular, executes code starting from $FA6A, a duplicate of address $DA6A. This region corresponds to party pokémon #2's stat experience. In this guide, we'll go through the process of obtaining TM25 outside the TM/HM pocket, along with how to obtain a pokémon that can redirect TM25's effect to the start of box names ($D8BF).


In practice, the initial ACE setup will be created using the following general process:
In practice, the initial ACE setup will be created using the following general process:
Line 37: Line 37:
* Due to technical reasons, please ensure that the following is true for your trainer ID:
* Due to technical reasons, please ensure that the following is true for your trainer ID:
** Your trainer ID must not be equal or higher than 65280.
** Your trainer ID must not be equal or higher than 65280.
** The remainder of your trainer ID divided by 256 must not be equal to 255.
** The remainder after dividing your trainer ID by 256 must not be equal to 255.
* If your trainer ID does not fulfill both requirements, one of the methods described in the guide will not work correctly. When starting from a new save, it is recommended to reset your game until you get a compatible trainer ID. If you do not wish to reset your save, a workaround is provided that requires you to not have traded the Machop in Goldenrod City yet.
* If your trainer ID does not fulfill both requirements, one of the methods described in the guide will not work correctly. When starting from a new save, it is recommended to reset your game until you get a compatible trainer ID. If you do not wish to reset your save, a workaround is provided that requires you to not have traded the Machop in Goldenrod City yet.


Line 43: Line 43:


# Either on route 32 or route 33, catch a pokémon that is at least lvl 6 and not a Hoppip. Give it a specific nickname, such as "BOXCODES" to remember that it will be used as part of a wrong pocket TM25 ACE setup that executes box name codes.
# Either on route 32 or route 33, catch a pokémon that is at least lvl 6 and not a Hoppip. Give it a specific nickname, such as "BOXCODES" to remember that it will be used as part of a wrong pocket TM25 ACE setup that executes box name codes.
# Have it fight the following pokémon and defeat them by itself (order doesn't matter, '''must''' be the only pokémon to gain experience from the battle)
# Have it fight the following pokémon and defeat them solo (order doesn't matter, the pokémon '''must''' be the only pokémon to gain experience from the battle)
#* Rattata - Route 32 or Route 33
#* Rattata - Route 32 or Route 33
#* Hoppip - Route 32 or Route 33, higher spawn rate on route 33 compared to route 32
#* Hoppip - Route 32 or Route 33, higher spawn rate on route 33 compared to route 32
#* Hoppip - Route 32 or Route 33, higher spawn rate on route 33 compared to route 32
#* Hoppip - Route 32 or Route 33, higher spawn rate on route 33 compared to route 32
# Have it fight the following pokémon with the help of exactly one pokémon ('''the experience must be shared between exactly two party pokémon''')
# Have it fight the following pokémon with the help of exactly one other pokémon ('''the experience must be shared between exactly two party pokémon''')
#* Onix- Union Cave
# The "BOXCODES" nicknamed pokémon must never gain experience from any other battle
# The "BOXCODES" nicknamed pokémon must never gain experience from any other battle
# Buy a Flower Mail, can be bought in Goldenrod Dept. Store
# Buy a Flower Mail, can be bought in Goldenrod Dept. Store
Line 75: Line 74:
==Requirements==
==Requirements==


* A box that has never been full at any point in the past.
* A box that has never been completely full at any point in the past.
* Fill this box with 15 pokémon. You can use [[Pokémon cloning (Generation II)|cloning glitch]] to obtain the required pokémon.
* Fill this box with 15 pokémon. You can use [[Pokémon cloning (Generation II)|cloning glitch]] to obtain the required pokémon.
* An additional pokémon that you can deposit to the PC.
* An additional pokémon that you can deposit to the PC.
Line 97: Line 96:
=Step 3: Obtaining additional bicycles and getting TM25 in the ball pocket=
=Step 3: Obtaining additional bicycles and getting TM25 in the ball pocket=


This works in any language version on any generation 2 game, the method is based on a translation of a [[https://nakayoshibaddi.hatenadiary.jp/entry/2017/08/15/223932 blogpost from 任意コード]]. When in the ball pocket, TM25 functions as a wrong pocket TM with its effect pointer at $DA6A (middle of the second party pokémon's stat experience data).
This works in any language version on any generation 2 game, the method is based on a translation of a [[https://nakayoshibaddi.hatenadiary.jp/entry/2017/08/15/223932 blogpost from 任意コード]].


This method will only work if your trainer ID fulfills both of the following requirements:
This method will only work if your trainer ID fulfills both of the following requirements:
* Your trainer ID must not be equal or higher than 65280.
* Your trainer ID must not be equal or higher than 65280.
* The remainder of your trainer ID divided by 256 must not be equal to 255.
* The remainder after dividing your trainer ID by 256 must not be equal to 255.
If your trainer ID does not fulfill both requirements and you do not wish to reset your save, please follow the following steps:
If your trainer ID does not fulfill both requirements and you do not wish to reset your save, please follow the following steps:


Line 261: Line 260:
A A p ñ Á 2
A A p ñ Á 2
|}
|}



* Test box codes
* Test box codes