mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-10-08 20:41:23 -04:00
Add holdToMash for spinner activators
This commit is contained in:
@@ -753,8 +753,9 @@ int daSpinner_c::execute() {
|
||||
} else {
|
||||
current.pos = field_0xaa4;
|
||||
|
||||
IF_DUSK(const bool holdToMash = DUSK_IF_ELSE(dusk::getSettings().game.holdToMash, false);)
|
||||
if (mSpinnerTag != TAG_END) {
|
||||
if (!dComIfGp_event_runCheck() && mTrigJump) {
|
||||
if (!dComIfGp_event_runCheck() && (holdToMash ? mDoCPd_c::getHoldA(PAD_1) : mTrigJump)) {
|
||||
field_0xa82 += 0x200;
|
||||
if (field_0xa82 > 5000) {
|
||||
field_0xa82 = 5000;
|
||||
|
||||
Reference in New Issue
Block a user