From 44f1bcedec8d54f414ae043e4f0f705dc6100120 Mon Sep 17 00:00:00 2001 From: LOuroboros Date: Mon, 12 Oct 2020 08:17:05 -0300 Subject: Fixed indentation in the WEATHER_SNOW's entry at switch (GetCurrentWeather()) --- Fix-Snow-Weather.md | 18 +++++++++--------- 1 file 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. -- cgit v1.2.3