mirror of
https://github.com/pret/pokeemerald.git
synced 2026-09-30 13:57:40 -05:00
Battle Weather Refactor oversight (#5960)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user