mirror of
https://github.com/pret/pmd-sky.git
synced 2026-04-25 07:24:42 -05:00
15 lines
1.0 KiB
C
15 lines
1.0 KiB
C
#ifndef PMDSKY_DUNGEON_LOGIC_0_H
|
|
#define PMDSKY_DUNGEON_LOGIC_0_H
|
|
|
|
#include "dungeon_mode.h"
|
|
|
|
// Checks if a monster has the sleep, nightmare, or yawning status. Note that this excludes the napping status.
|
|
bool8 IsMonsterDrowsy(struct entity *monster);
|
|
// Checks if a monster has one of the statuses in the "burn" group, which includes the traditionally non-volatile status conditions (except sleep) in the main series: STATUS_BURN, STATUS_POISONED, STATUS_BADLY_POISONED, STATUS_PARALYSIS, and STATUS_IDENTIFYING.
|
|
// STATUS_IDENTIFYING is probably included based on enum status_id? Unless it's handled differently somehow.
|
|
bool8 MonsterHasNonvolatileNonsleepStatus(struct entity *monster);
|
|
// Checks if a monster has one of the non-self-inflicted statuses in the "freeze" group, which includes status conditions that immobilize the monster: STATUS_FROZEN, STATUS_SHADOW_HOLD, STATUS_WRAPPED, STATUS_PETRIFIED, STATUS_CONSTRICTION, and STATUS_FAMISHED.
|
|
bool8 MonsterHasImmobilizingStatus(struct entity *monster);
|
|
|
|
#endif //PMDSKY_DUNGEON_LOGIC_0_H
|