summaryrefslogtreecommitdiff
path: root/src/status_checker.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/status_checker.c')
-rw-r--r--src/status_checker.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/status_checker.c b/src/status_checker.c
index 667f0cb..07d6c7f 100644
--- a/src/status_checker.c
+++ b/src/status_checker.c
@@ -14,6 +14,7 @@
#include "number_util.h"
#include "status_checks_1.h"
#include "tile_types.h"
+#include "trap.h"
#include "weather.h"
// Array indices correspond to the current dungeon tileset.
@@ -96,8 +97,6 @@ const u8 gDungeonCamouflageTypes[76] = {
TYPE_ROCK
};
-extern bool8 CanLayTrap(struct Position*);
-
bool8 CanUseOnSelfWithStatusChecker(struct DungeonEntity *pokemon, struct PokemonMove *move)
{
struct DungeonEntityData *pokemonData = pokemon->entityData;