blob: fd9db473f1a7323d146ae6567f33528e097ed5d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/**
* @file vaati3Death.c
* @ingroup Objects
*
* @brief Vaati3 Death object
*/
#include "entity.h"
#include "physics.h"
void Vaati3Death(Entity* this) {
if (this->parent->subAction > 3) {
DeleteThisEntity();
}
if (this->action == 0) {
this->action = 1;
InitializeAnimation(this, this->type);
}
sub_0806FA90(this->parent, this, 0, this->type);
this->spriteOffsetY = this->spriteOffsetY - this->type;
GetNextFrame(this);
}
|