mirror of
https://github.com/Ninjdai1/pokeemerald.git
synced 2025-01-29 14:53:55 +01:00
helping hand ai
This commit is contained in:
parent
e00890a555
commit
8e904ebacb
@ -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:
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user