moved to cheats menu and made steps more granular

This commit is contained in:
Josh Bodner 2022-05-18 21:11:49 -07:00
commit fdf55476f4
2 changed files with 2 additions and 2 deletions

View file

@ -665,7 +665,6 @@ namespace SohImGui {
{
EnhancementSliderInt("Text Speed: %dx", "##TEXTSPEED", "gTextSpeed", 1, 5, "");
EnhancementSliderInt("King Zora Speed: %dx", "##WEEPSPEED", "gMweepSpeed", 1, 5, "");
EnhancementSliderInt("Vine/Ladder Climb speed: %dx", "##CLIMBSPEED", "gClimbSpeed", 1, 5, "");
EnhancementCheckbox("Skip Text", "gSkipText");
Tooltip("Holding down B skips text");
@ -755,6 +754,7 @@ namespace SohImGui {
ImGui::EndMenu();
}
EnhancementSliderInt("Vine/Ladder Climb speed: %dx", "##CLIMBSPEED", "gClimbSpeed", 1, 9, "");
EnhancementCheckbox("No Clip", "gNoClip");
Tooltip("Allows you to walk through walls");
EnhancementCheckbox("Climb Everything", "gClimbEverything");

View file

@ -11613,7 +11613,7 @@ void func_8084BF1C(Player* this, GlobalContext* globalCtx) {
phi_f2 = -1.0f;
}
this->skelAnime.playSpeed = phi_f2 * phi_f0 * CVar_GetS32("gClimbSpeed", 1);
this->skelAnime.playSpeed = phi_f2 * phi_f0 * (CVar_GetS32("gClimbSpeed", 1) + 1.0) / 2.0;
if (this->unk_850 >= 0) {
if ((this->actor.wallPoly != NULL) && (this->actor.wallBgId != BGCHECK_SCENE)) {