diff options
-rw-r--r-- | Tutor-Move.md | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/Tutor-Move.md b/Tutor-Move.md index 330f44c..e7c0999 100644 --- a/Tutor-Move.md +++ b/Tutor-Move.md @@ -1,4 +1,4 @@ -Pokemon Crystal was the first time in the series' history that the player was introduced to move tutors. They teach the player's Pokemon some interesting moves, usually for a price. +Pokémon Crystal was the first time in the series' history that the player was introduced to move tutors. They teach the player's Pokémon some interesting moves, usually for a price. In this tutorial we will be expanding the existing move tutor code in pokecrystal, and create a new move tutor script to be used in a map. For this example, we will be creating a move tutor for Softboiled. @@ -60,7 +60,7 @@ Pretty straightforward, huh? But what if we wanted to add more moves? It's not o Remove the checks entirely, and let the move tutor script in a map tell `a` which tutor move to load instead! This means you can add a few more tutor moves, and the game should handle it perfectly, if you create the right move tutor script. But first, we need to apply this new engine change to the existing move tutor in Goldenrod. -##2. Edit Goldenrod Move Tutor to support the new changes +## 2. Edit Goldenrod Move Tutor to support the new changes Now that `.GetMoveTutorMove` is edited to load whatever move the map script wants into `a`, we need to change the Goldenrod Move Tutor to support this change. @@ -141,11 +141,11 @@ In this case, now that we've edited `.GetMoveTutorMove` to not contain `MOVETUTO Now he functions just the same as before, but now the code that let him teach moves can now be expanded to teach others, as well. -##3. Create a new tutor move -There are three parts to creating a new tutor move. Defining the constant, defining the move, and lastly, adding the move to a Pokemon's existing learnset. +## 3. Create a new tutor move +There are three parts to creating a new tutor move. Defining the constant, defining the move, and lastly, adding the move to a Pokémon's existing learnset. Let's define the constant first. Open [constants/item_constants.asm](../blob/master/constants/item_constants.asm) -Even though tutor moves aren't items and therefore do not have item constants, they're technically still similar to TMs and HMs, in order to work with Pokemon movesets. So they must be defined as such below. +Even though tutor moves aren't items and therefore do not have item constants, they're technically still similar to TMs and HMs, in order to work with Pokémon movesets. So they must be defined as such below. ```diff add_hm: MACRO @@ -218,7 +218,7 @@ Just like before, tutor moves come after HMs. Be sure to adhere to the order, an db 0 ; end ``` -Now that the new tutor move is defined, and has been added as a tutor move, we need to add the tutor move to a Pokemon's learnset. For this example, we'll specifically be using Chansey. Chansey's signature move is Softboiled, and is already learned on level up(evos_attacks.asm). But even if a Pokemon can naturally learn this tutor move, the tutor still can't teach it without the tutor move being added to the end of the Chansey's learnset! Just like before, tutor moves come after HMs. +Now that the new tutor move is defined, and has been added as a tutor move, we need to add the tutor move to a Pokémon's learnset. For this example, we'll specifically be using Chansey. Chansey's signature move is Softboiled, and is already learned on level up(evos_attacks.asm). But even if a Pokemon can naturally learn this tutor move, the tutor still can't teach it without the tutor move being added to the end of the Chansey's learnset! Just like before, tutor moves come after HMs. Open up Chansey's base stats at [data/pokemon/base_stats/chansey.asm](../blob/master/data/pokemon/base_stats/chansey.asm) @@ -258,7 +258,7 @@ What we want to edit is the tm/hm learnset at the bottom. The TMs and HMs all fo With that, our new tutor move has been created, and a Pokemon can learn it. All that's left to do is to create a new tutor to actually teach the move to our Chansey. -##4. Create a new Move Tutor script +## 4. Create a new Move Tutor script For this example, we'll be editing an NPC in Celadon City to turn them into a Softboiled move tutor, much like the one in Gen 3's Fire Red/Leaf Green. @@ -392,7 +392,7 @@ There we go! A brand new move tutor! Now you know how it's done, you can expand  -##5. Other examples +## 5. Other examples Now that new tutors can be added to the game, what else could you do? Like the tutors from Gen 3 onwards, you can charge a price, or demand a specific item. Adding a `checkitem` command is very simple, but effective! For this example, we will be using a `POKE_DOLL`. ```diff @@ -471,6 +471,7 @@ CeladonCityTutorSoftboiledScript: writetext CeladonCityTutorSoftboiledText2 yesorno iffalse .TutorRefused ++ takemoney YOUR_MONEY, 1000 writebyte SOFTBOILED writetext CeladonCityTutorSoftboiledClear special MoveTutor |