mirror of
https://github.com/zeldaret/tmc
synced 2026-08-20 14:15:10 -04:00
Change --x !=/== 0xff comparisons
This commit is contained in:
@@ -242,7 +242,7 @@ void sub_0802AB40(Entity* this) {
|
||||
this->field_0xf = 0x4;
|
||||
this->field_0x80.HALF.LO ^= 1;
|
||||
}
|
||||
} else if ((--this->field_0xf & 0xff) == 0) {
|
||||
} else if (--this->field_0xf == 0) {
|
||||
sub_0802ACDC(this, 4);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -408,7 +408,7 @@ void sub_08046EF4(GyorgMaleEntity* this) {
|
||||
super->direction ^= 0x80;
|
||||
}
|
||||
super->speed = gUnk_080D1B74[(super->actionDelay >> 3) & 0xF];
|
||||
if ((--super->field_0xf & 0xFF) == 0) {
|
||||
if (--super->field_0xf == 0) {
|
||||
Entity* tmp;
|
||||
super->field_0xf = (Random() & 0x38) + 0x78;
|
||||
tmp = CreateProjectile(GYORG_MALE_ENERGY_PROJECTILE);
|
||||
|
||||
Reference in New Issue
Block a user