Merge pull request #1722 from AsparagusEduardo/fix_HeatCrash
Fixed Heat Crash's power table name
This commit is contained in:
commit
1b663feafb
1 changed files with 4 additions and 4 deletions
|
@ -7317,7 +7317,7 @@ static const u16 sWeightToDamageTable[] =
|
|||
};
|
||||
|
||||
static const u8 sSpeedDiffPowerTable[] = {40, 60, 80, 120, 150};
|
||||
static const u8 sHeatCrushPowerTable[] = {40, 40, 60, 80, 100, 120};
|
||||
static const u8 sHeatCrashPowerTable[] = {40, 40, 60, 80, 100, 120};
|
||||
static const u8 sTrumpCardPowerTable[] = {200, 80, 60, 50, 40};
|
||||
|
||||
const struct TypePower gNaturalGiftTable[] =
|
||||
|
@ -7512,10 +7512,10 @@ static u16 CalcMoveBasePower(u16 move, u8 battlerAtk, u8 battlerDef)
|
|||
break;
|
||||
case EFFECT_HEAT_CRASH:
|
||||
weight = GetBattlerWeight(battlerAtk) / GetBattlerWeight(battlerDef);
|
||||
if (weight >= ARRAY_COUNT(sHeatCrushPowerTable))
|
||||
basePower = sHeatCrushPowerTable[ARRAY_COUNT(sHeatCrushPowerTable) - 1];
|
||||
if (weight >= ARRAY_COUNT(sHeatCrashPowerTable))
|
||||
basePower = sHeatCrashPowerTable[ARRAY_COUNT(sHeatCrashPowerTable) - 1];
|
||||
else
|
||||
basePower = sHeatCrushPowerTable[i];
|
||||
basePower = sHeatCrashPowerTable[i];
|
||||
break;
|
||||
case EFFECT_PUNISHMENT:
|
||||
basePower = 60 + (CountBattlerStatIncreases(battlerDef, FALSE) * 20);
|
||||
|
|
Loading…
Reference in a new issue