diff options
author | Idain <luiscarlosholguinperez@outlook.com> | 2021-04-08 19:07:13 -0400 |
---|---|---|
committer | Idain <luiscarlosholguinperez@outlook.com> | 2021-04-08 19:07:13 -0400 |
commit | 66c767c7b499c7ea5210c740d2c775ec04ae6013 (patch) | |
tree | 826ad5d51cb1a74a46fcd03d25dc69355c9a01bc | |
parent | 9cf878ff85efe1de714cb0eb9b4729434b325af8 (diff) |
Small improvement to the grammar.
-rw-r--r-- | Make-Sandstorm-raise-the-Special-Defense-of-Rock-type-Pokémon-by-50%.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Make-Sandstorm-raise-the-Special-Defense-of-Rock-type-Pokémon-by-50%.md b/Make-Sandstorm-raise-the-Special-Defense-of-Rock-type-Pokémon-by-50%.md index a909af3..e05c099 100644 --- a/Make-Sandstorm-raise-the-Special-Defense-of-Rock-type-Pokémon-by-50%.md +++ b/Make-Sandstorm-raise-the-Special-Defense-of-Rock-type-Pokémon-by-50%.md @@ -3,13 +3,13 @@ From generation 4 onwards, the Sandstorm weather raises the Special Defense of R ## Contents -1. [Create the function SandstormSpDefBoost](#1-create-the-function-sandstormspdefboost) +1. [Create the new function](#1-create-the-new-function) 2. [Call the function while getting the damage stats](#2-call-the-function-while-getting-the-damage-stats) -## 1. Create the function "SandstormSpDefBoost" +## 1. Create the new function -In [engine/battle/effect_commands.asm](../blob/master/engine/battle/effect_commands.asm), create the new function: +In [engine/battle/effect_commands.asm](../blob/master/engine/battle/effect_commands.asm), create a new function called `SandstormSpDefBoost`: ```diff +SandstormSpDefBoost: @@ -42,7 +42,7 @@ In [engine/battle/effect_commands.asm](../blob/master/engine/battle/effect_comma + ld c, l + ret ``` -The 1st thing you might've noticed is that we're using the opponent's types instead of the user's to perform the boost. This is because we're gonna make the check while getting the damage stats, i.e. when _the user is attacking the opponent_. +You might've noticed that we're using the opponent's types instead of the user's to apply the boost. This is because we're gonna make the check while the game is getting the damage stats, i.e., when _the **user** is attacking the opponent_. ## 2. Call the function while getting the damage stats @@ -74,4 +74,4 @@ EnemyAttackDamage: ... ``` -And that's it! Now the game will try to perform the boost while getting the Sp. Def of the opponent by first checking the weather and then the opponent's types. If the check is successful, it'll get the 50% boost from the Sandstorm.
\ No newline at end of file +And that's it! Now the game will try to apply the boost while getting the Special Defense of the opponent by first checking the weather and then its types. If the check is successful, the opponent will get the 50% boost from the Sandstorm.
\ No newline at end of file |