summaryrefslogtreecommitdiff
path: root/src/pokemon.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-05-19 12:10:26 -0400
committerGitHub <noreply@github.com>2019-05-19 12:10:26 -0400
commit4661be783654c654ba66c5e5fafa1aa18e7b9213 (patch)
tree414b3654d06ebe8431c1334874a336a0c1a6d354 /src/pokemon.c
parent6c2d5ea50d8b2505f7eccc4283bfc32961adfb92 (diff)
parent333d2f37a811c05672f785a13af47708ccc08613 (diff)
Merge pull request #57 from SatoMew/master
Add weather labels and missing constants
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)
{