From b27ef0e9f42fecf27ea3b0d3a14fd90990cba3e6 Mon Sep 17 00:00:00 2001 From: Ishaan Bhardwaj Date: Mon, 9 Nov 2020 23:04:50 -0500 Subject: [PATCH] Made it so that in TGM3, you can only get GM by clearing the roll, and fixed hold sound in Phantom Mania 2 --- tetris/modes/marathon_a3.lua | 2 ++ tetris/modes/phantom_mania2.lua | 1 + 2 files changed, 3 insertions(+) diff --git a/tetris/modes/marathon_a3.lua b/tetris/modes/marathon_a3.lua index 2610572..a0b475c 100644 --- a/tetris/modes/marathon_a3.lua +++ b/tetris/modes/marathon_a3.lua @@ -362,6 +362,8 @@ function MarathonA3Game:getLetterGrade() return "M" .. tostring(grade - 17) elseif grade < 32 then return master_grades[grade - 26] + elseif grade >= 32 and self.roll_frames < 3238 then + return "MM" else return "GM" end diff --git a/tetris/modes/phantom_mania2.lua b/tetris/modes/phantom_mania2.lua index 40302e7..14aa622 100644 --- a/tetris/modes/phantom_mania2.lua +++ b/tetris/modes/phantom_mania2.lua @@ -181,6 +181,7 @@ function PhantomMania2Game:onPieceLock(piece, cleared_row_count) end function PhantomMania2Game:onHold() + self.super.onHold() self.hold_age = 0 end