diff options
author | U-Maria-PC\Maria <throwawaygolem@gmail.com> | 2017-07-29 17:29:16 -0400 |
---|---|---|
committer | U-Maria-PC\Maria <throwawaygolem@gmail.com> | 2017-07-29 17:29:16 -0400 |
commit | 7203edeeb6f2dc56cf123c9082998fc93e7dc160 (patch) | |
tree | 47d19fd14f2073b0f95422ca54daee2b7bce0e96 /src/battle_ai.c | |
parent | e92408af0133974a769215a83500c965f8524724 (diff) | |
parent | ea36898775f5e31c6a175251339da1ed60de218d (diff) |
Merge branch 'master' of https://github.com/pret/pokeruby
Update
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++) |