mirror of
https://github.com/pret/pmd-sky.git
synced 2026-10-01 22:57:58 -05:00
Decomped HasStatusThatPreventsActing
This commit is contained in:
@@ -104,7 +104,7 @@ struct action_parameter {
|
||||
// Contains data used to describe an action taken by a monster.
|
||||
struct action_data {
|
||||
enum action action_id; // 0x0: Action ID
|
||||
enum direction_id direction; // 0x2: Direction in which the action will be performed
|
||||
u8 direction; // 0x2: Direction in which the action will be performed
|
||||
u8 field_0x3;
|
||||
struct action_parameter action_parameters[2]; // 0x4: Parameters for the action
|
||||
// 0x10: Position of the target that the Pokémon wants throw an item at.
|
||||
|
||||
9
include/status_checks.h
Normal file
9
include/status_checks.h
Normal file
@@ -0,0 +1,9 @@
|
||||
#ifndef PMDSKY_STATUS_CHECKS_H
|
||||
#define PMDSKY_STATUS_CHECKS_H
|
||||
|
||||
#include "dungeon_mode.h"
|
||||
|
||||
// Returns true if the monster has any status problem that prevents it from acting
|
||||
bool8 HasStatusThatPreventsActing(struct entity *monster);
|
||||
|
||||
#endif //PMDSKY_STATUS_CHECKS_H
|
||||
Reference in New Issue
Block a user