Files
tmc/src/object/minishSizedArchway.c
T
octorock 3b87c04162 Invert NENT_DEPRECATED define
To define ENT_DEPRECATED in files that still need the old entity structs.
2023-12-30 18:30:00 +01:00

21 lines
441 B
C

/**
* @file minishSizedArchway.c
* @ingroup Objects
*
* @brief Minish Sized Archway object
*/
#include "entity.h"
#include "game.h"
void MinishSizedArchway(Entity* this) {
if (this->action == 0) {
this->action = 1;
this->frameIndex = this->type;
this->collisionLayer = 2;
UpdateSpriteForCollisionLayer(this);
if (AreaIsDungeon()) {
this->spritePriority.b0 = 1;
}
}
}