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