This commit is contained in:
Henny022p 2025-03-09 16:56:10 +00:00
parent 6c71c8f559
commit b5734d09a4
6 changed files with 5 additions and 7 deletions

View File

@ -83,7 +83,7 @@ typedef struct {
u16 pixel_width; u16 pixel_width;
u16 pixel_height; u16 pixel_height;
u16 tileSet_id; u16 tileSet_id;
} FORCE_WORD_ALIGNED RoomHeader; } PACKED ALIGNED(2) RoomHeader;
static_assert(sizeof(RoomHeader) == 0xa); static_assert(sizeof(RoomHeader) == 0xa);
extern RoomHeader* gAreaRoomHeaders[]; extern RoomHeader* gAreaRoomHeaders[];

View File

@ -1105,7 +1105,6 @@ void sub_08026E1C(ChuchuBossEntity* this) {
COLLISION_ON(super); COLLISION_ON(super);
if (sub_08027C54(this)) { if (sub_08027C54(this)) {
this->unk_84->unk_04++; this->unk_84->unk_04++;
;
super->child->health = 0xff; super->child->health = 0xff;
} }
if (this->unk_84->unk_04 == 3) { if (this->unk_84->unk_04 == 3) {

View File

@ -265,7 +265,7 @@ void Peahat_Stunned(PeahatEntity* this) {
super->hitType = 0x71; super->hitType = 0x71;
} }
break; break;
}; }
} }
void Peahat_RepairPropeller(PeahatEntity* this) { void Peahat_RepairPropeller(PeahatEntity* this) {

View File

@ -75,7 +75,7 @@ typedef struct {
u16 width; u16 width;
u16 height; u16 height;
u16 unk_08; u16 unk_08;
} PACKED __attribute__((aligned(2))) MiscManager_HelperStruct; } PACKED ALIGNED(2) MiscManager_HelperStruct;
const MiscManager_HelperStruct gUnk_08108354[] = { const MiscManager_HelperStruct gUnk_08108354[] = {
{ 0xF0, 0xB0, 0xF0, 0xB0, 0x100 }, { 0xF0, 0xB0, 0xF0, 0xB0, 0x100 },

View File

@ -167,7 +167,7 @@ void sub_080675D4(Entity* this) {
ent->spriteRendering.b3 = this->spriteRendering.b3; ent->spriteRendering.b3 = this->spriteRendering.b3;
SortEntityAbove(this, ent); SortEntityAbove(this, ent);
} }
}; }
gUnk = gUnk_08110E8A; gUnk = gUnk_08110E8A;
for (i = 0; i < 4; i++, gUnk++) { for (i = 0; i < 4; i++, gUnk++) {
Entity* ent = CreateFx(this, FX_ROCK, 0); Entity* ent = CreateFx(this, FX_ROCK, 0);
@ -180,7 +180,7 @@ void sub_080675D4(Entity* this) {
ent->spriteRendering.b3 = this->spriteRendering.b3; ent->spriteRendering.b3 = this->spriteRendering.b3;
SortEntityAbove(this, ent); SortEntityAbove(this, ent);
} }
}; }
if (this->subAction > 2) { if (this->subAction > 2) {
this->spriteSettings.draw = 0; this->spriteSettings.draw = 0;
} }

View File

@ -104,7 +104,6 @@ void EvilSpirit_Action1(EvilSpiritEntity* this) {
} else { } else {
this->unk76 = this->unk7c - 0x20; this->unk76 = this->unk7c - 0x20;
this->unk7a = this->unk7c + 0x50; this->unk7a = this->unk7c + 0x50;
;
} }
} }
super->x = super->parent->x; super->x = super->parent->x;