Add missing use of ALL_MOVES_MASK
This commit is contained in:
@@ -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