summaryrefslogtreecommitdiff
path: root/src/dungeon_action.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dungeon_action.c')
-rw-r--r--src/dungeon_action.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/dungeon_action.c b/src/dungeon_action.c
new file mode 100644
index 0000000..6d8fcb3
--- /dev/null
+++ b/src/dungeon_action.c
@@ -0,0 +1,10 @@
+#include "global.h"
+#include "dungeon_action.h"
+#include "dungeon_entity.h"
+
+void SetAction(struct DungeonActionContainer *actionPointer, u16 action)
+{
+ actionPointer->action = action;
+ actionPointer->actionUseIndex = 0;
+ actionPointer->unkC = 0;
+}