User:TimoVM/TM codes: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
(Created page with "This page serves as a repository for a list of modular TM codes for use in Gold/Silver. These consists of two segments: * Write a small program using the quantities of TM01 through TM18 that either runs a modular code or, when holding select while activating ACE, resets the quantities of TM19 through TM50 to x255. * Write out a modular code in the quantities of TM19 through TM50 and run it using the first program. This page assumes that you have previously set the quan...") |
No edit summary |
||
Line 2: | Line 2: | ||
* Write a small program using the quantities of TM01 through TM18 that either runs a modular code or, when holding select while activating ACE, resets the quantities of TM19 through TM50 to x255. |
* Write a small program using the quantities of TM01 through TM18 that either runs a modular code or, when holding select while activating ACE, resets the quantities of TM19 through TM50 to x255. |
||
* Write out a modular code in the quantities of TM19 |
* Write out a modular code in the quantities of TM19 onward and run it using the first program. |
||
This page assumes that you have previously set the quantiities of all TMs to x255 and have a way to redirect execution to the TM/HM pocket. |
This page assumes that you have previously set the quantiities of all TMs to x255 and have a way to redirect execution to the TM/HM pocket. |
||
=Setup= |
|||
* Sell the following TMs until you reach the following final quantities: |
|||
{| class="wikitable" |
|||
! TM !! Final quantity !! Amount sold for |
|||
|- |
|||
| TM01 || 33 || 3300000 |
|||
|- |
|||
| TM02 || 144 || 111000 |
|||
|- |
|||
| TM03 || 213 || 63000 |
|||
|- |
|||
| TM04 || 240 || 15000 |
|||
|- |
|||
| TM05 || 170 || 42500 |
|||
|- |
|||
| TM06 || 203 || 78000 |
|||
|- |
|||
| TM07 || 71 || 184000 |
|||
|- |
|||
| TM08 || 202 || 26500 |
|||
|- |
|||
| TM09 || 72 || 91500 |
|||
|- |
|||
| TM10 || 39 || 324000 |
|||
|- |
|||
| TM11 || 01 || 254000 |
|||
|- |
|||
| TM12 || 32 || 127500 |
|||
|- |
|||
| TM13 || 00 || 127500 |
|||
|- |
|||
| TM14 || 62 || 289500 |
|||
|- |
|||
| TM15 || 255 || 0 |
|||
|- |
|||
| TM16 || 195 || 90000 |
|||
|- |
|||
| TM17 || 76 || 268500 |
|||
|- |
|||
| TM18 || 49 || 206000 |
|||
|} |
|||
'''Do not execute the ACE item yet!! This code only works properly when combined with one of the modular codes from the next section.''' |
|||
This code has two main functions: |
|||
* By using the ACE item normally, the game will set up everything necessary to execute a set of script commands. '''When you close the start menu and return to the overworld, the game will execute script commands from the quantities of TM19 onward.''' |
|||
* By using the ACE item while holding SELECT, the code immediately resets the quantities of TM19 through TM50. This erases the current modular code, allowing you to write a new modular code. |
|||
Please note that there are a few things to look out for: |
|||
* Do NOT execute the setup without having written a modular code from the quantities of TM19 onward. Doing this will cause the game to freeze. |
|||
* In a similar vein, do NOT reset the modular code if you have already queued up a script to execute after closing the start menu. Doing this will cause the game to freeze. |
|||
* Ensure to properly read usage note for every modular code. |