blob: c8a5747ed8f5e38d5a15b71631dfe1b6ce6547db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/**
* @file giantRock.c
* @ingroup Objects
*
* @brief Giant Rock object
*/
#include "entity.h"
void GiantRock(Entity* this) {
if (this->action == 0) {
this->action = 1;
this->spriteSettings.draw = 1;
this->collisionLayer = 2;
UpdateSpriteForCollisionLayer(this);
this->spritePriority.b0 = 0;
InitializeAnimation(this, this->type);
}
}
|