summaryrefslogtreecommitdiff
path: root/src/battle_ai.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2017-07-23 23:56:42 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2017-07-23 23:56:42 +0200
commit551339599934103779bc81b4f258a5d611cf4f80 (patch)
tree02e8c016d3ff26c771180dcde2a8245788265e27 /src/battle_ai.c
parentbb0cad7c072703f5a540e8c22c8e137267331f4d (diff)
start decompiling battle_3 git sucks
Diffstat (limited to 'src/battle_ai.c')
-rw-r--r--src/battle_ai.c2
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++)