From 13525b98580b6ea9bdef939fca4975ccc7d8d629 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Wed, 13 Jan 2021 19:42:15 -0500 Subject: [PATCH] Small C99 touchup --- tetris/modes/marathon_c99.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tetris/modes/marathon_c99.lua b/tetris/modes/marathon_c99.lua index 18bfc15..bfa4596 100644 --- a/tetris/modes/marathon_c99.lua +++ b/tetris/modes/marathon_c99.lua @@ -52,7 +52,9 @@ function MarathonC99Game:new() self.grid = Grid(10, 22) self.roll_frames = 0 - self.lines_to_next_level = lines_to_next_level[self.level] + self.level = 15 + self.lines = 299 + self.lines_to_next_level = 1--lines_to_next_level[self.level] self.slots = {} self.tetris_slots = 0 self.ccw_bonus = 10 ^ 7 @@ -326,7 +328,7 @@ function MarathonC99Game:drawScoringInfo() end love.graphics.setFont(font_3x5_3) love.graphics.setColor(1, 1, 1, 1) - level_names[17] = formatTime(frameTime(3,19) - self.roll_frames) + level_names[17] = self.roll_frames == 0 and "THE EDGE OF THE WORLD" or formatTime(frameTime(3,19) - self.roll_frames) love.graphics.printf(level_names[self.level], 240, 137, 200, "left") love.graphics.setFont(font_3x5_2) love.graphics.setFont(font_8x11)