mirror of
https://github.com/pret/pmd-sky.git
synced 2026-04-26 00:26:19 -05:00
17 lines
558 B
C
17 lines
558 B
C
#include "overlay_29_022EBC50.h"
|
|
#include "dungeon_action.h"
|
|
|
|
void SetActionRegularAttack(struct action_data *monster_action, u8 direction)
|
|
{
|
|
SetMonsterActionFields(monster_action, ACTION_REGULAR_ATTACK);
|
|
if (direction != DIR_NONE_UNSIGNED)
|
|
monster_action->direction = direction & DIRECTION_MASK;
|
|
}
|
|
|
|
void SetActionStruggle(struct action_data *monster_action, u8 direction)
|
|
{
|
|
SetMonsterActionFields(monster_action, ACTION_STRUGGLE);
|
|
if (direction != DIR_NONE_UNSIGNED)
|
|
monster_action->direction = direction & DIRECTION_MASK;
|
|
}
|