pmd-sky/include/dungeon_action.h
2025-05-12 23:58:42 -04:00

14 lines
535 B
C

#ifndef PMDSKY_DUNGEON_ACTION_H
#define PMDSKY_DUNGEON_ACTION_H
#include "dungeon_mode.h"
// Sets some the fields related to AI in the monster's data struct.
// Specifically, monster::action::action_id, monster::action::action_use_idx and monster::action::field_0xA. The last 2 are always set to 0.
//
// action_pointer: Pointer to the monster's action field
// action: Value to set monster::action::action_id to.
void SetMonsterActionFields(struct action_data *action_pointer, enum action action);
#endif //PMDSKY_DUNGEON_ACTION_H