mirror of
https://github.com/zeldaret/tmc
synced 2026-07-28 07:09:19 -04:00
Match sub_080186C0
This commit is contained in:
@@ -808,7 +808,7 @@ void sub_0809584C(Object6AEntity* this) {
|
||||
u32 tmp, idx;
|
||||
|
||||
idx = super->health;
|
||||
if ((idx & 0x7F) != 0 && !ReadBit((u32*)gArea.filler5, idx - 1))
|
||||
if ((idx & 0x7F) != 0 && !ReadBit((u32*)gArea.filler6, idx - 1))
|
||||
DeleteThisEntity();
|
||||
if (super->timer != 0 && CheckKinstoneFused(super->type2))
|
||||
DeleteThisEntity();
|
||||
|
||||
@@ -23,7 +23,7 @@ void Whirlwind(Entity* this) {
|
||||
Whirlwind_Action2,
|
||||
};
|
||||
u32 tmp = this->health;
|
||||
if (((tmp & 0x7f) != 0) && (ReadBit(gArea.filler5, tmp - 1) == 0)) {
|
||||
if (((tmp & 0x7f) != 0) && (ReadBit(gArea.filler6, tmp - 1) == 0)) {
|
||||
DeleteThisEntity();
|
||||
}
|
||||
Whirlwind_Actions[this->action](this);
|
||||
|
||||
Reference in New Issue
Block a user