Battle Weather Refactor oversight (#5960)
This commit is contained in:
parent
5317371fea
commit
bc409b3028
1 changed files with 1 additions and 1 deletions
|
@ -4043,7 +4043,7 @@ bool32 TryChangeBattleWeather(u32 battler, u32 battleWeatherId, bool32 viaAbilit
|
|||
gBattleWeather = sBattleWeatherInfo[battleWeatherId].flag;
|
||||
if (gBattleWeather & B_WEATHER_PRIMAL_ANY)
|
||||
gWishFutureKnock.weatherDuration = 0;
|
||||
if (rock != 0 && GetBattlerHoldEffect(battler, TRUE) == rock)
|
||||
else if (rock != 0 && GetBattlerHoldEffect(battler, TRUE) == rock)
|
||||
gWishFutureKnock.weatherDuration = 8;
|
||||
else
|
||||
gWishFutureKnock.weatherDuration = 5;
|
||||
|
|
Loading…
Reference in a new issue