diff options
author | Fatih120 <fatihhatesios@gmail.com> | 2021-11-23 19:35:32 +0300 |
---|---|---|
committer | Fatih120 <fatihhatesios@gmail.com> | 2021-11-23 19:35:32 +0300 |
commit | a167614adcbe9981c942682afec2983b2151fac9 (patch) | |
tree | 2862298e63ea0d71c969ece49f35cf2cb03591cd | |
parent | 290391ed454ff552ade189a638d54fcce55efe2a (diff) |
B_WEATHER_HAIL
-rw-r--r-- | Fix-Snow-Weather.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Fix-Snow-Weather.md b/Fix-Snow-Weather.md index 7e64606..2d232dc 100644 --- a/Fix-Snow-Weather.md +++ b/Fix-Snow-Weather.md @@ -37,9 +37,9 @@ Credit to Samu, To allow hail on when snow is present, go to **src/battle_util.c Search for `switch (GetCurrentWeather())` (Around line 2908) and input these code below the `WEATHER_DROUGHT` code. ```c case WEATHER_SNOW: - if (!(gBattleWeather & WEATHER_HAIL_ANY)) + if (!(gBattleWeather & B_WEATHER_HAIL)) { - gBattleWeather = WEATHER_HAIL_ANY; + gBattleWeather = B_WEATHER_HAIL; gBattleScripting.animArg1 = B_ANIM_HAIL_CONTINUES; gBattleScripting.battler = battler; effect++; |