summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornotyourav <65437533+notyourav@users.noreply.github.com>2021-06-19 20:51:45 -0700
committerGitHub <noreply@github.com>2021-06-19 20:51:45 -0700
commit7abb984cc64c618c5efa8a3fad88206c3ebac7d3 (patch)
tree5cf9d774eca61d5ca634406eb62ed2adc1a23a90 /src
parentdc977ab9c6aae26221b200f08c4f8132256cc4fb (diff)
parentd96cef7227e4c65442f94aafc49138b467fdf06f (diff)
Merge pull request #163 from Henny022p/manager11
Decompiled Manager11
Diffstat (limited to 'src')
-rw-r--r--src/manager/manager11.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/manager/manager11.c b/src/manager/manager11.c
new file mode 100644
index 00000000..841407fc
--- /dev/null
+++ b/src/manager/manager11.c
@@ -0,0 +1,17 @@
+#include "global.h"
+#include "manager.h"
+#include "flags.h"
+
+void sub_080599B8(Manager11* this) {
+ if (!this->manager.action) {
+ this->manager.action = 1;
+ if (CheckFlags(this->unk_3c)) {
+ DeleteThisEntity();
+ }
+ } else {
+ if (CheckFlags(this->unk_3e)) {
+ SetFlag(this->unk_3c);
+ DeleteThisEntity();
+ }
+ }
+}