Match battle party controls to the active screen

This commit is contained in:
AverageConsumer
2026-08-03 15:01:48 +02:00
parent 178e39932a
commit 820e85c2ca
+7
View File
@@ -2613,6 +2613,13 @@ return function(mod)
system.hasSecondaryDisplay(), displayReady, state)
end)
mod.hooks:wrap("ui.party.grid_navigation", function(next, state)
if next(state) == true then return true end
return bottomOwnsBattleUI(
mod.options:get("hide_upper_battle_ui"), active,
system.hasSecondaryDisplay(), displayReady, battleState())
end)
mod.hooks:wrap("screen.render_visible", function(next, state)
if next(state) == false then return false end
local owned = bottomOwnsBattleUI(