summaryrefslogtreecommitdiff
path: root/src/moves.c
diff options
context:
space:
mode:
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 a7caed6..ed1f38d 100644
--- a/src/moves.c
+++ b/src/moves.c
@@ -251,9 +251,9 @@ s32 GetMovePower(struct PokemonMove *move)
return gMovesData[move->moveID].power;
}
-u8 GetMoveAccuracy(struct PokemonMove *move, u32 r1)
+s32 GetMoveAccuracy(struct PokemonMove *move, u32 accuracyType)
{
- return gMovesData[move->moveID].accuracy[r1];
+ return gMovesData[move->moveID].accuracy[accuracyType];
}
u32 GetMoveMaxPP(struct PokemonMove *move)