mirror of https://github.com/zeldaret/tmc.git
cleanup
This commit is contained in:
parent
6c71c8f559
commit
b5734d09a4
|
@ -83,7 +83,7 @@ typedef struct {
|
|||
u16 pixel_width;
|
||||
u16 pixel_height;
|
||||
u16 tileSet_id;
|
||||
} FORCE_WORD_ALIGNED RoomHeader;
|
||||
} PACKED ALIGNED(2) RoomHeader;
|
||||
static_assert(sizeof(RoomHeader) == 0xa);
|
||||
extern RoomHeader* gAreaRoomHeaders[];
|
||||
|
||||
|
|
|
@ -1105,7 +1105,6 @@ void sub_08026E1C(ChuchuBossEntity* this) {
|
|||
COLLISION_ON(super);
|
||||
if (sub_08027C54(this)) {
|
||||
this->unk_84->unk_04++;
|
||||
;
|
||||
super->child->health = 0xff;
|
||||
}
|
||||
if (this->unk_84->unk_04 == 3) {
|
||||
|
|
|
@ -265,7 +265,7 @@ void Peahat_Stunned(PeahatEntity* this) {
|
|||
super->hitType = 0x71;
|
||||
}
|
||||
break;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
void Peahat_RepairPropeller(PeahatEntity* this) {
|
||||
|
|
|
@ -75,7 +75,7 @@ typedef struct {
|
|||
u16 width;
|
||||
u16 height;
|
||||
u16 unk_08;
|
||||
} PACKED __attribute__((aligned(2))) MiscManager_HelperStruct;
|
||||
} PACKED ALIGNED(2) MiscManager_HelperStruct;
|
||||
|
||||
const MiscManager_HelperStruct gUnk_08108354[] = {
|
||||
{ 0xF0, 0xB0, 0xF0, 0xB0, 0x100 },
|
||||
|
|
|
@ -167,7 +167,7 @@ void sub_080675D4(Entity* this) {
|
|||
ent->spriteRendering.b3 = this->spriteRendering.b3;
|
||||
SortEntityAbove(this, ent);
|
||||
}
|
||||
};
|
||||
}
|
||||
gUnk = gUnk_08110E8A;
|
||||
for (i = 0; i < 4; i++, gUnk++) {
|
||||
Entity* ent = CreateFx(this, FX_ROCK, 0);
|
||||
|
@ -180,7 +180,7 @@ void sub_080675D4(Entity* this) {
|
|||
ent->spriteRendering.b3 = this->spriteRendering.b3;
|
||||
SortEntityAbove(this, ent);
|
||||
}
|
||||
};
|
||||
}
|
||||
if (this->subAction > 2) {
|
||||
this->spriteSettings.draw = 0;
|
||||
}
|
||||
|
|
|
@ -104,7 +104,6 @@ void EvilSpirit_Action1(EvilSpiritEntity* this) {
|
|||
} else {
|
||||
this->unk76 = this->unk7c - 0x20;
|
||||
this->unk7a = this->unk7c + 0x50;
|
||||
;
|
||||
}
|
||||
}
|
||||
super->x = super->parent->x;
|
||||
|
|
Loading…
Reference in New Issue