Files
tmc/src/npc/npc4F.c
T
2023-08-01 11:36:11 +02:00

20 lines
383 B
C

/**
* @file npc4F.c
* @ingroup NPCs
*
* @brief NPC 4F
*/
#define NENT_DEPRECATED
#include "npc.h"
void NPC4F(Entity* this) {
if (this->action == 0) {
this->action++;
InitAnimationForceUpdate(this, this->type);
}
UpdateAnimationSingleFrame(this);
if (this->frameDuration == 0xfe) {
this->frameDuration = (Random() & 0x1f) + 0x14;
}
}