Jump to content

User:CytricAcid/Beginner's Guide To ACE/US Red and Blue Guide: Difference between revisions

→‎{{Anchor|Setup}}2. Party setup: Described the setup. The Meowth setup probably should be added as a subsection.
(→‎TL;DR: Modified the first codes to avoid quantities above 99.)
(→‎{{Anchor|Setup}}2. Party setup: Described the setup. The Meowth setup probably should be added as a subsection.)
Line 145:
 
== {{Anchor|Setup}}2. Party setup ==
Conceptually, this is the simplest step since it does not involve any glitches. Just edit your party so that the following are true:
(TODO: Link to [[bp:Tentacool_(Pokémon)/Generation_I_learnset|Tentacool's learnset]] somewhere)
* '''You have 2–5 Pokémon in your party.'''
* '''The first Pokémon is a Tentacool.'''
* '''The second Pokémon is an Onix.'''
* '''The Tentacool in the first slot of the party has four moves with the following amounts of remaining PP:'''
** '''33 for 1st move (0 PP Up used)'''
** '''34 for 2nd move (0 PP Up used)'''
** '''19 for 3rd move (3 PP Up used)'''
** '''41 for 4th move (3 PP Up used)'''
 
{{Explanation|title=ASM translation|contents=
<pre>
; Initial hl = 0xD163, a = 0x63, bc = 0x00B8
$D163 <- 02/03/04/05 || ld [bc], a / inc bc / inc b / dec b
$D164 <- 24 22 || jr 0x22 ; pc = $D166 + 0x22 = $D188
(...)
$D188 <- 21 22 D3 || ld hl, 0xD322
$D18B <- E9 || jp hl ; pc = $D322
</pre>
Here the register <code>a</code> was a temporary variable for reading out the jump destination $D163, and <code>bc</code> was the offset into <code>ItemUsePtrTable</code> (here (0x5D - 1) * 2, where 0x5D is the item ID of 8F).
* If the party contains only 2 Pokémon (i.e. nothing other than Tentacool and Onix), then the first instruction will try to write 0x63 to the ROM address $00B8, which [[SRAM|locks the SRAM]] instead.
** This is generally not a bad thing (it makes things safer in case there is something wrong with the item code), but it might stop you from writing to the SRAM with a simple memory writer, so in that case you probably want to have more than 2 Pokémon in your party to avoid this.
* The other possible first instructions do nothing as long as the item code jumped to does not make any assumption on the values of <code>a</code> and <code>bc</code>.
}}
 
Just in case you are not familiar with the [[bp:PP Up|PP Up]], it is an item that can permanently raise the maximum PP of a move. Up to three PP Ups can be used on the same move, each increasing the maximum PP by 1/5 of the base PP (as an exception, in Generation I, if the base PP is 40, it will only be increased by 7 each time instead of 8). The number of PP Ups used is stored in the same byte as the current PP value, so for the purpose of this setup, it is as important as the PP value itself.
 
To show a concrete example of the Tentacool PP setup: (TODO: Screenshot instead of text?)
<pre>
Constrict PP 33/35
Poison Sting PP 34/35
Surf PP 19/24
Cut PP 41/48
</pre>
 
The biggest problem with making this setup is to find moves with enough base PP. In particular, the 1st and 2nd moves need to have at least 35 base PP (note that, since the setup explicitly calls for 0 PP Ups, they cannot help here). As can be seen from [[bp:Tentacool_(Pokémon)/Generation_I_learnset|Tentacool's Generation I learnset]], the only options are three level-up moves: Poison Sting (level 18), Constrict (level 27), and Screech (level 40). Therefore you need to either catch the Tentacool at or raise it to at least level 27. Remember that you can switch moves around by using the Select button in a battle.
 
For the 3rd and 4th moves, there are more choices: They only need to have at least 15 and 30 base PP respectively, and preferably exactly 15 and 30 base PP since then the minimal amount of PP need to be used in order to get to the specified amounts. As shown above, you can always use the HM moves Surf and Cut for this purpose, but a lot of other level-up moves and TM moves also work. A strategy that might be useful is to use non-damaging moves such as Double Team and Barrier, so that you can spam them in wild battles without killing the opposing Pokémon.
 
Once you have double checked your party (don't forget the Onix) and Tentacool's PP values, you can move to the next and final section. As a final reminder, keep in mind that healing your party will mess up the PP values and thus the setup.
 
== 3. Setting up our first code ==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.