embrace direction macros

This commit is contained in:
Behemoth
2020-09-01 01:21:50 +02:00
parent 662e221f89
commit 0a2c0ad456
11 changed files with 69 additions and 76 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ void sub_080916EC(Entity* this) {
this->field_0x3c = 0x47;
this->field_0x40 = 0x44;
this->flags2 = 0x80;
this->direction = this->animationState << 3;
this->direction = DirectionFromAnimationState(this->animationState);
this->nonPlanarMovement = 0x700;
this->spritePriority.b1 = 3;
InitAnimationForceUpdate(this, this->entityType.parameter + 4 + this->animationState);