summaryrefslogtreecommitdiff
path: root/src/moves.c
diff options
context:
space:
mode:
authorAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-02-24 23:38:21 -0500
committerAnonymousRandomPerson <chenghanngan.us@gmail.com>2022-02-24 23:38:21 -0500
commit6e56b9f0341be0a6c960ea9e8db0939e4fa3cdac (patch)
tree1d2795c706392d5c6d4ce8019bddac2a649e8a2c /src/moves.c
parent40a34fafd685b7df6d1777ec335374ea081adad0 (diff)
Decomped CanUseStatusMove()
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)