pmd-sky/src/overlay_29_02315118.c
2025-07-19 11:24:04 -04:00

21 lines
487 B
C

#include "overlay_29_02315118.h"
#include "dungeon_items.h"
#include "dungeon_pokemon_attributes.h"
#include "dungeon_util_static.h"
bool8 EntityIsValid__02315118(struct entity *entity)
{
if (entity == NULL)
return FALSE;
return GetEntityType(entity) != ENTITY_NOTHING;
}
bool8 ItemIsActive__0231513C(struct entity *entity, enum item_id item_id)
{
if (AbilityIsActiveVeneer(entity, ABILITY_KLUTZ))
return FALSE;
return HasHeldItem(entity, item_id);
}