mirror of
https://github.com/zeldaret/tmc
synced 2026-05-24 15:21:09 -04:00
decompile object31 (frozenFlower)
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ void (*const gObjectFunctions[])(Entity*) = {
|
||||
[PUSHABLE_ROCK] = PushableRock,
|
||||
[HITTABLE_LEVER] = HittableLever,
|
||||
[OBJECT_30] = Object30,
|
||||
[OBJECT_31] = Object31,
|
||||
[FROZEN_FLOWER] = FrozenFlower,
|
||||
[PULLABLE_MUSHROOM] = PullableMushroom,
|
||||
[BOLLARD] = Bollard,
|
||||
[WARP_POINT] = WarpPoint,
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user