summaryrefslogtreecommitdiff
path: root/src/battle_ai.c
diff options
context:
space:
mode:
authorMarijn van der Werf <marijn.vanderwerf@gmail.com>2017-05-26 14:53:51 +0200
committerMarijn van der Werf <marijn.vanderwerf@gmail.com>2017-05-26 15:40:11 +0200
commit4d2b22a899c11dfcacfec6889968ab01655a3fe3 (patch)
tree046ea9bcc455ab967a6cfa7676f02870f68c881b /src/battle_ai.c
parent49dbd87051650e06248ed4e70fbe4b623a8db779 (diff)
Add headers
Diffstat (limited to 'src/battle_ai.c')
-rw-r--r--src/battle_ai.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/battle_ai.c b/src/battle_ai.c
index f10c6a013..18f4108c8 100644
--- a/src/battle_ai.c
+++ b/src/battle_ai.c
@@ -1,7 +1,8 @@
+#include "util.h"
+#include "rom_8077ABC.h"
#include "global.h"
#include "battle_ai.h"
#include "abilities.h"
-#include "asm.h"
#include "battle.h"
#include "battle_move_effects.h"
#include "data2.h"
@@ -11,10 +12,6 @@
#include "rng.h"
#include "species.h"
-extern void sub_801CAF8(u8, u8);
-
-extern void move_effectiveness_something(u16, u8, u8);
-
extern u16 gBattleTypeFlags;
extern u16 gBattleWeather;
extern u8 gUnknown_02024A60;
@@ -35,9 +32,7 @@ extern struct BattlePokemon gUnknown_02024A8C[];
extern u8 gUnknown_030042E0[];
extern u8 gCritMultiplier;
extern u16 gTrainerBattleOpponent;
-extern u32 gBitTable[];
extern u8 *BattleAIs[];
-extern struct BaseStats gBaseStats[];
/*
gAIScriptPtr is a pointer to the next battle AI cmd command to read.