Files
tmc/src/object/frozenFlower.c
T
octorock 3b87c04162 Invert NENT_DEPRECATED define
To define ENT_DEPRECATED in files that still need the old entity structs.
2023-12-30 18:30:00 +01:00

29 lines
595 B
C

/**
* @file frozenFlower.c
* @ingroup Objects
*
* @brief Frozen Flower object
*/
#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) {
}