mirror of
https://github.com/TwilitRealm/dusklight
synced 2026-07-10 12:54:50 -04:00
Easy Quick Spin Cheat
This commit is contained in:
@@ -266,6 +266,7 @@ struct UserSettings {
|
||||
ConfigVar<bool> fastSpinner;
|
||||
ConfigVar<MagicArmorMode> armorRupeeDrain;
|
||||
ConfigVar<bool> invincibleEnemies;
|
||||
ConfigVar<bool> easyQuickSpin;
|
||||
|
||||
// Technical
|
||||
ConfigVar<bool> restoreWiiGlitches;
|
||||
|
||||
@@ -165,6 +165,12 @@ BOOL daAlink_c::checkCutTypeNoBlur() const {
|
||||
}
|
||||
|
||||
bool daAlink_c::checkCutTurnInput() const {
|
||||
#if TARGET_PC
|
||||
if (mDoCPd_c::getHoldR(PAD_1) && dusk::getSettings().game.easyQuickSpin) {
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
return 0xF800 < abs(field_0x3180);
|
||||
}
|
||||
|
||||
|
||||
@@ -139,6 +139,7 @@ UserSettings g_userSettings = {
|
||||
.fastSpinner {"game.fastSpinner", false},
|
||||
.armorRupeeDrain {"game.armorRupeeDrain", MagicArmorMode::NORMAL},
|
||||
.invincibleEnemies {"game.invincibleEnemies", false},
|
||||
.easyQuickSpin {"game.easyQuickSpin", false},
|
||||
|
||||
// Technical
|
||||
.restoreWiiGlitches {"game.restoreWiiGlitches", false},
|
||||
@@ -315,6 +316,8 @@ void registerSettings() {
|
||||
Register(g_userSettings.game.superClawshot);
|
||||
Register(g_userSettings.game.alwaysGreatspin);
|
||||
Register(g_userSettings.game.invincibleEnemies);
|
||||
Register(g_userSettings.game.easyQuickSpin);
|
||||
|
||||
Register(g_userSettings.game.enableFrameInterpolation);
|
||||
Register(g_userSettings.game.enableGyroAim);
|
||||
Register(g_userSettings.game.enableGyroRollgoal);
|
||||
|
||||
@@ -1375,8 +1375,12 @@ SettingsWindow::SettingsWindow(bool prelaunch) : mPrelaunch(prelaunch) {
|
||||
"Item drops such as rupees and hearts will never disappear after they drop.");
|
||||
|
||||
leftPane.add_section("Abilities");
|
||||
|
||||
addCheat(
|
||||
"Moon Jump (R+A)", getSettings().game.moonJump, "Hold R and A to rise into the air.");
|
||||
addCheat(
|
||||
"Easy Quick Spin (R+B)", getSettings().game.easyQuickSpin, "Hold R to always do a Quick Spin when attacking with B.");
|
||||
|
||||
addCheat("Super Clawshot", getSettings().game.superClawshot,
|
||||
"Extends Clawshot behavior beyond the normal game rules.");
|
||||
addCheat("Always Greatspin", getSettings().game.alwaysGreatspin,
|
||||
|
||||
Reference in New Issue
Block a user