mirror of
https://github.com/zeldaret/tmc
synced 2026-05-26 15:46:05 -04:00
12 lines
276 B
C
12 lines
276 B
C
#include "object.h"
|
|
|
|
void FloatingBlock(Entity* this) {
|
|
if (this->action == 0) {
|
|
this->action = 1;
|
|
this->frameIndex = this->type;
|
|
this->spritePriority.b0 = 0xe;
|
|
this->collisionLayer = 1;
|
|
UpdateSpriteForCollisionLayer(this);
|
|
}
|
|
}
|