mirror of https://github.com/AxioDL/metaforce.git
CIceSheegoth/CMetroid: Use pas::EAnimationState
This commit is contained in:
parent
bb4bdfa1ee
commit
09d23ef519
|
@ -112,7 +112,8 @@ CIceSheegoth::CIceSheegoth(TUniqueId uid, std::string_view name, const CEntityIn
|
|||
x460_knockBackController.SetX82_24(false);
|
||||
x460_knockBackController.SetEnableLaggedBurnDeath(false);
|
||||
x460_knockBackController.SetEnableExplodeDeath(false);
|
||||
x950_ = GetAnimationDistance(CPASAnimParmData(3, CPASAnimParm::FromEnum(1), CPASAnimParm::FromEnum(0))) *
|
||||
x950_ = GetAnimationDistance(
|
||||
CPASAnimParmData(pas::EAnimationState::Step, CPASAnimParm::FromEnum(1), CPASAnimParm::FromEnum(0))) *
|
||||
GetModelData()->GetScale().y();
|
||||
xa9c_->SetGlobalScale(GetModelData()->GetScale());
|
||||
xab0_->SetGlobalScale(GetModelData()->GetScale());
|
||||
|
|
|
@ -89,8 +89,8 @@ CMetroid::CMetroid(TUniqueId uid, std::string_view name, EFlavorType flavor, con
|
|||
, x81c_patternedInfo(pInfo)
|
||||
, x954_actParams(aParms)
|
||||
, x9bc_parent(other) {
|
||||
x808_loopAttackDistance =
|
||||
GetAnimationDistance(CPASAnimParmData{9, CPASAnimParm::FromEnum(2), CPASAnimParm::FromEnum(3)});
|
||||
x808_loopAttackDistance = GetAnimationDistance(
|
||||
CPASAnimParmData{pas::EAnimationState::LoopAttack, CPASAnimParm::FromEnum(2), CPASAnimParm::FromEnum(3)});
|
||||
UpdateTouchBounds();
|
||||
SetCoefficientOfRestitutionModifier(0.9f);
|
||||
x460_knockBackController.SetX82_24(false);
|
||||
|
|
Loading…
Reference in New Issue