From da274e37bbf5d7eea342bfb6525453eae7bf6e7c Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Fri, 12 Feb 2021 22:26:01 -0500 Subject: [PATCH] Final TL no longer has credit roll --- tetris/modes/pro_tl.lua | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/tetris/modes/pro_tl.lua b/tetris/modes/pro_tl.lua index e297f64..40cd48f 100644 --- a/tetris/modes/pro_tl.lua +++ b/tetris/modes/pro_tl.lua @@ -51,14 +51,7 @@ function ProGame:getLockDelay() end function ProGame:advanceOneFrame(inputs, ruleset) - if self.clear then - self.roll_frames = self.roll_frames + 1 - if self.roll_frames < 0 then - return false - elseif self.roll_frames > 2968 then - self.completed = true - end - elseif self.ready_frames == 0 then + if self.ready_frames == 0 then if not self.section_clear then self.frames = self.frames + 1 end @@ -95,9 +88,7 @@ function ProGame:onLineClear(cleared_row_count) self:updateSectionTimes(self.lines, new_lines) self.lines = math.min(new_lines, 200) if self.lines == 200 then - self.grid:clear() - self.clear = true - self.roll_frames = -150 + self.completed = true else self.enable_hold = self.lines < 160 self.next_queue_length = math.max(1, 6 - math.floor(self.lines / 20))