mirror of
https://github.com/zeldaret/tmc
synced 2026-09-05 10:57:22 -04:00
Merge branch 'master' into cleanup_declarations
This commit is contained in:
+5
-5
@@ -54,7 +54,7 @@ void sub_0802C688(Entity* this) {
|
||||
this->damageType = 0x6e;
|
||||
this->field_0xf = 1;
|
||||
this->field_0x20 = 0x18000;
|
||||
this->nonPlanarMovement = 0;
|
||||
this->speed = 0;
|
||||
this->field_0x80.HALF.HI = 1;
|
||||
InitializeAnimation(this, this->direction >> 4 | 6);
|
||||
break;
|
||||
@@ -69,7 +69,7 @@ void sub_0802C7AC(Entity* this) {
|
||||
this->field_0xf = 1;
|
||||
this->height.HALF.HI = 0;
|
||||
if (this->field_0x82.HALF.LO != 2) {
|
||||
this->nonPlanarMovement = this->field_0x82.HALF.LO ? 0x200 : 0x80;
|
||||
this->speed = this->field_0x82.HALF.LO ? 0x200 : 0x80;
|
||||
}
|
||||
this->field_0x20 = 0x18000;
|
||||
this->field_0x82.HALF.HI = 0;
|
||||
@@ -225,7 +225,7 @@ void sub_0802CA94(Entity* this) {
|
||||
this->field_0xf = 1;
|
||||
this->spritePriority.b1 = 1;
|
||||
this->field_0x20 = 0x18000;
|
||||
this->nonPlanarMovement = 0;
|
||||
this->speed = 0;
|
||||
this->field_0x82.HALF.HI = 0;
|
||||
this->field_0x80.HALF.HI = 0;
|
||||
this->direction = ((gPlayerEntity.animationState << 2) | 4) & 0x1c;
|
||||
@@ -262,11 +262,11 @@ void sub_0802CB68(Entity* this) {
|
||||
this->flags |= 0x80;
|
||||
if (this->field_0x82.HALF.LO) {
|
||||
this->actionDelay = 200;
|
||||
this->nonPlanarMovement = 0x200;
|
||||
this->speed = 0x200;
|
||||
InitializeAnimation(this, (this->direction >> 4) | 2);
|
||||
} else {
|
||||
this->actionDelay = 0x3c;
|
||||
this->nonPlanarMovement = 0x80;
|
||||
this->speed = 0x80;
|
||||
InitializeAnimation(this, this->direction >> 4);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user