mirror of
https://github.com/pret/pmd-sky.git
synced 2026-04-26 00:26:19 -05:00
14 lines
535 B
C
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
|