Fix struct

This commit is contained in:
Derek Hensley
2023-09-27 00:25:28 -07:00
parent 1d1e6ef03b
commit 6be262aeef
2 changed files with 4 additions and 4 deletions
@@ -31,8 +31,8 @@ typedef struct BossHakugin {
/* 0x0191 */ u8 unk_191;
/* 0x018C */ char unk_0192[0x866];
/* 0x09F8 */ BossHakuginEffect unk_9F8[BOSS_HAKUGIN_EFFECT_COUNT];
/* 0x2618 */ char unk_2618[0x8E8];
/* 0x2F00 */ BossHakuginFhgFlashUnkStruct unk_2F00[7][15];
/* 0x2618 */ char unk_2618[0xB40];
/* 0x3158 */ BossHakuginFhgFlashUnkStruct unk_3158[5][15];
/* 0x3734 */ char unk_3734[0xDC];
} BossHakugin; // size = 0x3810
@@ -100,9 +100,9 @@ void EffectSsFhgFlash_Update(PlayState* play, u32 index, EffectSs* this) {
s32 gohtIndex = goht->unk_191 - 3;
if (gohtIndex < 0) {
bodyPartPos = &goht->unk_2F00[this->rParams][12].unk_00;
bodyPartPos = &goht->unk_3158[this->rParams - FHGFLASH_SHOCK_GOHT_2][12].unk_00;
} else {
bodyPartPos = &goht->unk_2F00[this->rParams][gohtIndex].unk_00;
bodyPartPos = &goht->unk_3158[this->rParams - FHGFLASH_SHOCK_GOHT_2][gohtIndex].unk_00;
}
this->pos.x = Rand_CenteredFloat(70.0f) + bodyPartPos->x;