mirror of
https://github.com/SashLilac/cambridge-modpack.git
synced 2024-11-22 20:59:02 -06:00
Replicate the vanish zone behavior in C89/NES
This commit is contained in:
parent
c648d1f75b
commit
fe21f819cc
@ -172,6 +172,9 @@ function MarathonC89Game:updateScore(level, drop_bonus, cleared_lines)
|
|||||||
self.level = self:getLevelForLines()
|
self.level = self:getLevelForLines()
|
||||||
self.line_clears = self.line_clears + 1
|
self.line_clears = self.line_clears + 1
|
||||||
if cleared_lines == 4 then self.tetrises = self.tetrises + 1 end
|
if cleared_lines == 4 then self.tetrises = self.tetrises + 1 end
|
||||||
|
for i = 1, 4 do
|
||||||
|
self.grid:clearSpecificRow(i)
|
||||||
|
end
|
||||||
else
|
else
|
||||||
self.drop_bonus = 0
|
self.drop_bonus = 0
|
||||||
self.combo = 1
|
self.combo = 1
|
||||||
|
Loading…
Reference in New Issue
Block a user