diff options
author | Matthew Cabral <mr.matthewcabral@gmail.com> | 2022-01-22 01:25:06 -0500 |
---|---|---|
committer | Matthew Cabral <mr.matthewcabral@gmail.com> | 2022-01-22 01:25:06 -0500 |
commit | 3732d8bf8f191b6d6f236b000f14e8743cb1e2c6 (patch) | |
tree | fbac7c8be90c89b7509cd38a0a741ad2c1e305bd | |
parent | 20c569fbaad934e1c02947163831e7958a202ea9 (diff) |
Fixed `battle_tv.c` instruction in Phys/Spec guide
-rw-r--r-- | Add-Physical-Special-Split.md | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Add-Physical-Special-Split.md b/Add-Physical-Special-Split.md index 699a6a4..af06109 100644 --- a/Add-Physical-Special-Split.md +++ b/Add-Physical-Special-Split.md @@ -175,17 +175,11 @@ IS_TYPE_SPECIAL(gBattleMoves[gCurrentMove]) And lastly, the two in **battle_tv.c** can be changed to: ```c -IS_TYPE_PHYSICAL(move) +IS_TYPE_PHYSICAL(gBattleMoves[gCurrentMove]) ``` and ```c -IS_TYPE_SPECIAL(move) -``` -In order for the `move` variable to stay defined, we will also have to relocate the line `#undef move` in **battle_tv.c** to later in the same function. For simplicity, you can place it next to the other `#undef`'s. It would then look like this: -```c -#undef move -#undef type -#undef power +IS_TYPE_SPECIAL(gBattleMoves[gCurrentMove]) ``` ## 4. Adding the category byte to moves |