diff --git a/Themes/Til Death/BGAnimations/ScreenGameplay overlay/WifeJudgmentSpotting.lua b/Themes/Til Death/BGAnimations/ScreenGameplay overlay/WifeJudgmentSpotting.lua index 1fa3cbdea2..b75a3b92d5 100644 --- a/Themes/Til Death/BGAnimations/ScreenGameplay overlay/WifeJudgmentSpotting.lua +++ b/Themes/Til Death/BGAnimations/ScreenGameplay overlay/WifeJudgmentSpotting.lua @@ -644,16 +644,18 @@ local t = Def.ActorFrame{ Name = "WifePerch", OnCommand=function() SCREENMAN:GetTopScreen():AddInputCallback(froot) - SCREENMAN:GetTopScreen():AddInputCallback(firstHalfInput) - SCREENMAN:GetTopScreen():AddInputCallback(secondHalfInput) - screen = SCREENMAN:GetTopScreen() - noteField = screen:GetChild("PlayerP1"):GetChild("NoteField") - noteField:addx(noteFieldX) - noteField:addy(noteFieldY) - noteColumns = noteField:get_column_actors() - for i, actor in ipairs(noteColumns) do - actor:zoomtowidth(noteFieldWidth) - actor:zoomtoheight(noteFieldHeight) + if(playerConfig:get_data(pn_to_profile_slot(PLAYER_1)).CustomizeGameplay) then + SCREENMAN:GetTopScreen():AddInputCallback(firstHalfInput) + SCREENMAN:GetTopScreen():AddInputCallback(secondHalfInput) + screen = SCREENMAN:GetTopScreen() + noteField = screen:GetChild("PlayerP1"):GetChild("NoteField") + noteField:addx(noteFieldX) + noteField:addy(noteFieldY) + noteColumns = noteField:get_column_actors() + for i, actor in ipairs(noteColumns) do + actor:zoomtowidth(noteFieldWidth) + actor:zoomtoheight(noteFieldHeight) + end end end, JudgmentMessageCommand=function(self, msg) @@ -1113,7 +1115,7 @@ t[#t+1] = LoadActor("npscalc") ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ offset window esque boxes so its more intuitive to use the moving feature ]] - +if(playerConfig:get_data(pn_to_profile_slot(PLAYER_1)).CustomizeGameplay) then t[#t+1] = Def.ActorFrame{ InitCommand=function(self) messageBox = self @@ -1428,5 +1430,6 @@ t[#t+1] = Def.ActorFrame{ end, }, } +end return t \ No newline at end of file diff --git a/Themes/Til Death/Graphics/Player combo/default.lua b/Themes/Til Death/Graphics/Player combo/default.lua index ade7cdd007..b316900318 100644 --- a/Themes/Til Death/Graphics/Player combo/default.lua +++ b/Themes/Til Death/Graphics/Player combo/default.lua @@ -87,7 +87,9 @@ local t = Def.ActorFrame { c = self:GetChildren() end, OnCommand=function(self) - SCREENMAN:GetTopScreen():AddInputCallback(input) + if(playerConfig:get_data(pn_to_profile_slot(PLAYER_1)).CustomizeGameplay) then + SCREENMAN:GetTopScreen():AddInputCallback(input) + end end, ComboCommand=function(self, param) local iCombo = param.Combo diff --git a/Themes/Til Death/Graphics/Player judgment/default.lua b/Themes/Til Death/Graphics/Player judgment/default.lua index 25db715d24..9042e0679b 100644 --- a/Themes/Til Death/Graphics/Player judgment/default.lua +++ b/Themes/Til Death/Graphics/Player judgment/default.lua @@ -94,7 +94,9 @@ local t = Def.ActorFrame { c = self:GetChildren() end, OnCommand=function(self) - SCREENMAN:GetTopScreen():AddInputCallback(input) + if(playerConfig:get_data(pn_to_profile_slot(PLAYER_1)).CustomizeGameplay) then + SCREENMAN:GetTopScreen():AddInputCallback(input) + end end, JudgmentMessageCommand=function(self, param)