mirror of
https://github.com/zeldaret/tmc
synced 2026-06-12 05:27:48 -04:00
15 lines
343 B
C
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;
|
|
}
|
|
}
|