From 3bbb6035e746cdb83b128b1d6153436756cb3be0 Mon Sep 17 00:00:00 2001 From: AnonymousRandomPerson Date: Sun, 13 Feb 2022 22:30:25 -0500 Subject: Decomped GetMoveTargetingFlagsForPokemon() --- src/moves.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/moves.c') 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) -- cgit v1.2.3