Skip to content

Commit

Permalink
Add another fix
Browse files Browse the repository at this point in the history
  • Loading branch information
louist103 committed May 11, 2024
1 parent 54809fc commit 13a7c78
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion mm/src/overlays/actors/ovl_En_Fsn/z_en_fsn.c
Original file line number Diff line number Diff line change
Expand Up @@ -1483,6 +1483,7 @@ void EnFsn_Init(Actor* thisx, PlayState* play) {
// #region 2S2H [Port] The original game said the skel had 18 limbs but only has 17.
SkelAnime_InitFlex(play, &this->skelAnime, &gFsnSkel, &gFsnIdleAnim, this->jointTable, this->morphTable,
FSN_LIMB_MAX);
this->skelAnime.limbCount = FSN_LIMB_MAX;

if (ENFSN_IS_SHOP(&this->actor)) {
this->actor.shape.rot.y = BINANG_ROT180(this->actor.shape.rot.y);
Expand Down Expand Up @@ -1518,7 +1519,8 @@ void EnFsn_Update(Actor* thisx, PlayState* play) {
this->actionFunc(this, play);
Actor_MoveWithGravity(&this->actor);
Actor_TrackPlayer(play, &this->actor, &this->headRot, &this->unk27A, this->actor.focus.pos);
SubS_UpdateFidgetTables(play, this->fidgetTableY, this->fidgetTableZ, ENFSN_LIMB_MAX);
// #region 2S2H [Port] The original game said the skel had 18 limbs but only has 17.
SubS_UpdateFidgetTables(play, this->fidgetTableY, this->fidgetTableZ, FSN_LIMB_MAX);
EnFsn_Blink(this);
if (ENFSN_IS_SHOP(&this->actor) && EnFsn_HasItemsToSell()) {
EnFsn_UpdateJoystickInputState(this, play);
Expand Down

0 comments on commit 13a7c78

Please sign in to comment.