summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Winwood <twwinwood@7storm.org>2019-11-19 13:12:01 +0000
committerThomas Winwood <twwinwood@7storm.org>2019-11-19 13:12:01 +0000
commita57753e50c7cc923130a3dea828ca27dc8256a47 (patch)
tree180d124ed6cbfd3b16696e04441f8d140e46a04d
parent3b3de80648f576d5985ec696012c54e9a96b180a (diff)
Updated How to add a new ability (markdown)
-rw-r--r--How-to-add-a-new-ability.md3
1 files changed, 2 insertions, 1 deletions
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;