Fixed safelock behavior on modes that needed it.

This commit is contained in:
Ishaan Bhardwaj 2020-11-09 23:16:28 -05:00
parent b27ef0e9f4
commit c614e9c4cd
4 changed files with 5 additions and 1 deletions

View File

@ -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)

View File

@ -21,6 +21,7 @@ function KonohaGame:new()
self.time_limit = 10800
self.big_mode = true
self.lock_drop = true
self.enable_hold = true
self.next_queue_length = 3
end

View File

@ -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)

View File

@ -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()