From 3085b765e5b325cca451c04b3d810d5064c29b16 Mon Sep 17 00:00:00 2001 From: Kirby703 <14858059+Kirby703@users.noreply.github.com> Date: Wed, 3 Nov 2021 17:31:04 -0400 Subject: [PATCH 1/2] fix roll 3694 -> 3701 frames --- tetris/modes/marathon_a2.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tetris/modes/marathon_a2.lua b/tetris/modes/marathon_a2.lua index 7d45f49..cddd55d 100644 --- a/tetris/modes/marathon_a2.lua +++ b/tetris/modes/marathon_a2.lua @@ -112,7 +112,7 @@ function MarathonA2Game:advanceOneFrame() if self.clear then self.roll_frames = self.roll_frames + 1 if self.roll_frames < 0 then return false end - if self.roll_frames > 3694 then + if self.roll_frames > 3701 then self.completed = true if self.grade == 32 then self.grade = 33 From 9381091110d7faf3678101e6e4d984dc9d887ab6 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Wed, 3 Nov 2021 17:34:34 -0400 Subject: [PATCH 2/2] Updated 3694 -> 3701 in other places --- tetris/modes/marathon_a2.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tetris/modes/marathon_a2.lua b/tetris/modes/marathon_a2.lua index cddd55d..08fccd3 100644 --- a/tetris/modes/marathon_a2.lua +++ b/tetris/modes/marathon_a2.lua @@ -365,10 +365,10 @@ function MarathonA2Game:drawScoringInfo() love.graphics.setFont(font_3x5_3) if self.clear then if self:qualifiesForMRoll() then - if self.lines >= 32 and self.roll_frames > 3694 then love.graphics.setColor(1, 0.5, 0, 1) + if self.lines >= 32 and self.roll_frames > 3701 then love.graphics.setColor(1, 0.5, 0, 1) else love.graphics.setColor(0, 1, 0, 1) end else - if self.roll_frames > 3694 then love.graphics.setColor(1, 0.5, 0, 1) + if self.roll_frames > 3701 then love.graphics.setColor(1, 0.5, 0, 1) else love.graphics.setColor(0, 1, 0, 1) end end end