diff options
author | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-13 22:30:25 -0500 |
---|---|---|
committer | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-13 22:30:25 -0500 |
commit | 3bbb6035e746cdb83b128b1d6153436756cb3be0 (patch) | |
tree | d92d7d818749543e4d7012411198c6dac9750468 /src/moves.c | |
parent | a02346be01efa13b6d969a89be642e3450f7ca35 (diff) |
Decomped GetMoveTargetingFlagsForPokemon()
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) |