battle speed

This commit is contained in:
bryanthaboi
2026-09-25 14:20:34 -04:00
parent 389184789f
commit c65fcf939d
22 changed files with 126 additions and 150 deletions
+10 -1
View File
@@ -539,6 +539,15 @@ local function buildRows(game)
o.speedOverworld = GameSpeed.cycle(o.speedOverworld, dir)
return true
end },
{ id = "speedBattle", label = Strings("BATTLE SPEED"),
value = function(g)
return gameSpeedLabel(g.save.options.speedBattle)
end,
step = function(g, dir)
local o = g.save.options
o.speedBattle = GameSpeed.cycle(o.speedBattle, dir)
return true
end },
{ id = "speedMenu", label = Strings("MENU SPEED"),
value = function(g)
return gameSpeedLabel(g.save.options.speedMenu)
@@ -714,7 +723,7 @@ local GROUPS = {
members = { "uiLayout", "videoMode", "orientation", "faithfulRes",
"screenPos", "fpsCap", "vsync", "logicClock" } },
{ id = "group.speed", label = "SPEED",
members = { "textSpeed", "speedOverworld", "speedMenu" } },
members = { "textSpeed", "speedOverworld", "speedBattle", "speedMenu" } },
{ id = "group.graphics", label = "GRAPHICS",
members = { "colors", "uiLetterbox", "shaderfx", "shaderfx2" } },
-- A mod's Pipelines row splices in after TILT and is in no group, so it