mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
func_8086EAE0
This commit is contained in:
@@ -402,7 +402,27 @@ void func_8086E948(EnOkuta* this, PlayState* play) {
|
||||
}
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/ovl_En_Okuta/func_8086EAE0.s")
|
||||
void func_8086EAE0(EnOkuta* this, PlayState* play) {
|
||||
|
||||
Animation_PlayOnce(&this->skelAnime, (AnimationHeader* ) &D_0600044C);
|
||||
if (this->actionFunc != func_8086EC00) {
|
||||
if (this->actor.params == 0) {
|
||||
this->unk18E = this->unk190;
|
||||
} else {
|
||||
this->unk18E = ((560.0f - this->actor.xzDistToPlayer) * 0.005f) + 1.0f;
|
||||
}
|
||||
}
|
||||
if (this->actor.params == 0) {
|
||||
this->unk260 = this->actor.playerHeightRel + 20.0f;
|
||||
this->unk260 = CLAMP_MIN(this->unk260, 10.0f);
|
||||
|
||||
if (this->unk260 > 50.0f) {
|
||||
func_8086E27C(this, play);
|
||||
Actor_PlaySfx(&this->actor, 0x38C2);
|
||||
}
|
||||
}
|
||||
this->actionFunc = func_8086EC00;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/ovl_En_Okuta/func_8086EC00.s")
|
||||
|
||||
|
||||
@@ -21,7 +21,8 @@ typedef struct EnOkuta {
|
||||
/* 0x254 */ f32 unk254;
|
||||
/* 0x258 */ f32 unk258;
|
||||
/* 0x25C */ f32 unk25C;
|
||||
/* 0x260 */ char pad260[0x10];
|
||||
/* 0x260 */ f32 unk260;
|
||||
/* 0x268 */ char pad268[0xC];
|
||||
/* 0x270 */ Vec3f bodyPartsPos[0xA];
|
||||
/* 0x2E8 */ ColliderCylinder collider;
|
||||
} EnOkuta;
|
||||
|
||||
Reference in New Issue
Block a user