From a57753e50c7cc923130a3dea828ca27dc8256a47 Mon Sep 17 00:00:00 2001 From: Thomas Winwood Date: Tue, 19 Nov 2019 13:12:01 +0000 Subject: [PATCH] Updated How to add a new ability (markdown) --- How-to-add-a-new-ability.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/How-to-add-a-new-ability.md b/How-to-add-a-new-ability.md index 0212d43..52b3c8b 100644 --- a/How-to-add-a-new-ability.md +++ b/How-to-add-a-new-ability.md @@ -160,7 +160,8 @@ static void Cmd_weatherdamage(void) static void Cmd_sethail(void) { - if (gBattleWeather & WEATHER_HAIL_ANY) +- if (gBattleWeather & WEATHER_HAIL) ++ if (gBattleWeather & WEATHER_HAIL_ANY) { gMoveResultFlags |= MOVE_RESULT_MISSED; gBattleCommunication[MULTISTRING_CHOOSER] = 2;