summaryrefslogtreecommitdiff
path: root/src/object
diff options
context:
space:
mode:
authorTal Hayon <talhayon1@gmail.com>2022-02-28 00:54:42 +0200
committerTal Hayon <talhayon1@gmail.com>2022-02-28 00:54:42 +0200
commit4bf9c9b04d6af1071ebdbf369bcef004dda637bc (patch)
treed0ca098f04463d8b17872b6905d653f5fdfdda5b /src/object
parent675b5e314c9474a1b42ff6826bc6bad3c6c91a78 (diff)
decompile macroMushroomStalks
Diffstat (limited to 'src/object')
-rw-r--r--src/object/macroMushroomStalks.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/object/macroMushroomStalks.c b/src/object/macroMushroomStalks.c
new file mode 100644
index 00000000..4bc543b3
--- /dev/null
+++ b/src/object/macroMushroomStalks.c
@@ -0,0 +1,12 @@
+#include "entity.h"
+
+void sub_0808C964(Entity*);
+void sub_0808CA10(Entity*);
+
+void MacroMushromStalks(Entity* this) {
+ static void (*const actionFuncs[])(Entity*) = {
+ sub_0808C964,
+ sub_0808CA10,
+ };
+ actionFuncs[this->action](this);
+}