Use the right defensive target stats during Shell Side Arm calculation
This commit is contained in:
parent
b23d5db598
commit
4bdbef9a9d
1 changed files with 2 additions and 2 deletions
|
@ -9036,7 +9036,7 @@ static void Cmd_various(void)
|
|||
attackerAtkStat *= gStatStageRatios[statStage][0];
|
||||
attackerAtkStat /= gStatStageRatios[statStage][1];
|
||||
|
||||
statStage = gBattleMons[gBattlerTarget].statStages[STAT_ATK];
|
||||
statStage = gBattleMons[gBattlerTarget].statStages[STAT_DEF];
|
||||
targetDefStat *= gStatStageRatios[statStage][0];
|
||||
targetDefStat /= gStatStageRatios[statStage][1];
|
||||
|
||||
|
@ -9046,7 +9046,7 @@ static void Cmd_various(void)
|
|||
attackerSpAtkStat *= gStatStageRatios[statStage][0];
|
||||
attackerSpAtkStat /= gStatStageRatios[statStage][1];
|
||||
|
||||
statStage = gBattleMons[gBattlerTarget].statStages[STAT_SPATK];
|
||||
statStage = gBattleMons[gBattlerTarget].statStages[STAT_SPDEF];
|
||||
targetSpDefStat *= gStatStageRatios[statStage][0];
|
||||
targetSpDefStat /= gStatStageRatios[statStage][1];
|
||||
|
||||
|
|
Loading…
Reference in a new issue