2020-11-14 08:35:16 -06:00
|
|
|
local PhantomManiaGame = require 'tetris.modes.phantom_mania'
|
|
|
|
|
|
|
|
local PhantomManiaNGame = PhantomManiaGame:extend()
|
|
|
|
|
|
|
|
PhantomManiaNGame.name = "Phantom Mania N"
|
|
|
|
PhantomManiaNGame.hash = "PhantomManiaN"
|
|
|
|
PhantomManiaNGame.tagline = "The old mode from Nullpomino, for Ti-ARS and SRS support."
|
|
|
|
|
|
|
|
function PhantomManiaNGame:new()
|
|
|
|
PhantomManiaNGame.super:new()
|
|
|
|
|
|
|
|
self.next_queue_length = 3
|
|
|
|
self.enable_hold = true
|
|
|
|
end
|
|
|
|
|
2023-04-11 11:18:11 -05:00
|
|
|
function PhantomManiaNGame:qualifiesForGM()
|
|
|
|
if self.tetrises < 31 then return false end
|
|
|
|
for i = 0, 9 do
|
|
|
|
if self.section_tetrises[i] < (i == 9 and 1 or 2) then
|
|
|
|
return false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
return true
|
|
|
|
end
|
|
|
|
|
2020-11-14 08:35:16 -06:00
|
|
|
return PhantomManiaNGame
|