mirror of
https://github.com/zeldaret/tmc.git
synced 2026-10-08 01:33:56 -04:00
30 lines
619 B
C
30 lines
619 B
C
/**
|
|
* @file frozenFlower.c
|
|
* @ingroup Objects
|
|
*
|
|
* @brief Frozen Flower object
|
|
*/
|
|
#define NENT_DEPRECATED
|
|
#include "object.h"
|
|
|
|
void FrozenFlower_Init(Entity*);
|
|
void FrozenFlower_Action1(Entity*);
|
|
|
|
void FrozenFlower(Entity* this) {
|
|
static void (*const FrozenFlower_Actions[])(Entity*) = {
|
|
FrozenFlower_Init,
|
|
FrozenFlower_Action1,
|
|
};
|
|
FrozenFlower_Actions[this->action](this);
|
|
}
|
|
|
|
void FrozenFlower_Init(Entity* this) {
|
|
this->action = 1;
|
|
this->frameIndex = this->type;
|
|
this->spriteRendering.b3 = 3;
|
|
this->spritePriority.b0 = 7;
|
|
}
|
|
|
|
void FrozenFlower_Action1(Entity* this) {
|
|
}
|