Files
tmc/src/npc/npc4F.c
T
2021-05-03 12:30:27 +02:00

15 lines
343 B
C

#include "global.h"
#include "entity.h"
#include "random.h"
void NPC4F(Entity* this) {
if (this->action == 0) {
this->action += 1;
InitAnimationForceUpdate(this, this->type);
}
UpdateAnimationSingleFrame(this);
if (this->frameDuration == 0xfe) {
this->frameDuration = (Random() & 0x1f) + 0x14;
}
}