diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2018-02-26 15:56:59 +0100 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2018-02-26 15:56:59 +0100 |
commit | 2fa00d01eee21702cba0e34396e893759133525e (patch) | |
tree | c6bd44e9ba3be05d487bb796ab0fa1211f585c2e | |
parent | 19723037928598ed688c3aa4aa862cd86a794813 (diff) |
make it compile
-rw-r--r-- | include/battle.h | 2 | ||||
-rw-r--r-- | src/battle_ai_switch_items.c | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/include/battle.h b/include/battle.h index 89a38254a..09a53c8a0 100644 --- a/include/battle.h +++ b/include/battle.h @@ -3,9 +3,9 @@ // should they be included here or included individually by every file? #include "constants/battle.h" +#include "battle_main.h" #include "battle_util.h" #include "battle_script_commands.h" -#include "battle_main.h" #include "battle_ai_switch_items.h" #include "battle_gfx_sfx_util.h" #include "battle_util2.h" diff --git a/src/battle_ai_switch_items.c b/src/battle_ai_switch_items.c index 9dfbd0723..5426cc774 100644 --- a/src/battle_ai_switch_items.c +++ b/src/battle_ai_switch_items.c @@ -9,7 +9,6 @@ #include "util.h" #include "constants/items.h" -extern const u8 gTypeEffectiveness[]; extern const u8 * const gItemEffectTable[]; // todo: fix once struct is declared // this file's functions |