Decompile objectb6

This commit is contained in:
Tal Hayon
2022-03-15 01:38:49 +02:00
parent e4cd697f54
commit c09173448f
3 changed files with 17 additions and 43 deletions
+16
View File
@@ -0,0 +1,16 @@
#define NENT_DEPRECATED
#include "entity.h"
#include "coord.h"
void ObjectB6(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);
}