From 79d706a415e42b84797536e0f676c37975a83008 Mon Sep 17 00:00:00 2001 From: Kirby703 <14858059+Kirby703@users.noreply.github.com> Date: Tue, 4 Jul 2023 02:27:04 -0400 Subject: [PATCH 1/2] re-add 180s and IRS wallkicks after inheritance change fixes results of https://github.com/MillaBasset/cambridge/commit/323c4578091ada3fcb218d677f0c507eb9f639e2 --- tetris/rulesets/standard.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tetris/rulesets/standard.lua b/tetris/rulesets/standard.lua index 0b0b5d1..8a8a841 100644 --- a/tetris/rulesets/standard.lua +++ b/tetris/rulesets/standard.lua @@ -8,6 +8,8 @@ SRS.hash = "Standard" SRS.softdrop_lock = false SRS.harddrop_lock = true +SRS.enable_IRS_wallkicks = true + SRS.MANIPULATIONS_MAX = 15 SRS.wallkicks_line = { @@ -108,4 +110,6 @@ end function SRS:canPieceRotate() return true end +function SRS:get180RotationValue() return 2 end + return SRS From bdc317c3c5c3e024ebac5da97628fdcd2389bcb5 Mon Sep 17 00:00:00 2001 From: Kirby703 <14858059+Kirby703@users.noreply.github.com> Date: Fri, 7 Jul 2023 17:10:24 -0400 Subject: [PATCH 2/2] hotfix cool logic --- tetris/modes/marathon_2020.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tetris/modes/marathon_2020.lua b/tetris/modes/marathon_2020.lua index e8dcb28..7286620 100644 --- a/tetris/modes/marathon_2020.lua +++ b/tetris/modes/marathon_2020.lua @@ -353,8 +353,8 @@ function Marathon2020Game:updateSectionTimes(old_level, new_level) self.section_start_time = self.frames if ( - self.secondary_section_times[section] < cool_cutoffs[self.delay_level] and - section == 1 or self.secondary_section_times[section] <= self.secondary_section_times[section - 1] + 120 + (self.secondary_section_times[section] < cool_cutoffs[self.delay_level]) and + (section == 1 or self.secondary_section_times[section] <= self.secondary_section_times[section - 1] + 120) ) then sectionCool(section) else