diff options
-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 |