Fixed NES transitions, once and for all
parent
5e0e36fc5c
commit
9df0501cf5
|
@ -149,7 +149,7 @@ function MarathonC89Game:getTransitionLines()
|
||||||
end
|
end
|
||||||
|
|
||||||
function MarathonC89Game:getLevelForLines()
|
function MarathonC89Game:getLevelForLines()
|
||||||
return self.start_level + math.max(0, math.floor(self.lines - self:getTransitionLines()) + 1)
|
return self.start_level + math.max(0, math.floor((self.lines - self:getTransitionLines()) / 10) + 1)
|
||||||
end
|
end
|
||||||
|
|
||||||
function MarathonC89Game:updateScore(level, drop_bonus, cleared_lines)
|
function MarathonC89Game:updateScore(level, drop_bonus, cleared_lines)
|
||||||
|
|
Loading…
Reference in New Issue