Skip to content

Commit

Permalink
Battle Weather Refactor oversight (#5960)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexOn1ine authored Jan 6, 2025
1 parent 5317371 commit bc409b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/battle_util.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bc409b3

Please sign in to comment.