mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-09-26 09:18:40 -04:00
Update d_a_alink_sumou.inc
This commit is contained in:
@@ -185,7 +185,7 @@ int daAlink_c::procSumouMove() {
|
||||
return 1;
|
||||
}
|
||||
|
||||
IF_DUSK(const bool easySumo = DUSK_IF_ELSE(dusk::getSettings().game.holdToMash.sumo, false));
|
||||
IF_DUSK(const bool holdToMash = DUSK_IF_ELSE(dusk::getSettings().game.holdToMash, false));
|
||||
daNpcWrestler_c* wrestler_p = (daNpcWrestler_c*)mCargoCarryAcKeep.getActor();
|
||||
daPy_frameCtrl_c* frameCtrl_p = mUnderFrameCtrl;
|
||||
f32 sp8;
|
||||
@@ -201,7 +201,7 @@ int daAlink_c::procSumouMove() {
|
||||
|
||||
sp8 = frameCtrl_p->getRate();
|
||||
if (mProcVar0.field_0x3008 != 0) {
|
||||
if (easySumo ? doButton() : doTrigger()) {
|
||||
if (holdToMash ? doButton() : doTrigger()) {
|
||||
mProcVar0.field_0x3008--;
|
||||
}
|
||||
|
||||
@@ -225,7 +225,7 @@ int daAlink_c::procSumouMove() {
|
||||
field_0x3198 = ANM_SUMOU_PUSH_BACK;
|
||||
}
|
||||
} else if (mProcVar3.field_0x300e == 0) {
|
||||
if (mProcVar2.field_0x300c > 0 && (easySumo ? doButton() : doTrigger())) {
|
||||
if (mProcVar2.field_0x300c > 0 && (holdToMash ? doButton() : doTrigger())) {
|
||||
mProcVar2.field_0x300c--;
|
||||
}
|
||||
|
||||
@@ -233,7 +233,7 @@ int daAlink_c::procSumouMove() {
|
||||
if (mSpeedModifier > 0.0f) {
|
||||
sp8 = frameCtrl_p->getRate();
|
||||
|
||||
if (easySumo ? doButton() : doTrigger()) {
|
||||
if (holdToMash ? doButton() : doTrigger()) {
|
||||
cLib_chaseF(&sp8, 1.5f, 0.1f);
|
||||
} else {
|
||||
cLib_addCalc(&sp8, 1.0f, 0.5f, 0.05f, 0.02f);
|
||||
|
||||
Reference in New Issue
Block a user