mirror of
https://github.com/zeldaret/tmc
synced 2026-06-08 04:17:19 -04:00
22 lines
442 B
C
22 lines
442 B
C
#include "entity.h"
|
|
#include "npc.h"
|
|
|
|
extern void (*gMilkCartBehaviors[2])(Entity*);
|
|
|
|
void MilkCart(Entity* ent) {
|
|
gMilkCartBehaviors[ent->action](ent);
|
|
sub_0806ED78(ent);
|
|
}
|
|
|
|
void sub_08065B6C(Entity* ent) {
|
|
ent->action++;
|
|
ent->spriteSettings.draw = 1;
|
|
ent->y.HALF.LO += -0x8000;
|
|
ent->animationState = 6;
|
|
InitAnimationForceUpdate(ent, 3);
|
|
}
|
|
|
|
void sub_08065B9C(Entity* ent) {
|
|
UpdateAnimationSingleFrame(ent);
|
|
}
|