Files
tmc/src/object/palaceArchway.c
T
2022-04-18 00:46:59 +03:00

24 lines
515 B
C

#include "object.h"
void sub_0809F2A0(Entity*);
void nullsub_537(Entity*);
void PalaceArchway(Entity* this) {
static void (*const actionFuncs[])(Entity*) = {
sub_0809F2A0,
nullsub_537,
};
actionFuncs[this->action](this);
}
void sub_0809F2A0(Entity* this) {
this->action = 1;
this->frameIndex = this->type2;
this->spriteRendering.b3 = 3;
this->spritePriority.b0 = 7;
SetTile(0x4069, COORD_TO_TILE(this), this->collisionLayer);
}
void nullsub_537(Entity* this) {
}