From 0d6ca51a729f08ea103cf50cfbda5090f9f1883c Mon Sep 17 00:00:00 2001 From: kittenchilly Date: Sun, 21 Jul 2024 19:02:54 -0500 Subject: [PATCH 1/2] Make Snow Warning description respect config --- src/data/abilities.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/data/abilities.h b/src/data/abilities.h index 8fc7d699e1ce..9fd67019d590 100644 --- a/src/data/abilities.h +++ b/src/data/abilities.h @@ -881,7 +881,11 @@ const struct Ability gAbilitiesInfo[ABILITIES_COUNT] = [ABILITY_SNOW_WARNING] = { .name = _("Snow Warning"), - .description = COMPOUND_STRING("Summons a Hailstorm."), + #if B_SNOW_WARNING >= GEN_9 + .description = COMPOUND_STRING("Summons snow in battle."), + #else + .description = COMPOUND_STRING("Summons hail in battle."), + #endif .aiRating = 8, }, From 741212d15e2e56cdef70e508511d41f8b4f02894 Mon Sep 17 00:00:00 2001 From: Eduardo Quezada Date: Sun, 21 Jul 2024 20:27:40 -0400 Subject: [PATCH 2/2] Update src/data/abilities.h --- src/data/abilities.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/data/abilities.h b/src/data/abilities.h index 9fd67019d590..ccb27ffe35ff 100644 --- a/src/data/abilities.h +++ b/src/data/abilities.h @@ -881,11 +881,11 @@ const struct Ability gAbilitiesInfo[ABILITIES_COUNT] = [ABILITY_SNOW_WARNING] = { .name = _("Snow Warning"), - #if B_SNOW_WARNING >= GEN_9 - .description = COMPOUND_STRING("Summons snow in battle."), - #else - .description = COMPOUND_STRING("Summons hail in battle."), - #endif + #if B_SNOW_WARNING >= GEN_9 + .description = COMPOUND_STRING("Summons snow in battle."), + #else + .description = COMPOUND_STRING("Summons hail in battle."), + #endif .aiRating = 8, },