Decomped HasStatusThatPreventsActing

This commit is contained in:
AnonymousRandomPerson
2025-05-22 00:02:20 -04:00
parent da9c10952b
commit 7ed1870fb1
9 changed files with 546 additions and 593 deletions

View File

@@ -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
View 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