diff options
author | LOuroboros <lunosouroboros@gmail.com> | 2020-10-12 08:17:05 -0300 |
---|---|---|
committer | LOuroboros <lunosouroboros@gmail.com> | 2020-10-12 08:17:05 -0300 |
commit | 44f1bcedec8d54f414ae043e4f0f705dc6100120 (patch) | |
tree | 798511d6d244a05768bc54677e2b64a769c0a1d9 | |
parent | f94375993d3179fd07fe14bb5ef13b3ba564489b (diff) |
Fixed indentation in the WEATHER_SNOW's entry at switch (GetCurrentWeather())
-rw-r--r-- | Fix-Snow-Weather.md | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Fix-Snow-Weather.md b/Fix-Snow-Weather.md index e4dc670..7a3ff30 100644 --- a/Fix-Snow-Weather.md +++ b/Fix-Snow-Weather.md @@ -49,15 +49,15 @@ The snow is spawned based on gSpriteCoordOffsetX/Y, which is not updated until a 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)) - { - gBattleWeather = WEATHER_HAIL_ANY; - gBattleScripting.animArg1 = B_ANIM_HAIL_CONTINUES; - gBattleScripting.battler = battler; - effect++; - } - break; + case WEATHER_SNOW: + if (!(gBattleWeather & WEATHER_HAIL_ANY)) + { + gBattleWeather = WEATHER_HAIL_ANY; + gBattleScripting.animArg1 = B_ANIM_HAIL_CONTINUES; + gBattleScripting.battler = battler; + effect++; + } + break; ``` The only thing left to do is to change the text string assigned to the snowy weather when it's casted in battle. |