mirror of
https://github.com/SashLilac/cambridge.git
synced 2024-12-22 22:39: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.roll_frames = -150
|
||||
end
|
||||
if self.level >= 900 then self.lock_drop = true end
|
||||
end
|
||||
|
||||
function MarathonA2Game:updateScore(level, drop_bonus, cleared_lines)
|
||||
|
@ -20,7 +20,8 @@ function KonohaGame:new()
|
||||
self.last_bonus_display_time = 0
|
||||
self.time_limit = 10800
|
||||
self.big_mode = true
|
||||
|
||||
|
||||
self.lock_drop = true
|
||||
self.enable_hold = true
|
||||
self.next_queue_length = 3
|
||||
end
|
||||
|
@ -151,6 +151,7 @@ function MarathonA2Game:onLineClear(cleared_row_count)
|
||||
if self:qualifiesForMRoll() then self.grade = 32 end
|
||||
self.roll_frames = -150
|
||||
end
|
||||
if self.level >= 900 then self.lock_drop = true end
|
||||
end
|
||||
|
||||
function MarathonA2Game:updateSectionTimes(old_level, new_level)
|
||||
|
@ -126,6 +126,7 @@ end
|
||||
function TGMPlusGame:onLineClear(cleared_row_count)
|
||||
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 >= 900 then self.lock_drop = true end
|
||||
end
|
||||
|
||||
function TGMPlusGame:advanceBottomRow()
|
||||
|
Loading…
Reference in New Issue
Block a user