mirror of
https://github.com/zeldaret/tmc
synced 2026-06-03 02:30:01 -04:00
24 lines
476 B
C
24 lines
476 B
C
#include "global.h"
|
|
#include "entity.h"
|
|
|
|
extern void sub_0806ED78();
|
|
|
|
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.b.draw = 1;
|
|
ent->y.HALF.LO += -0x8000;
|
|
ent->animationState = 6;
|
|
InitAnimationForceUpdate(ent, 3);
|
|
}
|
|
|
|
void sub_08065B9C(Entity* ent) {
|
|
UpdateAnimationSingleFrame(ent);
|
|
}
|