create object enum and update entity type struct

This commit is contained in:
theo3
2021-02-28 16:54:28 -08:00
parent 6596831a6b
commit e3ee1058bb
126 changed files with 832 additions and 639 deletions
+2 -2
View File
@@ -10,7 +10,7 @@ void ObjectAF(Entity* this) {
}
void sub_080A05A4(Entity* this) {
if ((this->entityType).form != 2) {
if (this->type != 2) {
this->action = 1;
this->spritePriority.b0 = 6;
sub_080A0640(this);
@@ -45,7 +45,7 @@ void sub_080A0624(Entity* this) {
}
void sub_080A0640(Entity* this) {
if (this->entityType.form == 0) {
if (this->type == 0) {
PositionRelative(*(Entity**)(this->parent->myHeap + 0x4), this, 0, 0x80000);
} else {
CopyPosition(this->parent, this);