mirror of
https://github.com/zeldaret/tmc
synced 2026-05-30 00:47:12 -04:00
22 lines
452 B
C
22 lines
452 B
C
#include "global.h"
|
|
#include "entity.h"
|
|
|
|
extern void (*gUnk_08123384[])(Entity*);
|
|
|
|
void Bell(Entity* ent) {
|
|
gUnk_08123384[ent->action](ent);
|
|
}
|
|
|
|
void sub_08097D90(Entity* ent) {
|
|
ent->action = 1;
|
|
ent->spriteSettings.b.draw = 1;
|
|
ent->collisionLayer = 1;
|
|
ent->spritePriority.b0 = 0;
|
|
UpdateSpriteForCollisionLayer(ent);
|
|
InitAnimationForceUpdate(ent, 0);
|
|
}
|
|
|
|
void sub_08097DCC(Entity* ent) {
|
|
UpdateAnimationSingleFrame(ent);
|
|
}
|