mirror of
https://github.com/pret/pmd-sky.git
synced 2026-09-26 12:17:30 -05:00
Decomped MonsterHasNegativeStatus
This commit is contained in:
11
include/dungeon_logic.h
Normal file
11
include/dungeon_logic.h
Normal file
@@ -0,0 +1,11 @@
|
||||
#ifndef PMDSKY_DUNGEON_LOGIC_H
|
||||
#define PMDSKY_DUNGEON_LOGIC_H
|
||||
|
||||
#include "dungeon_mode.h"
|
||||
|
||||
// Checks if a monster has any "negative" status conditions. This includes a wide variety of non-self-inflicted statuses that could traditionally be viewed as actual "status conditions", as well as speed being lowered and moves being sealed.
|
||||
// monster: entity pointer
|
||||
// check_held_item: flag for whether to check for the held item (see IsMonsterVisuallyImpaired)
|
||||
bool8 MonsterHasNegativeStatus(struct entity *monster, bool8 check_held_item);
|
||||
|
||||
#endif //PMDSKY_DUNGEON_LOGIC_H
|
||||
@@ -11,6 +11,7 @@
|
||||
#define NUM_PICKED_IQ_SKILLS 3
|
||||
#define MAX_MON_MOVES 4
|
||||
#define MAX_SPEED_STAGE 4
|
||||
#define NUM_SPEED_COUNTERS 5
|
||||
|
||||
// Used in various contexts, like with entity positions in the dungeon
|
||||
struct position {
|
||||
|
||||
Reference in New Issue
Block a user