mirror of
https://github.com/zeldaret/tmc
synced 2026-08-24 07:20:37 -04:00
20 lines
421 B
C
20 lines
421 B
C
/**
|
|
* @file giantRock.c
|
|
* @ingroup Objects
|
|
*
|
|
* @brief Giant Rock object
|
|
*/
|
|
#define NENT_DEPRECATED
|
|
#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);
|
|
}
|
|
}
|