Add missing use of ALL_MOVES_MASK
This commit is contained in:
1 parent
10a10e914b
commit
aca7998b93
7 files changed
+12
-11
No files matched your search
@@ -1515,7 +1515,7 @@ static void PlayerPartnerHandleChooseMove(void)
|
||||
u8 chosenMoveId;
|
||||
struct ChooseMoveStruct *moveInfo = (struct ChooseMoveStruct *)(&gBattleBufferA[gActiveBattler][4]);
|
||||
|
||||
BattleAI_SetupAIData(0xF);
|
||||
BattleAI_SetupAIData(ALL_MOVES_MASK);
|
||||
chosenMoveId = BattleAI_ChooseMoveOrAction();
|
||||
|
||||
if (gBattleMoves[moveInfo->moves[chosenMoveId]].target & (MOVE_TARGET_USER | MOVE_TARGET_USER_OR_SELECTED))
|
||||
|
||||
Reference in new issue
Block a user