pmd-sky/include/dungeon_capabilities.h
2025-10-22 22:52:28 -04:00

24 lines
1.1 KiB
C

#ifndef PMDSKY_DUNGEON_CAPABILITIES_H
#define PMDSKY_DUNGEON_CAPABILITIES_H
#include "dungeon_mode.h"
// Checks if a monster has the sleep, nightmare, or napping status.
bool8 IsMonsterSleeping(struct entity *monster);
// Checks if a monster has a quarter or less HP remaining.
bool8 MonsterHasQuarterHp(struct entity *monster);
// Returns false if none of these conditions holds for the given entity:
// blinded (checked only if blind_check == true),
// asleep, frozen, paused, infatuated, wrapping, wrapped, biding, petrified, or terrified.
// entity: Entity pointer
// blind_check: If true, return true if entity is blinded
bool8 CheckVariousStatuses2__02301244(struct entity *entity, bool8 blind_check);
// Returns false if none of these conditions holds for the given entity:
// blinded (checked only if blind_check == true),
// asleep, frozen, paused, infatuated, wrapping, wrapped, biding, petrified, or terrified.
// entity: Entity pointer
// blind_check: If true, return true if entity is blinded
bool8 CheckVariousStatuses2__02301308(struct entity *entity, bool8 blind_check);
#endif //PMDSKY_DUNGEON_CAPABILITIES_H