d_a_bmd - 98% matching (#876)

Co-authored-by: ‎ ‎ ‎ <‎ ‎ ‎>
This commit is contained in:
123456789758
2025-09-14 13:36:19 -04:00
committed by GitHub
parent 77fabb2878
commit 17d677a5ad
6 changed files with 1840 additions and 92 deletions
+5 -5
View File
@@ -564,16 +564,16 @@ void move(bmdfoot_class* i_this) {
if (boss != NULL) {
sVar1 = (u16)(fopAcM_GetParam(actor) & 0xF) << 13;
cMtx_YrotS(*calc_mtx, boss->shape_angle.y);
cMtx_XrotM(*calc_mtx, boss->shape_angle.x);
cMtx_ZrotM(*calc_mtx, boss->shape_angle.z);
cMtx_YrotS(*calc_mtx, boss->actor.shape_angle.y);
cMtx_XrotM(*calc_mtx, boss->actor.shape_angle.x);
cMtx_ZrotM(*calc_mtx, boss->actor.shape_angle.z);
cMtx_YrotM(*calc_mtx, sVar1);
actor->current.angle.y = sVar1 + boss->shape_angle.y;
actor->current.angle.y = sVar1 + boss->actor.shape_angle.y;
local_20.x = 0.0f;
local_20.y = REG14_F(3);
local_20.z = REG14_F(4) + 180.0f;
MtxPosition(&local_20, &cStack_2c);
actor->current.pos = boss->current.pos + cStack_2c;
actor->current.pos = boss->actor.current.pos + cStack_2c;
switch (i_this->m2BA) {
case 0:
wait(i_this);