From 59ca3b7be50dfd2c44b8dcc95fef583788fcc3ce Mon Sep 17 00:00:00 2001 From: LeonarthCG Date: Mon, 21 Jun 2021 11:01:34 +0200 Subject: decompile object31 (frozenFlower) --- src/object/frozenFlower.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/object/frozenFlower.c (limited to 'src/object') diff --git a/src/object/frozenFlower.c b/src/object/frozenFlower.c new file mode 100644 index 00000000..a668506b --- /dev/null +++ b/src/object/frozenFlower.c @@ -0,0 +1,21 @@ +#include "global.h" +#include "entity.h" + +extern void (*const gUnk_0812119C[])(Entity*); + +void FrozenFlower(Entity* this) +{ + gUnk_0812119C[this->action](this); +} + +void sub_0808A9DC(Entity* this) +{ + this->action = 1; + this->frameIndex = this->type; + this->spriteRendering.b3 = 3; + this->spritePriority.b0 = 7; +} + +void nullsub_519(Entity* this) +{ +} -- cgit v1.2.3