diff options
author | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-13 23:13:47 -0500 |
---|---|---|
committer | AnonymousRandomPerson <chenghanngan.us@gmail.com> | 2022-02-13 23:15:33 -0500 |
commit | 2a2a0805b481b8425b4d1047d868fb1159993e6c (patch) | |
tree | aacd438bd14b32c816c54a564785fd9716e70fae /src/targeting_flags.c | |
parent | 3bbb6035e746cdb83b128b1d6153436756cb3be0 (diff) |
Decomped HasType()
Diffstat (limited to 'src/targeting_flags.c')
-rw-r--r-- | src/targeting_flags.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/targeting_flags.c b/src/targeting_flags.c index d342d51..f315cdf 100644 --- a/src/targeting_flags.c +++ b/src/targeting_flags.c @@ -3,10 +3,9 @@ #include "constants/move_id.h" #include "constants/type.h" +#include "dungeon_pokemon_attributes.h" #include "moves.h" -extern bool8 HasType(struct DungeonEntity *pokemon, u8 type); - s16 GetMoveTargetingFlagsForPokemon(struct DungeonEntity *pokemon, struct PokemonMove *move, u32 isAI) { if (move->moveID == MOVE_CURSE && !isAI && !HasType(pokemon, TYPE_GHOST)) |