Catch up to main, and push changes to sfx

This commit is contained in:
MarkGamed7794
2021-09-12 02:59:05 -04:00
parent 0e82a8758c
commit 71ecd51cde
8 changed files with 88 additions and 45 deletions

View File

@@ -269,7 +269,8 @@ function GameMode:update(inputs, ruleset)
end
if cleared_row_count > 0 then
playSE("erase")
local row_count_names = {"single","double","triple","quad"}
playSE("erase",row_count_names[cleared_row_count] or "quad")
self.lcd = self:getLineClearDelay()
self.last_lcd = self.lcd
self.are = (

View File

@@ -100,10 +100,12 @@ function Ruleset:attemptRotate(new_inputs, piece, grid, initial)
if (grid:canPlacePiece(new_piece)) then
piece:setRelativeRotation(rot_dir)
self:onPieceRotate(piece, grid)
playSE("rotate")
else
if not(initial and self.enable_IRS_wallkicks == false) then
self:attemptWallkicks(piece, new_piece, rot_dir, grid)
end
playSE("kick")
end
end