Organized the sound effect initialization

This commit is contained in:
shoaib11120
2022-01-21 12:28:04 +05:30
parent e916e27427
commit b611b01d9a
5 changed files with 88 additions and 157 deletions

View File

@@ -48,7 +48,7 @@ namespace stardew_access.Patches
shopMenuQueryKey = toSpeak;
hoveredItemQueryKey = "";
ScreenReader.say(toSpeak, true);
Game1.playSound("sa_drop_item");
Game1.playSound("drop_item");
}
return;
}
@@ -201,7 +201,7 @@ namespace stardew_access.Patches
{
geodeMenuQueryKey = toSpeak;
ScreenReader.say(toSpeak, true);
Game1.playSound("sa_drop_item");
Game1.playSound("drop_item");
}
return;
}
@@ -363,7 +363,7 @@ namespace stardew_access.Patches
gameMenuQueryKey = "";
hoveredItemQueryKey = "";
ScreenReader.say(toSpeak, true);
Game1.playSound("sa_drop_item");
Game1.playSound("drop_item");
}
return;
}
@@ -579,7 +579,7 @@ namespace stardew_access.Patches
craftingPageQueryKey = toSpeak;
hoveredItemQueryKey = "";
ScreenReader.say(toSpeak, true);
Game1.playSound("sa_drop_item");
Game1.playSound("drop_item");
}
return;
}
@@ -723,7 +723,7 @@ namespace stardew_access.Patches
gameMenuQueryKey = "";
hoveredItemQueryKey = "";
ScreenReader.say(toSpeak, true);
Game1.playSound("sa_drop_item");
Game1.playSound("drop_item");
}
return;
}

View File

@@ -31,7 +31,7 @@ namespace stardew_access.Patches
if (prevTile != nextTile)
{
prevTile = nextTile;
Game1.playSound("sa_colliding");
Game1.playSound("colliding");
}
return false;
}