From 6a4a2296f7130feaf2470c29af54c5aaae3e7f82 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Wed, 13 Jan 2021 15:30:09 -0500 Subject: [PATCH] C99 slots fix --- tetris/modes/marathon_c99.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tetris/modes/marathon_c99.lua b/tetris/modes/marathon_c99.lua index c2beba4..18bfc15 100644 --- a/tetris/modes/marathon_c99.lua +++ b/tetris/modes/marathon_c99.lua @@ -51,7 +51,7 @@ function MarathonC99Game:new() self.super:new() self.grid = Grid(10, 22) - self.roll_frames = -57 + self.roll_frames = 0 self.lines_to_next_level = lines_to_next_level[self.level] self.slots = {} self.tetris_slots = 0 @@ -192,7 +192,7 @@ function MarathonC99Game:onLineClear(cleared_row_count) if cleared_row_count == 4 then self.tetris_slots = (self.tetris_slots + 1) % 10 end - if cleared_row_count == 4 and self.tetris_slots == 0 then + if cleared_row_count == 4 and (self.tetris_slots == 0 or self.level == 17) then self.score = self.score + 999999 slot_popup.text = "3xTETRIS\n+999999" slot_popup.time = 150