summaryrefslogtreecommitdiff
path: root/src/pokemon.c
diff options
context:
space:
mode:
authorSatoMew <SatoMew@users.noreply.github.com>2019-05-17 14:14:21 +0100
committerSatoMew <SatoMew@users.noreply.github.com>2019-05-17 14:14:21 +0100
commitcfc43d11115ab3258592801665caef9cfe859589 (patch)
treecbeabb96ac77e36f6a5520992e6b716b4affddbc /src/pokemon.c
parent468d5a0594f64a4e9db5b313acad3e46ee45ba97 (diff)
Label weather
Diffstat (limited to 'src/pokemon.c')
-rw-r--r--src/pokemon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pokemon.c b/src/pokemon.c
index 7700d537a..3a9fdbf04 100644
--- a/src/pokemon.c
+++ b/src/pokemon.c
@@ -1001,7 +1001,7 @@ s32 CalculateBaseDamage(struct BattlePokemon *attacker, struct BattlePokemon *de
damage /= 2;
// sunny
- if (gBattleWeather & WEATHER_SUN_ANY)
+ if (gBattleWeather & WEATHER_SUNNY_ANY)
{
switch (type)
{