summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/code_80521D0.h8
-rw-r--r--include/dungeon_entity.h2
-rw-r--r--include/status_checks.h4
-rw-r--r--include/status_checks_1.h9
4 files changed, 20 insertions, 3 deletions
diff --git a/include/code_80521D0.h b/include/code_80521D0.h
new file mode 100644
index 0000000..588ad9b
--- /dev/null
+++ b/include/code_80521D0.h
@@ -0,0 +1,8 @@
+#ifndef GUARD_CODE_80521D0_H
+#define GUARD_CODE_80521D0_H
+
+#include "dungeon_entity.h"
+
+void SendMessage(struct DungeonEntity *pokemon, const char message[]);
+
+#endif
diff --git a/include/dungeon_entity.h b/include/dungeon_entity.h
index 7e562fc..9e9f1f7 100644
--- a/include/dungeon_entity.h
+++ b/include/dungeon_entity.h
@@ -11,7 +11,7 @@
struct DungeonActionContainer
{
/* 0x0 */ u16 action;
- /* 0x2 */ s8 facingDir;
+ /* 0x2 */ u8 facingDir;
u8 fill3;
// Additional parameter alongside actionIndex. Used for things like indicating which move a Pokémon should use from its moveset.
/* 0x4 */ u8 actionUseIndex;
diff --git a/include/status_checks.h b/include/status_checks.h
index e899f74..086711d 100644
--- a/include/status_checks.h
+++ b/include/status_checks.h
@@ -3,7 +3,7 @@
#include "dungeon_entity.h"
-// 0x70A58
-bool8 HasNegativeStatus(struct DungeonEntity *pokemon);
+// 0x7001C
+bool8 HasStatusAffectingActions(struct DungeonEntity *pokemon);
#endif
diff --git a/include/status_checks_1.h b/include/status_checks_1.h
new file mode 100644
index 0000000..770767a
--- /dev/null
+++ b/include/status_checks_1.h
@@ -0,0 +1,9 @@
+#ifndef GUARD_STATUS_CHECKS_1_H
+#define GUARD_STATUS_CHECKS_1_H
+
+#include "dungeon_entity.h"
+
+// 0x70A58
+bool8 HasNegativeStatus(struct DungeonEntity *pokemon);
+
+#endif