diff options
author | Cameron Hall <camthesaxman@users.noreply.github.com> | 2017-07-29 14:48:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-29 14:48:33 -0500 |
commit | ea36898775f5e31c6a175251339da1ed60de218d (patch) | |
tree | 0d15c797794f9fbd840a63f8ef1231b5c9031284 /src/battle_ai.c | |
parent | 6ed20195f090558a86984013a28f31005f9ac735 (diff) | |
parent | 3e48a5af6ce9e435e558662dd54393921d07d1e6 (diff) |
Merge pull request #391 from DizzyEggg/decompile_battle_3
(Don't merge yet) Decompile battle 3
Diffstat (limited to 'src/battle_ai.c')
-rw-r--r-- | src/battle_ai.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_ai.c b/src/battle_ai.c index a1cb805d9..0e20c6b05 100644 --- a/src/battle_ai.c +++ b/src/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++) |