diff options
Diffstat (limited to 'src/moves.c')
-rw-r--r-- | src/moves.c | 4 |
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) |