blob: 01a81cfceaa0e402eabae10f56ac373a7bc92770 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/**
* @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;
}
}
}
|