mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 14:39:02 -06:00
Fixes to TAP M-roll requirements
This commit is contained in:
parent
69959ff687
commit
33b8533d8e
@ -249,7 +249,7 @@ function MarathonA2Game:updateGrade(cleared_lines)
|
||||
end
|
||||
end
|
||||
|
||||
local tetris_requirements = { [0] = 2, 2, 2, 2, 2, 1, 1, 1, 1, 1 }
|
||||
local tetris_requirements = { [0] = 2, 2, 2, 2, 2, 1, 1, 1, 1, 0 }
|
||||
|
||||
function MarathonA2Game:qualifiesForMRoll()
|
||||
if not self.clear then return false end
|
||||
|
@ -253,7 +253,7 @@ function MarathonA2Game:updateGrade(cleared_lines)
|
||||
end
|
||||
end
|
||||
|
||||
local tetris_requirements = { [0] = 2, 2, 2, 2, 2, 1, 1, 1, 1, 1 }
|
||||
local tetris_requirements = { [0] = 2, 2, 2, 2, 2, 1, 1, 1, 1, 0 }
|
||||
|
||||
function MarathonA2Game:qualifiesForMRoll()
|
||||
if not self.clear then return false end
|
||||
@ -280,7 +280,7 @@ function MarathonA2Game:qualifiesForMRoll()
|
||||
return false
|
||||
end
|
||||
end
|
||||
if self.grade < 17 or self.frames > frameTime(9,30) then
|
||||
if self.grade < 17 or self.frames > frameTime(8,45) then
|
||||
return false
|
||||
end
|
||||
return true
|
||||
|
@ -98,6 +98,7 @@ function MarathonAX4Game:onLineClear(cleared_row_count)
|
||||
self:updateSectionTimes(self.lines, new_lines)
|
||||
self.lines = math.min(new_lines, 150)
|
||||
if self.lines == 150 then
|
||||
self.grid:clear()
|
||||
self.clear = true
|
||||
self.roll_frames = -150
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user