helping hand ai

This commit is contained in:
DizzyEggg 2019-05-20 14:36:46 +02:00
parent e00890a555
commit 8e904ebacb
2 changed files with 3 additions and 3 deletions

View File

@ -3372,7 +3372,7 @@ AI_ConsiderAllyChosenMoveRet:
AI_PartnerChoseHelpingHand:
@ Do not use a status move if you know your move's power will be boosted
get_considered_move_power
if_equal 0, Score_Minus3
if_equal 0, Score_Minus5
end
AI_ConsiderAllyKnownMoves:
@ -3383,7 +3383,7 @@ AI_ConsiderAllyKnownMoves:
end
AI_HelpingHandInDoubles:
if_has_no_attacking_moves AI_USER_PARTNER, Score_Minus3
if_has_no_attacking_moves AI_USER_PARTNER, Score_Minus5
end
AI_DoubleBattle:

View File

@ -1342,7 +1342,7 @@ static void SetUpModifyArrows(struct BattleDebugMenu *data)
data->modifyArrows.minValue = 0;
data->modifyArrows.maxValue = 255;
data->modifyArrows.maxDigits = 3;
data->modifyArrows.modifiedValPtr = &gBattleResources->ai->score;
data->modifyArrows.modifiedValPtr = gBattleResources->ai->score;
data->modifyArrows.typeOfVal = VAL_S8;
data->modifyArrows.currValue = gBattleResources->ai->score[data->currentSecondaryListItemId];
break;