summaryrefslogtreecommitdiff
path: root/src/calculate_base_damage.c
diff options
context:
space:
mode:
authorYamaArashi <YamaArashi@users.noreply.github.com>2017-01-17 08:11:32 -0800
committerGitHub <noreply@github.com>2017-01-17 08:11:32 -0800
commit90c7299e519783fe1e22d9ec8d3351d08bda65f6 (patch)
treeb24d8bdcd6809c5465c6aa18f6d3109af2aad915 /src/calculate_base_damage.c
parent4f9aab81ffdfedc84dfeafb88b4248dc6c7c2068 (diff)
parent46cf490edd4fd5971d3a3511516beb0910e33c32 (diff)
Merge pull request #193 from marijnvdwerf/clean/cleanup-1
Clean up various things
Diffstat (limited to 'src/calculate_base_damage.c')
-rw-r--r--src/calculate_base_damage.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/calculate_base_damage.c b/src/calculate_base_damage.c
index 86446e588..8e020829a 100644
--- a/src/calculate_base_damage.c
+++ b/src/calculate_base_damage.c
@@ -1,17 +1,17 @@
#include "global.h"
-#include "text.h"
-#include "string_util.h"
-#include "pokemon.h"
-#include "species.h"
-#include "main.h"
-#include "sprite.h"
-#include "berry.h"
-#include "item.h"
#include "abilities.h"
-#include "hold_effects.h"
-#include "event_data.h"
#include "battle.h"
+#include "berry.h"
+#include "event_data.h"
+#include "hold_effects.h"
+#include "item.h"
#include "items.h"
+#include "main.h"
+#include "pokemon.h"
+#include "species.h"
+#include "sprite.h"
+#include "string_util.h"
+#include "text.h"
extern u8 gPlayerPartyCount;
extern struct Pokemon gPlayerParty[6];
@@ -307,7 +307,7 @@ s32 CalculateBaseDamage(struct BattlePokemon *attacker, struct BattlePokemon *de
// does lack of sun half solar beam damage?
if ((gBattleWeather & 0x9F) && gUnknown_02024BE6 == 76)
damage /= 2;
-
+
// sunny?
if (gBattleWeather & 0x60)
{