summaryrefslogtreecommitdiff
path: root/src/moves.c
diff options
context:
space:
mode:
authorAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-02-13 22:30:25 -0500
committerAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-02-13 22:30:25 -0500
commit3bbb6035e746cdb83b128b1d6153436756cb3be0 (patch)
treed92d7d818749543e4d7012411198c6dac9750468 /src/moves.c
parenta02346be01efa13b6d969a89be642e3450f7ca35 (diff)
Decomped GetMoveTargetingFlagsForPokemon()
Diffstat (limited to 'src/moves.c')
-rw-r--r--src/moves.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/moves.c b/src/moves.c
index 2a0703b..b7c8ad8 100644
--- a/src/moves.c
+++ b/src/moves.c
@@ -158,9 +158,9 @@ void InitZeroedPPPokemonMove(struct PokemonMove *move, u16 moveID)
move->PP = 0;
}
-s16 GetMoveTargetingFlags(struct PokemonMove *move, u32 r1)
+s16 GetMoveTargetingFlags(struct PokemonMove *move, u32 isAI)
{
- return gMovesData[move->moveID].targetingFlags[r1];
+ return gMovesData[move->moveID].targetingFlags[isAI];
}
u8 GetMoveType(struct PokemonMove *move)