remove redundant unions

This commit is contained in:
theo3
2021-11-12 01:34:34 -08:00
parent f70c95f037
commit ecc8a1439d
257 changed files with 1894 additions and 1923 deletions
+5 -5
View File
@@ -38,7 +38,7 @@ void sub_0808222C(Entity* this) {
this->y.HALF.HI += 3;
this->field_0x16 = 0;
COLLISION_ON(this);
this->currentHealth = 1;
this->health = 1;
this->field_0x3c = 7;
this->hitType = 0x6E;
this->flags2 = 0x84;
@@ -67,9 +67,9 @@ void sub_08082310(Entity* this) {
case 0x1D:
SetTile((u16)this->field_0x70.HALF.LO, COORD_TO_TILE(this), this->collisionLayer);
this->action = 5;
this->hVelocity = 0x2A000;
this->zVelocity = 0x2A000;
this->spriteOffsetY = 0;
this->spriteSettings.b.shadow = 1;
this->spriteSettings.shadow = 1;
this->spritePriority.b1 = 3;
COLLISION_OFF(this);
sub_08082824(this);
@@ -251,8 +251,8 @@ void sub_08082818(Entity* this) {
}
void sub_08082824(Entity* this) {
if (this->hVelocity < 0) {
this->spriteSettings.b.flipY = 1;
if (this->zVelocity < 0) {
this->spriteSettings.flipY = 1;
}
if (sub_08003FC4(this, 0x2000) == 0) {