mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
Merge branch 'zret' of github.com:HarbourMasters/mm into zret
This commit is contained in:
@@ -882,7 +882,30 @@ s32 func_80870254(EnOkuta* this, f32 curFrame, Vec3f* scale) {
|
||||
return true;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/ovl_En_Okuta/func_808704DC.s")
|
||||
s32 func_808704DC(PlayState* play, s32 arg1, Gfx** dList, Vec3f* pos, Vec3s* rot, Actor* thisx) {
|
||||
EnOkuta* this = THIS;
|
||||
f32 curFrame;
|
||||
Vec3f scale;
|
||||
s32 doScale;
|
||||
|
||||
doScale = false;
|
||||
curFrame = this->skelAnime.curFrame;
|
||||
if (this->actionFunc == func_8086EFE8) {
|
||||
curFrame += this->unk18E;
|
||||
}
|
||||
if (arg1 == 0xE) {
|
||||
if ((this->headScale.x != 1.0f) || (this->headScale.y != 1.0f) || (this->headScale.z != 1.0f)) {
|
||||
Math_Vec3f_Copy(&scale, &this->headScale);
|
||||
doScale = true;
|
||||
}
|
||||
} else if (arg1 == 0xF) {
|
||||
doScale = func_80870254(this, curFrame, &scale);
|
||||
}
|
||||
if (doScale) {
|
||||
Matrix_Scale(scale.x, scale.y, scale.z, MTXMODE_APPLY);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/ovl_En_Okuta/func_808705C8.s")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user