mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-11-22 19:19:02 -06:00
Fixed safelock behavior on modes that needed it.
This commit is contained in:
parent
b27ef0e9f4
commit
c614e9c4cd
@ -124,6 +124,7 @@ function MarathonA2Game:onLineClear(cleared_row_count)
|
|||||||
self.grid:clear()
|
self.grid:clear()
|
||||||
self.roll_frames = -150
|
self.roll_frames = -150
|
||||||
end
|
end
|
||||||
|
if self.level >= 900 then self.lock_drop = true end
|
||||||
end
|
end
|
||||||
|
|
||||||
function MarathonA2Game:updateScore(level, drop_bonus, cleared_lines)
|
function MarathonA2Game:updateScore(level, drop_bonus, cleared_lines)
|
||||||
|
@ -21,6 +21,7 @@ function KonohaGame:new()
|
|||||||
self.time_limit = 10800
|
self.time_limit = 10800
|
||||||
self.big_mode = true
|
self.big_mode = true
|
||||||
|
|
||||||
|
self.lock_drop = true
|
||||||
self.enable_hold = true
|
self.enable_hold = true
|
||||||
self.next_queue_length = 3
|
self.next_queue_length = 3
|
||||||
end
|
end
|
||||||
|
@ -151,6 +151,7 @@ function MarathonA2Game:onLineClear(cleared_row_count)
|
|||||||
if self:qualifiesForMRoll() then self.grade = 32 end
|
if self:qualifiesForMRoll() then self.grade = 32 end
|
||||||
self.roll_frames = -150
|
self.roll_frames = -150
|
||||||
end
|
end
|
||||||
|
if self.level >= 900 then self.lock_drop = true end
|
||||||
end
|
end
|
||||||
|
|
||||||
function MarathonA2Game:updateSectionTimes(old_level, new_level)
|
function MarathonA2Game:updateSectionTimes(old_level, new_level)
|
||||||
|
@ -126,6 +126,7 @@ end
|
|||||||
function TGMPlusGame:onLineClear(cleared_row_count)
|
function TGMPlusGame:onLineClear(cleared_row_count)
|
||||||
self.level = math.min(self.level + cleared_row_count, 999)
|
self.level = math.min(self.level + cleared_row_count, 999)
|
||||||
if self.level == 999 and not self.clear then self.clear = true end
|
if self.level == 999 and not self.clear then self.clear = true end
|
||||||
|
if self.level >= 900 then self.lock_drop = true end
|
||||||
end
|
end
|
||||||
|
|
||||||
function TGMPlusGame:advanceBottomRow()
|
function TGMPlusGame:advanceBottomRow()
|
||||||
|
Loading…
Reference in New Issue
Block a user