diff options
author | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-08-12 01:30:45 -0400 |
---|---|---|
committer | ProjectRevoTPP <projectrevotpp@hotmail.com> | 2017-08-12 01:30:45 -0400 |
commit | 6695219f406722e740fff860fe8e094966565d7f (patch) | |
tree | 058066f0002654c448447c6705b9e61c8de824e7 /src/battle/battle_ai.c | |
parent | 1a8fe435e7deabf06029c8e50201136518e3af73 (diff) | |
parent | ea36898775f5e31c6a175251339da1ed60de218d (diff) |
merge
Diffstat (limited to 'src/battle/battle_ai.c')
-rw-r--r-- | src/battle/battle_ai.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle/battle_ai.c b/src/battle/battle_ai.c index a1cb805d9..0e20c6b05 100644 --- a/src/battle/battle_ai.c +++ b/src/battle/battle_ai.c @@ -301,7 +301,7 @@ void BattleAI_SetupAIData(void) for (i = 0; i < MAX_MON_MOVES; i++) AI_THINKING_STRUCT->score[i] = 100; - r7 = sub_8015A98(gActiveBank, 0, 0xFF); + r7 = CheckMoveLimitations(gActiveBank, 0, 0xFF); // probably sets up the moves to consider and ignores non-valid moves such as NO_MOVE or glitch moves. for (i = 0; i < MAX_MON_MOVES; i++) |