blob: 7e1ad599c8d7700a45ec537f96c896f6d1dc20b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#include "global.h"
#include "entity.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);
}
}
|